RE: build error messages
"Mike Skells" <[email protected]> Fri, 1 Aug 2003 09:28:20 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <CA937007647B6B4C89165A21C9AC4A83B4F7@dsl-217-155-140-212.zen.co.uk> |
Excellent! I never saw the readme, as I installed it from the ZIP in the web site, and I cant find the readme on me machine (via netbeans anyway). Maybe this should be a feature of netbeans, to see the readme off the module, or in a menu in the help system I think that this information should be in the tasklist help file as well though, At least that is where I went first ;-) I presume that you are planning that this feature will be invoked when the tasklist module is active, without manual edit Mike > -----Original Message----- > From: Tim Lebedkov [mailto:[email protected]] > Sent: Thursday 31 July 2003 18:36 > To: [email protected] > Subject: Re: [tasklist] build error messages > > > Hello Mike, > > die you read the README? > http://tasklist.netbeans.org/source/browse/tasklist/compiler/R > EADME?rev=1.1&content-type=text/x-cvsweb-markup > > Here is the content of the file: > > How to achieve better results with Build Errors view: > 1. Do not use treefs module (View over a Filesystem) > 2. Use External compilation with javac > - open options dialog: Global menu/Tools/Options > - go to the Options/Editing/Java Sources node > and edit the property Default Compiler > 3. Change regular expression for javac: > - open options dialog: Global menu/Tools/Options > - go to the Options/Building/Compiler Types/External > Compilation node > and edit the property Error Expression > - in the opened dialog change the name of the error expression to > "Better Sun javac" > - create a new Error Expression with "Add" > - change the text in the field "Error expression" to > ^(.+):([0-9]+): ([^\x5e]+\x5e)[\n\r]* > - press "Change" > > --Tim > > Mike Skells wrote: > > > Hi, > > when I use the build error tab sometime the messages are less useful > > than they could be > > > > for example when a error is 'cannot resolve symbol' the > symbol name is > > not displayed. With the build error module deactivated then this is > > displayed in the next line as 'symbol : xyz > > > > on the suggestions view the display contains the the details as if > > taken from the other lines > > > > As a seperate point, the column number reported is incorrect, it > > always reports 1. I presume that thhis is taken from the > [<line>:<col>] format in the error message. > > could this be parsed from the location of the '^' in the > error message > > as this gives the actual location of the error. > > This would mean that when you goto the source then the curser is in > > the right place > > It would be good to fix the javac compiler to output the correct > > column number but I guess that would take a while longer! > > > > Mike > > > > > > > > > ---------------------------------------------------------------------- > > -- > > This mailbox protected from junk email by Matador > > from MailFrontier, Inc. http://info.mailfrontier.com > > <http://info.mailfrontier.com/> > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >