>>Warning: Reference classpath.build has not been set at runtime, but was
found during
>>build file parsing, attempting to resolve. Future versions of Ant may
support
>>referencing ids defined in non-executed targets.
>In your buildscript there is a taskdef
> <taskdef resource="axis-tasks.properties"
> classpathref="classpath.build"/>
>Here you reuse the reference "classpath.build", but nowhere (before) is a
construct
> <path id="classpath.build">...</path>
>So place the <path> _before_ the <taskdef>.
Placing the <path> before the <taskdef> appears to be a no-no:
BUILD FAILED
F:\VoyenceControl\build.xml:4: path doesn't support the nested "taskdef"
element.
>>BUILD FAILED
>>Target "ûf" does not exist in the project "null".
>"null" is the name of the project. You can specify that on
> <project name="...">
>I dont know where the target instruction "ûf" comes from. Maybe some hidden
characters
>from the command line? Try again with "ant".
It apears that using the -f option was causing the error. Once I removed it,
I go the following:
F:\VoyenceControl>ant generate.java
Buildfile: build.xml
Warning: Reference classpath.build has not been set at runtime, but was
found during
build file parsing, attempting to resolve. Future versions of Ant may
support
referencing ids defined in non-executed targets.
generate.java:
[axis-wsdl2java] - Unable to find required classes
(javax.activation.DataHandler and javax.mail.inte
rnet.MimeMultipart). Attachment support is disabled.
[axis-wsdl2java] WSDL2Java
http://cscvoyence.utc.com:8881/ws/api/40/services/ApiService?wsdl
BUILD SUCCESSFUL
Total time: 6 seconds
F:\VoyenceControl>ant compile.gen.src
Buildfile: build.xml
Warning: Reference classpath.build has not been set at runtime, but was
found during
build file parsing, attempting to resolve. Future versions of Ant may
support
referencing ids defined in non-executed targets.
compile.gen.src:
[javac] Compiling 174 source files to F:\VoyenceControl\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
BUILD SUCCESSFUL
Total time: 11 seconds
Thanks for your insights.
--
View this message in context:
http://www.nabble.com/Target-%22%C3%BBf%22-does-not-exist-in-the-project-%22null%22.-tp22181547p22203055.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]