Skip to main content

[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 ?

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.




Back to the top