L
LB
I'm confused by how Netbeans (ver. 6.1) projects manage files. I'm
working on a simple .jsp web application.
My project folder looks like this (I'm looking via Windows Explorer):
Website_Project
/build/
/build/web/ <---
/build/web/META-INF/
/build/web/WEB-INF/
....
/nbproject/
/nbproject/private/
/src/
/src/conf/
/src/java/
/src/java/package_name
/test/
/web/ <---
/web/WEB-INF/
/web/WEB-INF/wsdl
Its the two different /web/ folders that screwing me up. All of my
html and .jsp files are copied into those two directories, but they
never seem to have the same last modified date on them. It looks like
the build folder has more up to date files. Why are there two folders
that contain the same files? I don't get it. Is one directory a
backup for the other? I never can tell which copy of the file is
which. Its not really a problem if you are solely working in
Netbeans, projects, but if you are importing / copying or using other
development tools you can go absolutely crazy. Anybody know why the
system is generating these copies, and what is the logic behind their
non-intuitive update scheme?
How do you guys manage your projects, if you have to occasionally work
outside of netbeans? When you deploy to another server do you copy
the files from the /web/ folder or from the /build/web/ folder?
In my case, I'm using Netbeans to prove out the .jsp and java code and
logic, but for making a web page pretty, doing CSS work, and
validating html/xml code, Macromedia Dreamweaver is much easier to
use.
Anybody else been here before? Any tips or hints to the rookie? Many
thanks in advance.
--LB
Metro Detroit
working on a simple .jsp web application.
My project folder looks like this (I'm looking via Windows Explorer):
Website_Project
/build/
/build/web/ <---
/build/web/META-INF/
/build/web/WEB-INF/
....
/nbproject/
/nbproject/private/
/src/
/src/conf/
/src/java/
/src/java/package_name
/test/
/web/ <---
/web/WEB-INF/
/web/WEB-INF/wsdl
Its the two different /web/ folders that screwing me up. All of my
html and .jsp files are copied into those two directories, but they
never seem to have the same last modified date on them. It looks like
the build folder has more up to date files. Why are there two folders
that contain the same files? I don't get it. Is one directory a
backup for the other? I never can tell which copy of the file is
which. Its not really a problem if you are solely working in
Netbeans, projects, but if you are importing / copying or using other
development tools you can go absolutely crazy. Anybody know why the
system is generating these copies, and what is the logic behind their
non-intuitive update scheme?
How do you guys manage your projects, if you have to occasionally work
outside of netbeans? When you deploy to another server do you copy
the files from the /web/ folder or from the /build/web/ folder?
In my case, I'm using Netbeans to prove out the .jsp and java code and
logic, but for making a web page pretty, doing CSS work, and
validating html/xml code, Macromedia Dreamweaver is much easier to
use.
Anybody else been here before? Any tips or hints to the rookie? Many
thanks in advance.
--LB
Metro Detroit