Skip to main content



      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 10:32 Go to next message
Eclipse UserFriend
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 10:40 Go to previous messageGo to next message
Eclipse UserFriend
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 07:35] by Moderator

Re: product.ant where can I find example ? [message #540344 is a reply to message #540293] Tue, 15 June 2010 14:30 Go to previous messageGo to next message
Eclipse UserFriend
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 02:13 Go to previous messageGo to next message
Eclipse UserFriend
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 04:38 Go to previous messageGo to next message
Eclipse UserFriend
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 04:40] by Moderator

Re: product.ant where can I find example ? [message #541720 is a reply to message #541697] Tue, 22 June 2010 06:18 Go to previous messageGo to next message
Eclipse UserFriend
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 06:37 Go to previous message
Eclipse UserFriend
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: Fri May 23 18:28:32 EDT 2025

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

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

Back to the top