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 Barrrie for the answer.

-----Original Message-----
From: Barrie Treloar [mailto:baerrach@xxxxxxxxx] 
Sent: Saturday, May 19, 2007 12:31 PM
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:
> 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
?

I don't understand the question.

If the plugin is already built, then it goes in your baseLocation or
in one of the pluginPath dirs (I have not used pluginPath myself, all
my plugins go in baseLocation as this is the same as my  Eclipse
Target Platform in eclipse preferences)

If the plugin is something that should be built with the application
then it should go in the same folder structure as the application
plugin, i.e.
PROJECT_ROOT
+ features
  + feature_1
  + feature_2
+ plugins
  + plugin_1
  + plugin_2

If your plugin can not be found in either of the above scenarios you
get the "error that dependent plugin could not be located"

 I understand the scenario you have mentioned, but I am not sure, if I am
wrong somewhere, let me specify it for better clarity :

I have four plugins in my eclipse workspace, and I want to create build.xml
for each of four plugins, this is what I want to do first : 

	- plugin1
	- plugin2
	- plugin3	
	- plugin4

- Plugin1 does not have any dependency on another workspace plugin so
build.xml was generated for that.

- Plugin2 has dependency on plugin1 and when I want to create a build.xml
for it, I get an error message the plugin1 can not be found -- because only
build.xml was created and plugin's zip or jar was not created.

As per my build phases, I plan to create build.xml for all workspace plugins
and then in second phase I want to build zip or jars for those.

I am not sure, if this can work or not ?

Regards.
Ravi.



 
	


 




Back to the top