|
|
Re: -console <port> terminating OSGi framework in 3.6.RC1 [message #534031 is a reply to message #533945] |
Mon, 17 May 2010 18:50 |
Ralf Ebert Messages: 168 Registered: July 2009 |
Senior Member |
|
|
> That option still works for me. I am on the Mac. What OS are you on?
> Does simply using -console with no port bring up the console correctly
> using system in/out?
Mac OS X 10.6, JDK 1.6 x86_64, -console without port works, I can reproduce it using these
steps:
- Eclipse Project SDK 3.6 RC1 (I20100513-1500), new workspace
- Create a new Plug-in project for OSGi Framework Equinox, with Activator, don't use a
template
- Create a new OSGi Framework run configuration from scratch, deselect all bundles, only
launch with the created bundle + dependency org.eclipse.osgi. Default arguments are:
Program: -os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl}
-consoleLog -console
VM: -Declipse.ignoreApp=true -Dosgi.noShutdown=true
- Launching works, sysout console comes and stays up
- Add a port number to the -console option, it prints:
Listening on port 1234 ...
and immediately exits.
- Open the same workspace in 3.5.2, launch the exact same run config, here it runs and
stays up.
I also saw this happening on some (but not all) Windows XP machines (I'm using 3.6RC1 for
a training course and some of the course participants encountered this running Windows and
I could reproduce it on OS X).
Greetings,
Ralf
--
- Ralf | http://www.ralfebert.de/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02060 seconds