Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Adapting the pde-build with extra targets
Adapting the pde-build with extra targets [message #260780] Mon, 12 July 2004 11:53 Go to next message
Eclipse UserFriend
Originally posted by: thomas.bilz.mummert.de

hi folks,

after some starting problems with the pde-build I got it to build my own
feature. Looks fine, but I have one question about it: can I easily invoke
any extra target on each children of my main-feature?
Perhaps an example makes my problem more understandable. I'm working on a
feature wich dependens on several plugins. Some of these plugins uses JDO
to make data persistent in some datastore. You know, that jdo-classes must
be enhanced after compiling to get things together. And at this point
starts my problem.
I wrote a small build.xml that makes the enhancement, but how can I bring
this file into the build-process and use it together with the generated
ant-files? Any ideas?
I was wondering if I could invoke some specials target-calls for every
child-element in the build-process. After studying the files in the
pde-build-plugin I knew that the targets 'prefetch, pregenerate,...' are
only called once for the feature, but not for the children again. It would
be so much nicer to have this possibilty!
At the moment I think the only solution for my problem is to adapt the
eclipse.buildScript Task to generate additional targets in the build.xml
file or to build my own task to do that, but there are now templates for
the build.xml file, the structure is in the code of BuildScriptGenerator!
Or did I miss some files anywhere in eclipse??

/thomas
Re: Adapting the pde-build with extra targets [message #260937 is a reply to message #260780] Mon, 12 July 2004 18:49 Go to previous message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

Hi Tom,

If you feel like hacking pde build code, then you may as well implement
the enhancement described in bug 35371 which is mainly the flexibility
that you need.

If not (which would be unfornate ;-), then I recommand you to generate
the plugin.xml for each of your plugins, edit them to do what you need
and then set custom to true in their build.properties. Setting this last
flag will avoid that pde overwrite the build.xml.

PaScaL

Thomas wrote:

> hi folks,
>
> after some starting problems with the pde-build I got it to build my own
> feature. Looks fine, but I have one question about it: can I easily invoke
> any extra target on each children of my main-feature?
> Perhaps an example makes my problem more understandable. I'm working on a
> feature wich dependens on several plugins. Some of these plugins uses JDO
> to make data persistent in some datastore. You know, that jdo-classes must
> be enhanced after compiling to get things together. And at this point
> starts my problem.
> I wrote a small build.xml that makes the enhancement, but how can I bring
> this file into the build-process and use it together with the generated
> ant-files? Any ideas?
> I was wondering if I could invoke some specials target-calls for every
> child-element in the build-process. After studying the files in the
> pde-build-plugin I knew that the targets 'prefetch, pregenerate,...' are
> only called once for the feature, but not for the children again. It would
> be so much nicer to have this possibilty!
> At the moment I think the only solution for my problem is to adapt the
> eclipse.buildScript Task to generate additional targets in the build.xml
> file or to build my own task to do that, but there are now templates for
> the build.xml file, the structure is in the code of BuildScriptGenerator!
> Or did I miss some files anywhere in eclipse??
>
> /thomas
>
Previous Topic:JOB - Seeking Eclipse Tool Developer
Next Topic:debug applet in Eclipse?
Goto Forum:
  


Current Time: Sat Jun 07 05:40:34 EDT 2025

Powered by FUDForum. Page generated in 0.02747 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top