Hi all,
im struck at similar problem,i used the solution given ,i.e
<target name=compile>
<exec program="javac">  
<arg value="-classpath" />  
<arg path="%CLASSPATH%" />  
<arg file="${filename}" />  
</exec>  
</target>

but the difficulty Im facing is ,the <arg path="%CLASSPATH%" />   is
not getting resolved , I mean when i say  nant compile,the command
window shows like this

[exec] javac  -classpath  "C:\Documents and
Settings\Administrator\Desktop\Shilpa\java\Log.java"

BUILD SUCCEEDED

Total time: 0.5 seconds.

but correspoding Class file is not generated, from above text i
understood that %CLASSPATH% is not resolved,the commond executed tells
this.

I have check ,i have an entry for class path in Env'variables.

any suggestions how i can solve this problem,

Thanks.
kiran


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to