[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.wsvt] Re: Rebuilding WSVT

Lawrence,

I have the latest release version(1.2.0) unzipped in the plugins directory
of my eclipse installation directory.

I was attempting to build from the command line with the build.xml files
present in that kit.  I guess that wont work.  After struggling with Eclipse
for far too long, I managed to "Import" the plugin projects for the
validator, but even when I generate the Ant file, I get errors trying to run
it from Eclipse.  It complains about missing a "srcdir" attribute on the
<javac> line.  I just can't seem to get it right!

I have already filed a bug on the ant task and java command line program not
including the WS-I validation.  It includes my guess at the code changes
(that I am trying to test by building the jars).

I will look for the new release.  What is the ETA for it?

Where can I find the anonymous CVS access information?  If I download the
source, will I be able to run an ant build, or do I have to somehow
configure it in to the IDE to build it?

Thanks for the help.
-- 
Tom Jordahl
Macromedia Server Development

"Lawrence Mandel" <lmandel@xxxxxxxxxx> wrote in message
news:co2hl5$sds$1@xxxxxxxxxxxxxxxxxx
> 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
>