|
From: <rud...@we...> - 2005-09-15 19:50:33
|
Hi Patric, I have lots of applications which use the errorlist plugin, so I'm curious about your problem. I tried on the console (I use windows OS): > echo D:\jedit\jeditPatches.txt:22:hallo D:\jedit\jeditPatches.txt:22:hallo Nothing happened in the errorlist window, but the process was still alive. I stopped the process (stop button on console) Process command.com killed Working directory is E:\jedit then errorlist shows the error So, perhaps the problem is that your process doesn't stop. Regards Rudi > Message: 2 > Date: Tue, 13 Sep 2005 15:30:52 +0200 > From: Patric Bechtel <be...@ip...> > To: jed...@li... > Subject: [ jEdit-users ] Errorlist > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > though I use jEdit has my favourite editor for years now, I can't seem > to get a clue on the following problem: > > I want to call a simple java program from the command line. It outputs > some messages containing source code files onto the console or via log4j. > But I can't get errorlist to recognise the errors although the errors > are in the "generic" format sourcefile:line:error message. > I don't know wether it's the fact I just created a makro which calls the > class' main method and created a shortcut for it. > > Maybe someone can give me a tip where to look at... > > - -- > Mit freundlichen Gruessen / Regards > Patric Bechtel, IPCON Informationssysteme OHG > Kontakt: http://www.ipcon.de/kontakt.php > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > Comment: GnuPT 2.5.2 > > iD8DBQFDJtSMfGgGu8y7ypARAtJAAJ9xz+G+ilsFbpR9/UFnq7jrk2tzvgCghmDS > 8+HIpYkHei6QmukPdsPjeZc= > =RA8C > -----END PGP SIGNATURE----- > > > > --__--__-- > > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > > > End of jEdit-users Digest |
|
From: Alan E. <ala...@gm...> - 2005-09-15 21:12:50
|
I am currently working on the Console/Error list plugin, and made many=20 changes yesterday to the regular expressions and error patterns. Try checking out the version from CVS now and see if it works better. There is a new dialog which lets you try out the regular expressions from= =20 plugin options, but it is still a bit buggy (does not save to your=20 preferences quite right )... I that should be working in another day or two= . On 9/15/05, rud...@we... <rud...@we...> wrote: >=20 > Hi Patric, > I have lots of applications which use the errorlist plugin, so I'm curiou= s=20 > about your > problem. > I tried on the console (I use windows OS): >=20 > > echo D:\jedit\jeditPatches.txt:22:hallo > D:\jedit\jeditPatches.txt:22:hallo >=20 > Nothing happened in the errorlist window, but the process was still alive= . > I stopped the process (stop button on console) >=20 > Process command.com <http://command.com> killed > Working directory is E:\jedit >=20 > then errorlist shows the error >=20 > So, perhaps the problem is that your process doesn't stop. >=20 > Regards > Rudi >=20 > > Message: 2 > > Date: Tue, 13 Sep 2005 15:30:52 +0200 > > From: Patric Bechtel <be...@ip...> > > To: jed...@li... > > Subject: [ jEdit-users ] Errorlist > > |
|
From: Patric B. <be...@ip...> - 2005-09-15 22:39:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Alan, hi Rudi, thanks for throwing an eye upon this. I've checked the CVS code, Rudi's test works. Mine not. As a test, take this bsh snippet, save it as a makro call it. Only thing I see is activity logs messages, no error list activity: s=view.getBuffer().getPath(); print(s+":1:test print"); Log.log(Log.MESSAGE,null,s+":2:test log message"); tia, Patric Alan Ezust schrieb am 15.09.2005 23:12: > I am currently working on the Console/Error list plugin, and made many > changes yesterday to the regular expressions and error patterns. > Try checking out the version from CVS now and see if it works better. > > There is a new dialog which lets you try out the regular expressions > from plugin options, but it is still a bit buggy (does not save to your > preferences quite right )... I that should be working in another day or two. > > > > On 9/15/05, *rud...@we... <mailto:rud...@we...>* > <rud...@we... <mailto:rud...@we...>> wrote: > > Hi Patric, > I have lots of applications which use the errorlist plugin, so I'm > curious about your > problem. > I tried on the console (I use windows OS): > > > echo D:\jedit\jeditPatches.txt:22:hallo > D:\jedit\jeditPatches.txt:22:hallo > > Nothing happened in the errorlist window, but the process was still > alive. > I stopped the process (stop button on console) > > Process command.com <http://command.com> killed > Working directory is E:\jedit > > then errorlist shows the error > > So, perhaps the problem is that your process doesn't stop. > > Regards > Rudi > > > Message: 2 > > Date: Tue, 13 Sep 2005 15:30:52 +0200 > > From: Patric Bechtel <be...@ip... <mailto:be...@ip...>> > > To: jed...@li... > <mailto:jed...@li...> > > Subject: [ jEdit-users ] Errorlist > > > > - -- Mit freundlichen Gruessen / Regards Patric Bechtel, IPCON Informationssysteme OHG Kontakt: http://www.ipcon.de/kontakt.php -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: GnuPT 2.5.2 iD8DBQFDKfgMfGgGu8y7ypARAu5RAKC6n87N5EtCsaCcFqmKOVpCpID0XwCgjnFy FNi+aA533Mf+evQ4WzEyK9w= =05VS -----END PGP SIGNATURE----- |
|
From: Alan E. <ala...@gm...> - 2005-09-15 23:13:48
|
Ah, I see. The Error List does not look at the stuff in the Log stream. I guess ErrorList should add a LogHandler for parsing generic error message= s=20 too. Console currently does regex parsing of output from the Console, but the Log stream is something else entirely. I wonder how easy that would be to add... I would have to read a bit more= =20 about how jEdit.Log works. On 9/15/05, Patric Bechtel <be...@ip...> wrote: >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > I've checked the CVS code, Rudi's test works. Mine not. As a test, take > this bsh snippet, save it as a makro call it. Only thing I see is > activity logs messages, no error list activity: >=20 > s=3Dview.getBuffer().getPath(); > print(s+":1:test print"); > Log.log(Log.MESSAGE,null,s+":2:test log message"); >=20 > tia, >=20 > |
|
From: Patric B. <be...@ip...> - 2005-09-16 00:12:00
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alan, don't get me wrong. The trick with the log is something I've done as an additional test. The stdout-catching is the one which I think is most important: That way, every tool capable of printing on the console written in java could be calld in-jvm without spawning another process... tia Patric Alan Ezust schrieb am 16.09.2005 01:13: > Ah, I see. The Error List does not look at the stuff in the Log stream. > I guess ErrorList should add a LogHandler for parsing generic error > messages too. > > Console currently does regex parsing of output from the Console, > but the Log stream is something else entirely. > > I wonder how easy that would be to add... I would have to read a bit > more about how jEdit.Log works. > > On 9/15/05, *Patric Bechtel* <be...@ip... > <mailto:be...@ip...>> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've checked the CVS code, Rudi's test works. Mine not. As a test, take > this bsh snippet, save it as a makro call it. Only thing I see is > activity logs messages, no error list activity: > > s=view.getBuffer().getPath(); > print(s+":1:test print"); > Log.log(Log.MESSAGE,null,s+":2:test log message"); > > tia, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: GnuPT 2.5.2 iD8DBQFDKg3EfGgGu8y7ypARApDPAKDGQpxD+WGjwVdoFnmcBZO9OqV1ywCgwBHC 4P+i4LNu/QS1i/dG090SIC4= =798t -----END PGP SIGNATURE----- |