I have a class that imports some servlet libraries. When I compile it from the command line, this is normal.
When I use the ant compilation task to compile it, it gives errors that it cannot find the servlet libraries in its path.
Is this a known / common occurrence?
Here is my ant target:
<target name="compile" depends="prepare" description="compile the source" >
<echo>=== COMPILE === SRCDIR: ${src}/com/udfr/src/java </echo>
<javac srcdir="${src}/com/udfr/src/java" destdir="${dist}/WEB-INF/classes"/>
</target>
source
share