Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » product.ant where can I find example ?(product.ant is not found and I do not know where to get it)
product.ant where can I find example ? [message #540289] Tue, 15 June 2010 14:32 Go to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
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.


Re: product.ant where can I find example ? [message #540293 is a reply to message #540289] Tue, 15 June 2010 14:40 Go to previous messageGo to next message
Geejay is currently offline GeejayFriend
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 #540344 is a reply to message #540293] Tue, 15 June 2010 18:30 Go to previous messageGo to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
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.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.



I use Buckminster 3.5.

Sabri.
Re: product.ant where can I find example ? [message #540418 is a reply to message #540344] Wed, 16 June 2010 06:13 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Rene Pachernegg is currently offline Rene PacherneggFriend
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 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
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 ">
Re: product.ant where can I find example ? [message #541726 is a reply to message #541720] Tue, 22 June 2010 10:37 Go to previous message
Rene Pachernegg is currently offline Rene PacherneggFriend
Messages: 2
Registered: June 2010
Junior Member
It only concerns the product.ant content Geejay posted in this thread. The file at http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster is all correct.
The problem only occurs when copy&paste the posted product.ant content.
Previous Topic:The main feature is not found when buckminster build
Next Topic:Eclipse 3.5 build with 3.4 plugins
Goto Forum:
  


Current Time: Thu Apr 25 13:49:03 GMT 2024

Powered by FUDForum. Page generated in 0.03731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top