Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2543

JBDS70_0411: [Commit] (Dev) (P1) Offline - Examples/Archetypes - Cache Script

    XMLWordPrintable

Details

    • Hide
      Implemented with a groovy script : https://github.com/jbosstools/jbosstools-central/blob/master/examples/plugins/org.jboss.tools.project.examples/offline/go_offline.groovy

      The groovy command with proper arguments is generated under Preferences > JBoss Tools > Project Examples > Offline Support.

      Click on the copy to clipboard button and then paste the clipboard in a terminal. An offline/ directory will be created under the current directory.

      generated offline cache should be copied under ${user.home}/.jbosstools/cache (user modifiable) and the maven repository copied in your local repo.

      Once the "Enable offline mode for project examples" button is checked (after saving the preferences), Examples will be fetched from the offline directory. Switching Offline mode will also switch m2e's offline mode, if maven examples is installed.
      Show
      Implemented with a groovy script : https://github.com/jbosstools/jbosstools-central/blob/master/examples/plugins/org.jboss.tools.project.examples/offline/go_offline.groovy The groovy command with proper arguments is generated under Preferences > JBoss Tools > Project Examples > Offline Support. Click on the copy to clipboard button and then paste the clipboard in a terminal. An offline/ directory will be created under the current directory. generated offline cache should be copied under ${user.home}/.jbosstools/cache (user modifiable) and the maven repository copied in your local repo. Once the "Enable offline mode for project examples" button is checked (after saving the preferences), Examples will be fetched from the offline directory. Switching Offline mode will also switch m2e's offline mode, if maven examples is installed.

    Description

      Central archetype/project examples
      Level 0: caching projectexamples.xml, stacks.yml
      Level 1: provide a default version

      Provide a script that pre-caches everything (e.g. Maven dependencies) for an instructor/demo'er in the field (online once, then offline), the instructor can then provide his ZIPPED .m2/repository to his students via flash drive - all students offline

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              rhn-engineering-jpallich Jiri Pallich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: