finding out the commandline equivalent to an eclipse run [message #330985] |
Wed, 20 August 2008 11:06  |
Eclipse User |
|
|
|
Originally posted by: mopaxian.hotmail.com
Hi all,
I am trying to get a projected developed in Eclipse to run from commandline,
but I can't for the life of me figure out what eclipse is issuing as commands
that make it work: when I try to run java with the same dependencies in
classpath, same program and VM arguments, it doesn't work.
Is there some way to see what the final rewritten command is that eclipse
issues so I can copy it?
Thanks to anyone who knows.
- Mike Kamermans
|
|
|
|
Re: finding out the commandline equivalent to an eclipse run [message #330990 is a reply to message #330985] |
Wed, 20 August 2008 11:54  |
Eclipse User |
|
|
|
You can more or less reconstruct it by looking at the properties
"eclipse.vmargs" and "eclipse.commands".
Also, look at OpenWorkspaceAction#buildCommandLine from
org.eclipse.ui.ide to see how those properties are combined to create
the command line used for the relaunch that switches workspaces.
-Andrew
Mike Kamermans wrote:
> Hi all,
>
> I am trying to get a projected developed in Eclipse to run from commandline,
> but I can't for the life of me figure out what eclipse is issuing as commands
> that make it work: when I try to run java with the same dependencies in
> classpath, same program and VM arguments, it doesn't work.
>
> Is there some way to see what the final rewritten command is that eclipse
> issues so I can copy it?
>
> Thanks to anyone who knows.
>
> - Mike Kamermans
|
|
|
Powered by
FUDForum. Page generated in 0.02594 seconds