ok, i got it ! i added the "web-inf/lib" path to the build.xml file like this:
<property name="compileLibDir" value="C:\apache- tomcat-6.0.10\webapps\MyStruts\WEB-INF\lib"/> and it worked, the lib folder had the struts jar files in it.. thanx again for the help dave! vikas. On 5/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- vikas rao <[EMAIL PROTECTED]> wrote: > <target name="build" > > <javac srcdir="[...]\webapps\MyStruts\WEB-INF\classes\log" > destdir="[...]\webapps\MyStruts\WEB-INF\classes\log" > debug="true" > includes="**/*.java"/> > </target> > > Should i include something else with my build.xml? > like the path to the "lib" folder inside the "WEB-INF" > folder or something? You should give javac a classpath or classpath ref. http://ant.apache.org/manual/CoreTasks/javac.html http://ant.apache.org/manual/using.html#path d. ____________________________________________________________________________________ Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]