Hi,
I am using netbeans 3.5 with the built in tomcat server to develop servlets,
but I am struggling over where to put the java source
It seems the only way you can sensibly debug a servlet with netbeans is to
have the source code all under WEB-INF/classes. This is fine for initial
prototyping but it is not a sensible structure for proper source code
control.
I have tried using the 'link' function which makes a directory appear
somewhere else, but this doesn't seem to work for servlet debugging.
Andy
Jose Rubio - 27 Nov 2003 05:54 GMT
Check out Eclipse
http://www.eclipse.org
And you can Google for a Tomcat plugin (can't remember the URL) It creates
the Java classes in a WEB-INF/src folder. And it gives you the option to
export to a WAR file without including the source.
Hope it helps,
Jose
> Hi,
>
[quoted text clipped - 10 lines]
>
> Andy
Jazz Jezebel - 28 Nov 2003 19:09 GMT
You can put your source anywhere if you then specify your target directory.
See:
"Specifying a Target Directory for Class Files" in NetBeans HELP.
Note that the Web Module is mounted by default with the alternate view
showing classes at the root - so you can make it the target for compiles.
Julia

Signature
Jazz Jezebel
> Check out Eclipse
>
[quoted text clipped - 23 lines]
> >
> > Andy
Andy Fish - 04 Dec 2003 10:36 GMT
Hey thanks Julia, that's exactly what I wanted :-))
> You can put your source anywhere if you then specify your target directory.
> See:
[quoted text clipped - 4 lines]
>
> Julia