Trying to set up an
ANT build for a project and am having some CLASSPATH issues.
Java File Located Here: c:\<MYPATH>\src\com\defenseknife\server\DnServer.java
I tried setting classpath in build.xml as specified in FAQ.
Here is the output ...
$ ant compile
Buildfile: build.xml
init:
compile:
[javac] Compiling 1 source file to c:\java\moteng\build
[javac] c:\java\moteng\src\com\defenseknife\server\DnServer.java:
3: package com.defenseknife.tools does not exist
[javac] import com.defenseknife.tools.*;
[javac] ^
[javac] 1 error
BUILD FAILED
c:\java\moteng\build.xml:22: Compile failed; see the compiler error output for d
etails.
Total time: 1 second
I am only getting this error when import statement is present.
If I set classpath through shell and do a straight javac, everything works.
Here is my build.xml ...
Any help is greatly appreciated!
Happy new year ...
-Qaz