This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Quickfixes to find and fix the following scenarios would be good 1) trailing spaces on termination of "here document" string literals. <<DOCUMENT blah blah DOCUMENT(spaces) <--- the spaces cause the terminator to be ignored and code will fail. 2) Indented terminator when the "-" modifier has not been used <<DOCUMENT blah blah DOCUMENT <---- spaces before the terminator cause code to fail Fix a) change the declaration to <<-DOCUMENT Fix b) remove leading spaces from terminating marker
Hi Tor, I think you have nailed it. I spent ages trying to work out why sometimes it was working for me and others not. I never considered trailing spaces (what a sucky language feature). I have closed this off as invalid and created a new enhancement request for some quickfixes http://www.netbeans.org/issues/show_bug.cgi?id=126331 Thanks for letting me know the problem! Cheers, Anthony Richardson
Doh, closed wrong issue!