You just have to retrieve your .java source files and recompile them from
the command line. Of course you must have the
Sun SDK installed.
Since your files call the Servlet classes you must set the -classpath
correctly, pointing to the servlet.jar
because the compiler doesn't inlude the servlet packages by default.
To sum up, I advise you to make a special directory called for example
myServlets with three subdirectories
called src, classes and lib. You put servlet.jar in lib and you .java files
in src.
Then you go with the command line into you the myServlets dir and type on
the command line (or make a bat file) something like that :

javac -classpath lib/servlet.jar; -d classes sources/*.java

That should work.

(I hope that you haven't called in you project any proprietary class or
package specific to JBuilder - otherwise compilation won't work).

-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
Vincent Lai
Envoy� : mercredi 19 juin 2002 22:45
� : [EMAIL PROTECTED]
Objet : Migrating a project away from JBuilder


I have a JSP/servlet project which I built on JBuilder4.  It was a school
project and since the project's finished, and since I no longer have
JBuilder
on my computer, I'd like to migrate it to a JBOSS-Tomcat setup.

I'm not sure what I need to do exactly to make the migration work.  I
surmise
it's more than simply moving the directory with my project on it.

I have JBOSS 3.0, Java 1.4, and Tomcat 3.2.3 with Ant also installed, so I
also speculate that Ant will be integral to the migration.

Love to hear your thoughts and suggestions!  I'll be also posting this to
other lists, too.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to