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