Building Plugin externally from eclipse. [message #282957] |
Thu, 24 March 2005 07:48 |
Eclipse User |
|
|
|
Originally posted by: brian.nospamremoveme.russell.motmac.com
I have a plugin that I wish to build as part of a larger ant script. The
larger ant script contains other items that are not eclipse related.
I have generated the build.xml from the plugins "plugin.xml".
I can successfully build the plugin using the plugin.xml from within
eclipse.
When I try to build the plugin from outside eclipse, I get various
problems.
First was that there were no values set for the properties os,ws,arch etc.
I have defined these in the calling ant script. I also added the
"bootclasspath" as defined in the eclipse generated launch configuration
for the ant build.
Next, I am now getting an error "Compiler Adapter
'org.eclipse.jdt.core.JDTCompilerAdapter' cannot be found". I am guessing
that this is because I have not defined the "additional tasks and support"
items that are defined in the launch configuration.
My questions:
1. Am I doing the correct thing in trying to satisfy the plugin's build
requirements from my calling ant script?
2. If so, is it just a manual edit to my calling script to define all the
required items e.g. bootclasspath , classpath etc?
3. Specifically for classpath, how do I set it my calling script so that
the "javac" task within the plugin build.xml picks it up? The javac task
seems to completely define the classpath, including using a bunch of
plugins and my third party jars that are needed by the plugin.
4. Are there any references that cover the scenario I am trying to do?
Thanks for any feedback
Brian.
|
|
|
Powered by
FUDForum. Page generated in 0.04587 seconds