Netbeans: accepting remaining JSP errors in a web app

J

jmuir

Hi folks,

I have a very large web app and some of the JSP's have errors which I
just want to accept for now. But Netbeans will not run/debug the
project until all errors are eliminated. Is there any way to get nb
just to accept the fact that 5 of the 2000 JSP's are buggy and let me
test & debug the rest?

Thanks for your time,
John
 
D

David Segall

Hi folks,

I have a very large web app and some of the JSP's have errors which I
just want to accept for now. But Netbeans will not run/debug the
project until all errors are eliminated. Is there any way to get nb
just to accept the fact that 5 of the 2000 JSP's are buggy and let me
test & debug the rest?
Select the code with bugs and use the // icon or Ctrl Shift T to turn
the code into comments. If you append the word FIXME to the commented
code the To Do window will remind you to repair the code.
 
O

Oliver Wong

David Segall said:
Select the code with bugs and use the // icon or Ctrl Shift T to turn
the code into comments. If you append the word FIXME to the commented
code the To Do window will remind you to repair the code.

You might need to add some return null/false/0; as well.

- Oliver
 
J

john_muir

Thanks David and Oliver,

but I can't change the buggy code as it 'belongs' to other developers
and can change from day to day anyway. I need a solution that address
the basic problem, namely to make Netbeans let me test the other 99%
error free JSP's and just ignore the buggy ones for now.

Any other ideas from Netbeans experts?
 
D

David Segall

Thanks David and Oliver,

but I can't change the buggy code as it 'belongs' to other developers
and can change from day to day anyway. I need a solution that address
the basic problem, namely to make Netbeans let me test the other 99%
error free JSP's and just ignore the buggy ones for now.

Any other ideas from Netbeans experts?
I think you need to alter the Ant build script. The Help contains
information on how to do this but I have no idea about the specific
changes required. You could try nbusers
<http://www.netbeans.org/community/lists/top.html#top> for a quick
solution.
 
J

john_muir

David said:
I think you need to alter the Ant build script.

Yes, I looked at that. The web app scripts are very complex and I know
of no simple way to tell ant to ignore the result (success/failure) of
a single prerequisite task.

Anyway... continuation ought to be the default as the different parts
of a web app (e.g. an complex ERP system) are fairly independtant of
each other and during development always have residual errors due to
their size, fluidity and the number of developers working on them
concurrently.

I have entered this as an issue #82021 on the Netbeans site
(http://www.netbeans.org/issues/show_bug.cgi?id=82021)

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top