Community
Participate
Working Groups
Build Identifier: 20100617-1415 I have a product build with the following entry in the pre.archive target: <ant antfile="${genericTargets}" target="runDirector" inheritAll="true"> <property name="p2.repo" value="file://${base}/../updatesite/target/site, http://dev/nexus/content/groups/helios"/> <property name="p2.director.iu" value="org.stack.ide.common.feature.feature.group"/> <property name="p2.director.installPath" value="${eclipse.base}"/> </ant> However, this does not work, as the second url ends up getting corrupted. The error I get when running my build is: [java] [p2.director] Unable to read repository at http:/dev/nexus/content/groups/helios/artifacts.xml. [java] [p2.director] Unable to read repository at http:/dev/nexus/content/groups/helios/content.xml. You'll note the single slash after http:. This is causing our builds to not work. Upon further investigation, the problem seems to be that in org.eclipse.equinox.p2.director.app.ant.DirectorTask, the artifact and metadata repository strings are turned into a URI, then back into a string. Then when it calls DirectorApp.run, those strings are split (on ,) and turned back into URIs again. The DirectorApplication itself seems to account properly for multiple repository URIs, but the DirectorTask does not. Reproducible: Always Steps to Reproduce: 1. Attempt to call the runDirector target with multiple entries (separated by a comma) in the p2.repo property.
A patch would be very welcome. Thx.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.