[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
RE: [pde-build-dev] How to create build.xml for a eclipse plugin in a headless way ?
|
- From: "Ravi Roy" <ravi.aroy@xxxxxxxxx>
- Date: Sat, 19 May 2007 12:20:08 +0530
- Delivered-to: pde-build-dev@eclipse.org
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:reply-to:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:in-reply-to:importance:x-mimeole; b=HpQ8Q2Mi4L8msk+GOBNZgk4Q4GFjvpGjQMJr+GjDrr3rF1cK+ODyfgpzoOiONQ9uIJwkInIgEtpCRrYVDMJrynzv8iiHOcof4yaJeYS07UgjbSXpcNJIEQ6fWdVqkm9qYRUNXQE6CPdeyREQ8wH0HBbD06wTVl0UXFl7dJQnc3A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:reply-to:from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:in-reply-to:importance:x-mimeole; b=PPTmoglrT9WVMfWBmZwfi3Kbw1xvjOxuiX1Q7ZdpDW+7fyPLQRe47AkpoBFroyZFc2vgYJz0iPANiBFqFc5LHiBD5RjsfNWXQSbmTXj4Zpnj+zpY757MFqCVLmqs6ywGZ0/vYnxgxJ1wuMTXYfUiOcdQM0ieJyazHdVOuvixzOg=
- Importance: Normal
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.