Skip to main content



      Home
Home » Eclipse Projects » Equinox » Easy way to capture -debug info
Easy way to capture -debug info [message #85649] Thu, 29 March 2007 16:43 Go to next message
Eclipse UserFriend
Originally posted by: gkarasiuk.gmail.com

Is there any easy way to capture the output from the -debug directive?

I know that I can always use something like this:

java -cp plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
org.eclipse.core.launcher.Main -data \apt-radv7\local\ws -debug >debug.txt
2>&1

but this is very hard to explain to a end user. And it is also quite
fragile with the qualifier changing from build to build.
Re: Easy way to capture -debug info [message #85709 is a reply to message #85649] Fri, 30 March 2007 16:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dj_houghton.nospam.ca.ibm.com

Currently, no. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=179860

Gary Karasiuk wrote:
> Is there any easy way to capture the output from the -debug directive?
>
> I know that I can always use something like this:
>
> java -cp plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
> org.eclipse.core.launcher.Main -data \apt-radv7\local\ws -debug
> >debug.txt 2>&1
>
> but this is very hard to explain to a end user. And it is also quite
> fragile with the qualifier changing from build to build.
Re: Easy way to capture -debug info [message #85739 is a reply to message #85649] Sat, 31 March 2007 16:30 Go to previous message
Eclipse UserFriend
Gary Karasiuk wrote:
> Is there any easy way to capture the output from the -debug directive?
>
> I know that I can always use something like this:
>
> java -cp plugins\org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
> org.eclipse.core.launcher.Main -data \apt-radv7\local\ws -debug
> >debug.txt 2>&1
>
> but this is very hard to explain to a end user. And it is also quite
> fragile with the qualifier changing from build to build.

I wonder why you can't use a shell script that would do the above java
execution with appropriate redirects?

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl
Previous Topic:proper way to shutdown equinox 3.2 above?
Next Topic:PROBLEM: OSGi events not delivered to event handles if bundle is being started.
Goto Forum:
  


Current Time: Sat May 10 18:14:18 EDT 2025

Powered by FUDForum. Page generated in 0.03407 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top