I apologize that this isn't a specifically Linux-related question.

I'm working on a project involving several servlets and other classes,
organized in multiple java packages, and I don't think I've figured
out the ideal way to structure my directories.  This is a web-based
application, so in addition to the server-side Java classes, I also
have HTML and javascript files to deal with.  Thank goodness there are
no applets (yet), because that would make it even more confusing!  I
have the following files:

- Java source code files and their associated RCS files
- C source code (and RCS) for JNI methods
- the development version of the shared libraries for the JNI methods
- the production version of the shared libraries for the JNI methods
- the development version of the Java class files
- the production version of the Java class files
- static HTML and JavaScript source files (development version and RCS)
- static HTML and JavaScript source files (production version)

How does one set up the directory structure for such a project?  The
class files evidently need to be in a directory hierarchy that mirrors
the package hierarchy.  I feel that I need the Java source files to be
in a similar hierarchy - should it be a parallel tree or should I keep
the sources in the same directories as the development versions of
their corresponding classes?  If I don't keep the .class files in the
same directories as their .java files, do I need to "mv" them after
compiling or can I convince javac to understand my CLASSPATH and put
the .class files in the right place?

Thanks in advance,

Solomon


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to