I'm compiling a set of java files using the following command in NAnt file
 
<exec program="javac"  commandline = "-classpath %CLASSPATH% ${filename}" failonerror = "false">
     
</exec>
 
and get the following error:
 
 [exec] E:\Temp\Agents\java\com\sa\ea\app\automapper\AMDBRecord.java:572: cannot resolve symbol
     [exec] symbol  : variable ErrorLevel
     [exec] location: class com.sa.ea.app.automapper.AMDBRecord
     [exec]       Logger.logMessage(ErrorLevel.WARNING, RES_STR_APPLICATION,
 
However when I execute the same command from the command prompt, it runs without any error.
CLASSPATH variable have been set already.
 
Any quick pointers to resolve the same will be helpful.
 
Thanks
Shelly

Reply via email to