[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [pde-build-dev] How to create build.xml for a eclipse plugin in a headless way ?
|
Yes. Barrie you are right, path had problems -- a typo. Sorry. It worked
for a single plugin, but now I am trying to generate a build.xml file for a
plugin which has dependency on another plugin, where do I specify dependency
so that it does not give error that dependent plugin could not be located ?
Regards.
Ravi.
-----Original Message-----
From: Ravi Roy [mailto:ravi.aroy@xxxxxxxxx]
Sent: Saturday, May 19, 2007 12:06 PM
To: 'pde-build-dev@xxxxxxxxxxx'
Subject: RE: [pde-build-dev] How to create build.xml for a eclipse plugin in
a headless way ?
Thanks Barrie for the answer, but it does not work even I have checked the
suggested way, and it is ok.
-----Original Message-----
From: Barrie Treloar [mailto:baerrach@xxxxxxxxx]
Sent: Saturday, May 19, 2007 11:33 AM
To: ravi.aroy@xxxxxxxxx; Eclipse PDE Build developers list.
Subject: Re: [pde-build-dev] How to create build.xml for a eclipse plugin in
a headless way ?
On 5/19/07, Ravi Roy <ravi.aroy@xxxxxxxxx> wrote:
> I want to create a build.xml for a plugin in a headless way, could
somebody
> please tell me the way how I can do it ?
What you are doing is looking ok to me.
> build.properties
> #Sat May 19 09:14:09 GMT+05:30 2007
> pluginId=myplugin
is "myplugin" the fully qualified plugin name?
Does it match the directory in ${buildDirectory\plugins ?
Yes. It is absolute path is ${buildDirectory\plugins}
> 2.create a simple script named testbuild.xml
>
> _______________________________________________
>
> <project name="test"
> default="plugin.buildscript.generation">
>
> <property environment="env" />
>
> <property file="build.properties" />
>
>
>
> <target name="plugin.buildscript.generation">
>
> <eclipse.buildScript elements="plugin@${pluginId}"
> buildDirectory="${buildDirectory}"
> recursiveGeneration="true" buildingOSGI="true"
>
> baseLocation="${env.ECLIPSE_HOME}" pluginPath="${pluginPath}" />
>
> </target>
>
> </project
I don't use recursiveGeneration or buildingOSGI but otherwise it looks ok.
I suspect it is a naming mismatch with pluginId
Name of the plugin-id I have checked it is ok.