How to get typing assist for class files generated by wsimport? [message #204737] |
Fri, 13 April 2007 02:22 |
Eclipse User |
|
|
|
Originally posted by: siegfried.heintze.com
I know the typing assist works if you are calling functions from an imported
an external jar file. I know it also works if you have the java source code
in the same project too.
I need to give a demo of the new java6 wsimport utility and it does not
generate jar files or java source code. It only generates .class files. Is
it necessary for me to jar these up and import them as an external jar file
or can I just say wsgen http:://localhost:8080/hello -d ../bin?
Thanks,
Siegfried
|
|
|
Re: How to get typing assist for class files generated by wsimport? [message #204826 is a reply to message #204737] |
Sat, 14 April 2007 00:05 |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Siegfried Heintze wrote:
> I know the typing assist works if you are calling functions from an imported
> an external jar file. I know it also works if you have the java source code
> in the same project too.
>
> I need to give a demo of the new java6 wsimport utility and it does not
> generate jar files or java source code. It only generates .class files. Is
> it necessary for me to jar these up and import them as an external jar file
> or can I just say wsgen http:://localhost:8080/hello -d ../bin?
>
> Thanks,
> Siegfried
>
>
You can store class files in class folders defined on the Java Build
Path->Libraries tab.
|
|
|
Re: How to get typing assist for class files generated by wsimport? [message #205069 is a reply to message #204826] |
Sun, 15 April 2007 17:13 |
Eclipse User |
|
|
|
Originally posted by: siegfried.heintze.com
Thanks,
That worked!
Is there a way to automate this, perhaps with an ant file? Initially I made
the mistake of creating the files directly in the proxylib directory I
created (according do your directions below)and, of course, this did not
work because they needed to be imported as a filesystem.
So instead I generated the class files in a directory outside the eclipse
workspace with this command (from a cygwin bash prompt where java6 is my
eclipse workspace):
cd /c/Documents and Settings/Administrator/java6/ScriptEngineHello/src
/c/Program\ Files/Java/jdk1.6.0/bin/wsimport.exe
http://localhost:8123/hello?wsdl -d c:\\ -p xml.soapDemo.Client -s .
Then I imported from c:\\xml.
Now how do I automate this importing of the class file -- perhaps with ant?
Now it is also creating source code files with the "-s". I preseume I could
import this as well. How can I automate the imporation of these files too?
Thanks,
Siegfried
"David Wegener" <wegener@cboenospam.com> wrote in message
news:evp5rq$s0e$1@build.eclipse.org...
> Siegfried Heintze wrote:
>> I know the typing assist works if you are calling functions from an
>> imported an external jar file. I know it also works if you have the java
>> source code in the same project too.
>>
>> I need to give a demo of the new java6 wsimport utility and it does not
>> generate jar files or java source code. It only generates .class files.
>> Is it necessary for me to jar these up and import them as an external jar
>> file or can I just say wsgen http:://localhost:8080/hello -d ../bin?
>>
>> Thanks,
>> Siegfried
> You can store class files in class folders defined on the Java Build
> Path->Libraries tab.
|
|
|
Powered by
FUDForum. Page generated in 0.07803 seconds