Re: Netbeans File Organization - Web Project
LB wrote:
Sorry, I should have been more clear. My problem is in managing html
and .jsp files, not in managing .java and class files. My .java stuff
is all straight, coherent and in order, absolutely inline with your
comments. Obviously the .jsp and html files are not even stored in
the source tree. (ouch.. Lately, I'm spending way more time in .jsp
Yes, they are stored in the source tree. JSPs and HTMLs are stored in
the project's web/ folder.
then I ever spend in .java . I only wish it wasn't so... big
sigh.)
Awwww, poor baby. Just out of curiosity, why in the world would that
be any sort of problem?
In netbeans the system has built two folders, BOTH of which have
copies of all of my .jsp, html and css files. One directory is "/
build/web/" (can I call this the build folder?) ,
That is the deployment folder.
and the other is
simply " /web/" (for lack of a better term I have been calling this
the deployment folder?)
That is the source folder.
Generally the .jsp and html files in /build/web/ are always up to
date... the .jsp and html files in the /web/ folder are generally
ALWAYS outdated... What I really want to know is why, Why, WHY is
this folder even here, with regard to html and .jsp's ? It clearly
build/ is the *deployment* folder. web/ is the *source* folder. The
files in build/web/ should be newer than the files in web/ because
they are built *from* the source folder. So of course they're newer!
doesn't update to any logic that I can figure out. Look at my
original posting. See those "<-- " arrows. Those are the two
directories that I am referring to.
Look at my original answer to your original post. build/web/ is the
*target*, to which files are copied, thus they are newer. web/ is the
*source*, so those files are older. They are not "out of date", they
are the source.
Again, where I'm trying to go is a coherent understanding of which
directory to use when I need to deploy and / or make updates using non-
netbeans tools for html/xml editing.
build/ is the *deployment* directory. web/ is the *source* directory.
dist/ is the distribution directory.
Things get copied
*from source (web/)*
*to deployment (build/)*
thus the deployment directory files are newer.
web/ is the source directory, build/ is the target.
--
Lew