D
Damon Getsman
I have a large project that I'm working on right now written primarily
in .jsp. It is used primarily to enter, sort, and process data from
several MySQL tables on the back-end. Unfortunately the previous coder
has written it almost entirely in JSP; to the point where almost all
of the logic, database access, and other functions that should
normally go in beans is written in JSP tags. Anyway, I digress...
This project was handed off to me in a NetBeans project bundle. I had
a lot of issues with NetBeans, so I switched to Eclipse. The new
version of eclipse seemed broken in some areas, too, so I ended up
switching to editing my files with 'vim' on my Linux system,
rebuilding with 'ant', and then redeploying and troubleshooting under
tomcat6+apache on my local webserver.
I recently completed the first round of changes to this project. These
consisted of edits only to one .jsp file; not one that is loaded
immediately upon entering index.jsp of the project. When I moved on to
the next section of edits, it consisted primarily of edits to one of
the few JavaScript files that implements AJAX functions for the
project. The source file was in <project_home>/web/js/
AjaxFunctions.js. The first few times that I implemented changes and
rebuilt the project I found (with ant -v) that it was allegedly
including the new .js file due to it being outdated; yet when I looked
with firebug at the javascript include when I went to that portion of
the project, I was still seeing the previous javascript with none of
my changes implemented.
I attempted a few things to try to get it to see my changes, and
although it stated that it was including it due to it being outdated,
I could not see my new javascript code in firebug. So after awhile
(this being my first JSP project and first time working with ant), I
was running out of ideas for troubleshooting and I ended up doing 'ant
clean; ant' to attempt to force a complete rebuild.
This broke the entire project. I don't even see the index.jsp login
page, it just takes me immediately to the unexplained server error
page; I find this rather odd being as I never made changes to any of
the files that are loaded immediately upon entry into the project. I
tried replacing the modified AjaxFunctions.js file with the old one
and it made no difference. Upgraded ant from 1.7.0 to 1.7.1 and still
nothing. Eventually I had to wipe the project directory and reinstall
from the backup that I made yesterday before leaving work.
Due to my unfamiliarity with ant I'm really at a loss here. Can
anybody give me some tips or ideas on what the issue might be here and
where I might look to resolve this? Anything you can offer that would
point me in the right direction is very much appreciated.
Thanks in advance.
Damon Getsman
-=-=-=-
ITRx http://www.itrx-nd.com/
Programmer/Systems Administrator
-=-=-=-
in .jsp. It is used primarily to enter, sort, and process data from
several MySQL tables on the back-end. Unfortunately the previous coder
has written it almost entirely in JSP; to the point where almost all
of the logic, database access, and other functions that should
normally go in beans is written in JSP tags. Anyway, I digress...
This project was handed off to me in a NetBeans project bundle. I had
a lot of issues with NetBeans, so I switched to Eclipse. The new
version of eclipse seemed broken in some areas, too, so I ended up
switching to editing my files with 'vim' on my Linux system,
rebuilding with 'ant', and then redeploying and troubleshooting under
tomcat6+apache on my local webserver.
I recently completed the first round of changes to this project. These
consisted of edits only to one .jsp file; not one that is loaded
immediately upon entering index.jsp of the project. When I moved on to
the next section of edits, it consisted primarily of edits to one of
the few JavaScript files that implements AJAX functions for the
project. The source file was in <project_home>/web/js/
AjaxFunctions.js. The first few times that I implemented changes and
rebuilt the project I found (with ant -v) that it was allegedly
including the new .js file due to it being outdated; yet when I looked
with firebug at the javascript include when I went to that portion of
the project, I was still seeing the previous javascript with none of
my changes implemented.
I attempted a few things to try to get it to see my changes, and
although it stated that it was including it due to it being outdated,
I could not see my new javascript code in firebug. So after awhile
(this being my first JSP project and first time working with ant), I
was running out of ideas for troubleshooting and I ended up doing 'ant
clean; ant' to attempt to force a complete rebuild.
This broke the entire project. I don't even see the index.jsp login
page, it just takes me immediately to the unexplained server error
page; I find this rather odd being as I never made changes to any of
the files that are loaded immediately upon entry into the project. I
tried replacing the modified AjaxFunctions.js file with the old one
and it made no difference. Upgraded ant from 1.7.0 to 1.7.1 and still
nothing. Eventually I had to wipe the project directory and reinstall
from the backup that I made yesterday before leaving work.
Due to my unfamiliarity with ant I'm really at a loss here. Can
anybody give me some tips or ideas on what the issue might be here and
where I might look to resolve this? Anything you can offer that would
point me in the right direction is very much appreciated.
Thanks in advance.
Damon Getsman
-=-=-=-
ITRx http://www.itrx-nd.com/
Programmer/Systems Administrator
-=-=-=-