Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to Run an Eclipse Plugin App as a pure Java App
How to Run an Eclipse Plugin App as a pure Java App [message #283078] Fri, 25 March 2005 17:38 Go to next message
Scott Delap is currently offline Scott DelapFriend
Messages: 24
Registered: July 2009
Junior Member
I'd like to profile our Eclipse plugin based application with OptimizeIt.
However, this requires me to run it as a normal Java Application. I know
I can run Eclipse itself with:

java -Xms512m -Xmx768m -cp startup.jar org.eclipse.core.launcher.Main -debug
-consoleLog

I also can run it from in the IDE with:

-dev bin -install file:<eclipse_dir> -data <workspace_dir>

However, I want it to run with the plugins in my workspace directory instead
of the plugins in my install directory.
Re: How to Run an Eclipse Plugin App as a pure Java App [message #283116 is a reply to message #283078] Fri, 25 March 2005 23:55 Go to previous message
Martin Kersten is currently offline Martin KerstenFriend
Messages: 306
Registered: July 2009
Senior Member
> I'd like to profile our Eclipse plugin based application with OptimizeIt.
> However, this requires me to run it as a normal Java Application. I know
> I can run Eclipse itself with:
>
> java -Xms512m -Xmx768m -cp startup.jar
> org.eclipse.core.launcher.Main -debug -consoleLog
>
> I also can run it from in the IDE with:
>
> -dev bin -install file:<eclipse_dir> -data <workspace_dir>
>
> However, I want it to run with the plugins in my workspace directory
> instead of the plugins in my install directory.

Doesn't OptimizeIt provide an IDE integration? Just use the Eclipse
integration.
If you do not brought an Eclipse enabled version, install Eclipse in a
special
directory and export your plugins into the workspace. So you can profile
this
directory.
Another idea is trying to use the -data workspace-dir argument within the
your setup line:

>java -Xms512m -Xmx768m -cp startup.jar
>org.eclipse.core.launcher.Main -debug -consoleLog

I don't know but I guess the data parameter is also working for the
launcher.Main class.


Cheers,

Martin (Kersten)
Previous Topic:Updating the Help index when debugging
Next Topic:ISearchResultPage and org.eclipse.search.searchResultViewPages framework non-usable
Goto Forum:
  


Current Time: Fri Mar 29 15:31:03 GMT 2024

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

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

Back to the top