You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Christian Ruediger <ch...@gmail.com> on 2004/10/04 15:22:33 UTC
JAVAC task needs something from "endorsed"
I am just beginning with a tutorial where tha javac task is used.
When running it with no sources it works well.
When running it with a simple source file, ANT complains
about not finding teh "endorsed" folder.
What is this good for, and how can I fix it.
I would very much appreciate some halp in this matter, as it bothers
me for while already.
Thank you
Christian Ruediger
Versions and names:
Win 2K
ant 1.6.2
eclipse 3.0
The Task:
<target name="compile" depends="prepare"
description="Compile Java sources">
<!-- depends="prepare" -->
<!-- Compile Java classes as necessary -->
<mkdir dir="${build.home}/WEB-INF/classes"/>
<javac srcdir="${src.home}"
destdir="${build.home}/WEB-INF/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
optimize="${compile.optimize}" >
<classpath refid="compile.classpath"/>
</javac>
<!-- Copy application resources -->
<copy todir="${build.home}/WEB-INF/classes">
<fileset dir="${src.home}" excludes="**/*.java"/>
</copy>
</target>
The Error:
Buildfile: C:\Documents and Settings\cruediger\Mes
documents\Workspace\LocasugeGSM\build.xml
prepare:
compile:
[javac] Compiling 1 source file to C:\Documents and
Settings\cruediger\Mes
documents\Workspace\LocasugeGSM\build\WEB-INF\classes
BUILD FAILED: C:\Documents and Settings\cruediger\Mes
documents\Workspace\LocasugeGSM\build.xml:200: C:\Documents and
Settings\common\endorsed not found.
Total time: 1 second
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org