|
Re: product.ant where can I find example ? [message #540293 is a reply to message #540289] |
Tue, 15 June 2010 14:40 |
Geejay Messages: 160 Registered: February 2010 |
Senior Member |
|
|
It is available from the SVN repo here:
http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster
Here is the source:
<project>
<pathconvert property="equinox.launcher.jar">
<first count="1">
<sort>
<fileset dir="${eclipse.home}/plugins"
includes="**/org.eclipse.equinox.launcher_*.jar"/>
<reverse
xmlns="antlib:org.apache.tools.ant.types.resources.comparators ">
<date/>
</reverse>
</sort>
</first>
</pathconvert>
<target name="create.product">
<property name="destination" location="${sp:destination}"/>
<delete dir="${destination}"></delete>
<makeurl property="repository" file="${sp:repository}"/>
<mkdir dir="${destination}"/>
<echoproperties ></echoproperties>
<echo message="${equinox.launcher.jar}"/>
<echo message="${repository}"/>
<echo message="${destination}"/>
<java jar="${equinox.launcher.jar}" fork="true" failonerror="true" >
<arg value="-application"/>
<arg value="org.eclipse.equinox.p2.director"/>
<arg value="-artifactRepository"/>
<arg value="file:${repository}"/>
<arg value="-metadataRepository"/>
<arg value="file:${repository}"/>
<arg value="-destination"/>
<arg value="${destination}"/>
<arg value="-bundlepool"/>
<arg value="${destination}"/>
<arg value="-profile"/>
<arg value="${profile}"/>
<arg value="-profileProperties" />
<arg value="org.eclipse.update.install.features=true" />
<arg value="-installIU"/>
<arg value="${iu}"/>
<arg value="-p2.os" />
<arg value="${target.os}" />
<arg value="-p2.ws" />
<arg value="${target.ws}" />
<arg value="-p2.arch" />
<arg value="${target.arch}" />
<arg value="-consoleLog"/>
<jvmarg value="-Declipse.p2.data.area=${destination}/p2"/>
<jvmarg value="-Declipse.p2.profile=${profile}"/>
</java>
</target>
</project>
"Sabri Skhiri" <sabri-ese@euranova.eu> wrote in message
news:hv82ta$mmo$1@build.eclipse.org...
> Hi all,
>
> I know it is a newbie question, but I do not manage to get an example of a
> product.ant.
>
> by following the tutorial on
> http://www.ralfebert.de/blog/eclipsercp/rcp_builds/ (on which the link to
> the product.ant is not available).
>
> I have got this error:
> ERROR: org.eclipse.core.runtime.CoreException: Buildfile:
> /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featur
> e.site/build/product.ant does not exist
> org.eclipse.core.runtime.CoreException: Buildfile:
> /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featur
> e.site/build/product.ant does not exist
>
> Where can I find an example ?
>
>
> Thank you !
>
> Sabri.
>
>
>
[Updated on: Wed, 23 June 2010 11:35] Report message to a moderator
|
|
|
|
Re: product.ant where can I find example ? [message #540418 is a reply to message #540344] |
Wed, 16 June 2010 06:13 |
|
My guess is that your build is picking up an old Ant (older than 1.7). Buckminster 3.5 comes with 1.7.1. Perhaps your
environment explicitly set ANT_HOME to point to another installation?
Regards,
Thomas Hallgren
On 06/15/2010 08:30 PM, Sabri Skhiri wrote:
> Thank you ! I got it and now I have an exception. Have you got any idea
> of what it could be ?
>
>
> ERROR: org.eclipse.core.runtime.CoreException:
> /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featur e.site/build/product.ant:3:
> sort doesn't support the nested
> "antlib:org.apache.tools.ant.types.resources.comparators :reverse" element.
> org.eclipse.core.runtime.CoreException:
> /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featur e.site/build/product.ant:3:
> sort doesn't support the nested
> "antlib:org.apache.tools.ant.types.resources.comparators :reverse" element.
>
>
>
> I use Buckminster 3.5.
>
> Sabri.
|
|
|
Re: product.ant where can I find example ? [message #541697 is a reply to message #540289] |
Tue, 22 June 2010 08:38 |
Rene Pachernegg Messages: 2 Registered: June 2010 |
Junior Member |
|
|
I just tried the tutorial on http://www.ralfebert.de/blog/eclipsercp/rcp_builds/ as well and got the same error message
ERROR: org.eclipse.core.runtime.CoreException: /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.feature.site/build/product.ant:3: sort doesn't support the nested "antlib:org.apache.tools.ant.types.resources.comparators :reverse" element.
org.eclipse.core.runtime.CoreException: /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.feature.site/build/product.ant:3: sort doesn't support the nested "antlib:org.apache.tools.ant.types.resources.comparators :reverse" element.
The solution is to remove the space at the end of the reverse element of the product.ant file. This results in
<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
instead of
<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators ">
[Updated on: Tue, 22 June 2010 08:40] Report message to a moderator
|
|
|
Re: product.ant where can I find example ? [message #541720 is a reply to message #541697] |
Tue, 22 June 2010 10:18 |
|
I Rene,
In what file is this?
- thomas
On 2010-06-22 10:38, Rene Pachernegg wrote:
> I just tried the tutorial on
> http://www.ralfebert.de/blog/eclipsercp/rcp_builds/ as well and got the
> same error message
>
> ERROR: org.eclipse.core.runtime.CoreException:
> /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featur e.site/build/product.ant:3:
> sort doesn't support the nested
> "antlib:org.apache.tools.ant.types.resources.comparators :reverse" element.
> org.eclipse.core.runtime.CoreException:
> /var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featur e.site/build/product.ant:3:
> sort doesn't support the nested
> "antlib:org.apache.tools.ant.types.resources.comparators :reverse" element.
>
>
> The solution is to remove the space at before the quote at the end of
> the reverse element. This results in <reverse
> xmlns="antlib:org.apache.tools.ant.types.resources.comparators ">
> instead of
> <reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators ">
|
|
|
|
Powered by
FUDForum. Page generated in 0.03486 seconds