|
Re: [pde-build] Headless feature build if feature directory name and feature id differ [message #331893 is a reply to message #331886] |
Fri, 26 September 2008 19:12 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Andrew Niefer![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=aniefer%40gmail.com) Messages: 990 Registered: July 2009 |
Senior Member |
|
|
Try using something like the following in your allElements.xml
<target name="allElementsDelegator">
<ant antfile="${genericTargets}" target="${target}">
<property name="type" value="feature" />
<property name="id" value="org.foo.feature.id" />
<property name="elementPath" value="C:/real/path/to/feature" />
</ant>
</target>
This delegator calls the genericTargets.xml script in pde.build. If you
look there, you can see that the targets all use ${elementPath}, which
is set by default in the genericTargets.xml/init target. Specifying it
in the ant call should use your value instead of that default value.
-Andrew
Daniel Krügler wrote:
> Hi,
>
> I'm going to do a headless feature build and the first thing,
> which bite me was the fact that my feature id was different
> from it's directory name. I know, that I have to specify the
> feature id in the allElements.xml, but where do I specify
> the proper path location, such that the headless build can
> find it? Please let me add, that I need to support Eclipse
> 3.3.2, so I cannot rely on PDE-build extensions of Eclipse
> 3.4*.
>
> Thanks for your input,
>
> Daniel Krügler
|
|
|
|
Powered by
FUDForum. Page generated in 0.03975 seconds