Details

    • Type: Enhancement Enhancement
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Beta2
    • Fix Version/s: 4.0.0.CR1
    • Component/s: build
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Tycho 0.16 was released 2 days ago. It contains some improvements that are useful to use (support for mirrors in target files, target-platform-validation-plugin, eclipse-target-definition packaging type).

        Issue Links

          Activity

          Hide
          Nick Boldt
          added a comment -
          mvn clean install -DtychoVersion=0.16.0 -DskipTests | tee log_tycho016.txt
          
          [INFO] tests.all ......................................... SUCCESS [1.397s]
          [INFO] tests.plugins ..................................... SUCCESS [0.006s]
          [INFO] org.jboss.tools.tests ............................. SUCCESS [2.005s]
          [INFO] org.jboss.tools.ui.bot.ext ........................ SUCCESS [3.374s]
          [INFO] org.jboss.tools.tests.installation ................ SUCCESS [0.274s]
          [INFO] tests.tests ....................................... SUCCESS [0.051s]
          [INFO] org.jboss.tools.tests.test ........................ FAILURE [0.341s]
          (and then everything else is skipped)
          
          [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test (default-test) on project org.jboss.tools.tests.test: Unable to parse configuration of mojo org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test: Cannot assign value true to property parallel of org.eclipse.tycho.surefire.TestMojo: No enum const class org.eclipse.tycho.surefire.ParallelMode.true -> [Help 1]
          
          Show
          Nick Boldt
          added a comment - mvn clean install -DtychoVersion=0.16.0 -DskipTests | tee log_tycho016.txt [INFO] tests.all ......................................... SUCCESS [1.397s] [INFO] tests.plugins ..................................... SUCCESS [0.006s] [INFO] org.jboss.tools.tests ............................. SUCCESS [2.005s] [INFO] org.jboss.tools.ui.bot.ext ........................ SUCCESS [3.374s] [INFO] org.jboss.tools.tests.installation ................ SUCCESS [0.274s] [INFO] tests.tests ....................................... SUCCESS [0.051s] [INFO] org.jboss.tools.tests.test ........................ FAILURE [0.341s] (and then everything else is skipped) [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test ( default -test) on project org.jboss.tools.tests.test: Unable to parse configuration of mojo org.eclipse.tycho:tycho-surefire-plugin:0.16.0:test: Cannot assign value true to property parallel of org.eclipse.tycho.surefire.TestMojo: No enum const class org.eclipse.tycho.surefire.ParallelMode. true -> [Help 1]
          Hide
          Nick Boldt
          added a comment -

          More of the same error here: JBIDE-12954

          Show
          Nick Boldt
          added a comment - More of the same error here: JBIDE-12954
          Hide
          Mickael Istria
          added a comment -

          Parent pom now declares usage of Tycho 0.16.

          Show
          Mickael Istria
          added a comment - Parent pom now declares usage of Tycho 0.16.
          Hide
          Nick Boldt
          added a comment -

          Closing. Builds are fine w/ 0.16.

          Show
          Nick Boldt
          added a comment - Closing. Builds are fine w/ 0.16.
          Hide
          Nick Boldt
          added a comment - - edited

          New problem... Tycho 0.16 is more insistent that all sites listed in a composite be present. This is fine once we're bootstrapped, but when I purge the contents of builds/staging/<jobnames>/ to ensure we don't accidentally mix the streams and that we can build everything from scratch, I instead get this:

          [INFO] Adding repository http://download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.juno
          
          [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: 
          Unable to read repository at http://download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.juno. 
          No repository found at http://download.jboss.org/jbosstools/builds/staging/jbosstools-4.0_stable_branch.component--base/all/repo
          

          Obviously there's no jbosstools-4.0_stable_branch.component-base site, because we're building jbosstools-4.0_stable_branch.component-base for the first time.

          Show
          Nick Boldt
          added a comment - - edited New problem... Tycho 0.16 is more insistent that all sites listed in a composite be present. This is fine once we're bootstrapped, but when I purge the contents of builds/staging/<jobnames>/ to ensure we don't accidentally mix the streams and that we can build everything from scratch, I instead get this: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_stable_branch.component--base/26/console [INFO] Adding repository http: //download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.juno [ERROR] Internal error: java.lang.RuntimeException: org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http: //download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.juno. No repository found at http: //download.jboss.org/jbosstools/builds/staging/jbosstools-4.0_stable_branch.component--base/all/repo Obviously there's no jbosstools-4.0_stable_branch.component- base site, because we're building jbosstools-4.0_stable_branch.component -base for the first time.
          Hide
          Nick Boldt
          added a comment -
          Show
          Nick Boldt
          added a comment - Workaround: step 9 of branch-for-milestone doc now has a new step: https://svn.jboss.org/repos/devstudio/trunk/documentation/Release_Guide/2012_Release_Branching_For_Milestone.txt
          Hide
          Nick Boldt
          added a comment - - edited

          With p2.atomic.composite.loading=false added to all composite sites, eg.,

          we get simply a WARNING instead of the ERROR above:

          [WARNING] Failed to access p2 repository http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo, use local cache. Neither http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo/content.jar nor http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo/content.xml found.
          [WARNING] Failed to access p2 repository http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--base/all/repo, use local cache. Neither http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--base/all/repo/artifacts.jar nor http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--base/all/repo/artifacts.xml found.
          
          Show
          Nick Boldt
          added a comment - - edited With p2.atomic.composite.loading=false added to all composite sites, eg., http://download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk/compositeArtifacts.xml <property name= "p2.atomic.composite.loading" value= " false " /> we get simply a WARNING instead of the ERROR above: [WARNING] Failed to access p2 repository http: //download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo, use local cache. Neither http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo/content.jar nor http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo/content.xml found. [WARNING] Failed to access p2 repository http: //download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--base/all/repo, use local cache. Neither http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--base/all/repo/artifacts.jar nor http://download.jboss.org/jbosstools/builds/staging.previous/jbosstools-4.0_trunk.component--base/all/repo/artifacts.xml found.
          Hide
          Nick Boldt
          added a comment -

          Workaround should no longer be needed. Closing again.

          Show
          Nick Boldt
          added a comment - Workaround should no longer be needed. Closing again.
          Hide
          Nick Boldt
          added a comment -
          Show
          Nick Boldt
          added a comment - Documented on http://wiki.eclipse.org/Tycho/Release_Notes/0.16#Behaviour_Changes for others.

            People

            • Assignee:
              Mickael Istria
              Reporter:
              Mickael Istria
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: