Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

Netbeans: accepting remaining JSP errors in a web app

Thread view: 
jmuir@guskoeln.de - 03 Aug 2006 13:24 GMT
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
David Segall - 03 Aug 2006 15:58 GMT
>Hi folks,
>
[quoted text clipped - 3 lines]
>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.
Oliver Wong - 03 Aug 2006 19:44 GMT
>>Hi folks,
>>
[quoted text clipped - 7 lines]
> 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
john_muir@t-online.de - 03 Aug 2006 20:29 GMT
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?
David Segall - 04 Aug 2006 13:58 GMT
>Thanks David and Oliver,
>
[quoted text clipped - 4 lines]
>
>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.
john_muir@t-online.de - 06 Aug 2006 08:50 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.