|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[67cat] [core] J2SE Project with imported web service fails to compile when loaded in 6.7RC2I have a J2SE project from 6.5.1 that won’t compile in
6.7RC2 The error message is: Target "wsimport-client-compile" does not exist in
the project "MyProject". It is used from target
"-do-compile". BUILD FAILED (total time: 0 seconds) And sure enough looking at the ant build files the wsimport-client-compile
was removed but is still referenced in -do-compile. I also see a folder created from an un-initialized property,
it has the name “${file.reference.MyProject-src}” Previous development builds didn’t cause this problem. How specific is build-impl.xml to any particular
project? I have other projects where this didn’t happen (perhaps for
them the original project was not 6.5.1, but a bit older) I was thinking of just outright replacing build-impl.xml from
a working project. The project is a closed-source commercial project so I can’t
attach much of it to a bug report. I doubt it will be reproduced without
something though. How should I proceed. Regards, Scott |
|
|
|
|
|
Re: Fwd: [67cat] [core] J2SE Project with imported web service fails to compile when loaded in 6.7RC2I got the same problem. What I did to fix it was copying the following ant task from my old jaxws.xml (the one used in Netbean6.5) into new jaxws.xml (in Netbean 6.7):
<target name="wsimport-service-compile" depends="-pre-pre-compile"> <webproject2:javac srcdir="${build.generated.dir}/wsimport/service" classpath="${j2ee.platform.wsimport.classpath}:${javac.classpath}" destdir="${build.classes.dir}"/> </target> Not sure if this is a bug in Netbean 6.7, or 6.7 has a new way to build web services. ====================================================
|
| Free embeddable forum powered by Nabble | Forum Help |