[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.wsvt] Re: Rebuilding WSVT
|
Hi Tom,
>I have attached my ant output in the hopes that it will help. The jar
files
>produced from my ant build have no class files in them.
From your Ant output it looks like you're trying to build an older version
of the plugins. Did you extract the latest version from CVS? If so, do you
have an older version of WSVT installed?
>As for Eclipse building the plug-in, it just doesn't. Perhaps I don't
have
>the correct project file open or something? How would it know when to
build
>all the jar files? How does it know which of the 6 or 7
org.eclipse.wsdl.*
>and org.eclipse.soap.* directories and source files to build?
Eclipse will build the plugins and keep the class files in a bin directory
(not visible in the Java or Plugin Development perspectives but visible in
the Resource perspective). To see the project settings simply right click
on the project, select properties, and select Java Build Path. There you
will be able to set the source and output directories and list any
required libraries.
>In IDEA, I have a project file that I open that points to my source tree,
>lists dependant jars, and has a 'compile' button I can push. This is the
>kind of paradigm I am trying to apply to Eclipse. I know it doesn't work
>this way, but these plugins seems to be really special. Even if I did
get
>it to compile the classes, I assume it wouldn't make the jar files, which
I
>need to integrate in to an ant script anyway.
You are correct. When Eclipse compiles the plugin it doesn't create the
jar files. However, you can run an Ant build from within Eclipse that will
compile and create the jar files (which was your original question -
here's the answer). To do this:
1. Right click on plugin.xml and select PDE Tools -> Create Ant Build
File. This will create a build.xml file customized for your system.
2. Right click on build.xml and select Run -> Ant Build. This will run the
Ant script and create the jars.
3. To see the jars in your workspace you will need to refresh the project.
Right click on the project and select Refresh.
>P.S. I wouldn't need to build the jar files if new ones with the WS-I
>profiling built in to the ant task were to magically appear somewhere.
:-)
I'm working on having these plugins 'magically' appear in the form of a
downloadable release. If you have fixes for the Ant interface please open
bug reports and include your fixes. This should help speed things up.
Thanks,
Lawrence