ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Ruediger <christian.ruedi...@gmail.com>
Subject JAVAC task needs something from "endorsed"
Date Mon, 04 Oct 2004 13:22:33 GMT
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


Mime
View raw message