[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Plugin for importing generated Java source

I have been using Eclipse for about 2 years now.  I use an ARAD tool (CA 
Plex from Computer Associates, where good software goes to die) that 
generates Java source code.  I have been using Eclipse to build, test, debug 
and deploy that generated code.  Works great and less filling too. :-)

I have been using some ANT scripts to import the generated source and 
refreshing the project to trigger the complier.  I generate in Plex, switch 
to Eclipse and run my ANT script.  3 or 4 clicks.

What I would like to do is make the Generate and Build a single operation 
from Plex.  Currently the tool generates the source and then runs nmake to 
compile the generated source, all outside of an IDE.  The less said about 
this the better.  For the next release, they have finally switched from 
nmake to ANT.  The generated ANT script lends itself to customization which 
I wish to subvert to my own evil purposes.  The generated ANT script is a 
set of properties and ANT calls to some provided ANT scripts that can be 
customized.

What I want my plug-in to do is respond to the ANT job kicked off by Plex. 
What would be the best approach to take for a plug-in to respond to an ANT 
job running outside of Eclipse?  I envision that my plug-in would somehow 
communicate with the ANT build and import the source and other generated 
artifacts into my workspace project so that Eclipse would then takeover from 
there

Please do not ask me to abandon all hope and drop Plex as my primary job is 
to develop applications using Plex. and I lost all hope several years ago 
anyway.

Thank you in advance for your suggestions