Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » run RCP Application in static main method
run RCP Application in static main method [message #480988] Wed, 19 August 2009 09:49 Go to next message
Raphael Domingues is currently offline Raphael DominguesFriend
Messages: 3
Registered: August 2009
Junior Member
Hi,

I'm search around the internet and can't find to the run RCP Application inside a normal java class, a static main method...

Anybody know the answer or example?

Thanks!
Re: run RCP Application in static main method [message #481040 is a reply to message #480988] Wed, 19 August 2009 12:12 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

See http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/misc/eclipsestarter.html

PW


Re: run RCP Application in static main method [message #481099 is a reply to message #480988] Wed, 19 August 2009 15:49 Go to previous message
Raphael Domingues is currently offline Raphael DominguesFriend
Messages: 3
Registered: August 2009
Junior Member
I'm try, but not work. Sad

See code sample:

                args = new String[12];
		args[0]="-product";
		args[1]="ksdocmodel.product";
		args[2]="-data";
		args[3]="C:\\work\\eclipseRCP\\workspace/../runtime-ksdocmodel.product";
		args[4]="-dev";
		args[5]="file:C:/work/eclipseRCP/workspace/.metadata/.plugins/org.eclipse.pde.core/ksdocmodel.product/dev.properties";
		args[6]="-os";
		args[7]="win32";
		args[8]="-ws";
		args[9]="win32";
		args[10]="-arch";
		args[11]="x86";
		try {
			EclipseStarter.main(args);
		} catch (Exception e) {
			e.printStackTrace();
		}


I'm not guru in RCP Applications... Rolling Eyes
Previous Topic:how to perform a manual local site update
Next Topic:Databinding of CheckboxTableViewer
Goto Forum:
  


Current Time: Sun Jan 26 06:49:25 GMT 2025

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

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

Back to the top