A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
compiling ActionForm,ActionClass from command prompt,
Joined: Oct 19, 2006
Dec 20, 2006 04:44:00
how to compile
application( example ActionForms,ActionClasses) from command prompt without using editor
Assume TestAction.java is Action class that i want to compile from command prompt.I am trying to make bat file. Please help
-classpath D:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\servlet-api.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib\struts.jar;C:\j2sdk1.4.1_01\bin\TestAction.java
Joined: May 05, 2006
Dec 20, 2006 05:35:00
Joined: Feb 15, 2005
Dec 20, 2006 09:46:00
If you're going to compile outside of an IDE, I'd recommend you write an
script rather than a .bat or .sh file.
Joined: Feb 08, 2006
Dec 20, 2006 10:36:00
Most sample projects that you download will come with an Ant script (generally named build.xml). Though I have seen more lately that use Maven...I have to admit that I do not understand Maven that much.
Have you checked out
subject: compiling ActionForm,ActionClass from command prompt,
Classpath in Command line
What is the classpath for Tomcat 5.5?
Request Resource not available.
Cannot find symbol
please help! classpath not working
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015