[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: Can't startup in standalone with RC1
|
Rafael Chaves wrote:
Add -console -noExit to the command line and when the startup fails,
type at the OSGi prompt:
osgi> ss
It will show a list of all installed plug-ins. Do you see your
application plug-in there?
Ok you are right my plugin isnt being loaded in fact nothing seems to be
loaded except system.bundle_3.1.0.
C:\RCPRuntimeRC1\eclipse>java -cp startup.jar
org.eclipse.core.launcher.Main -application
ISXDesigner.ISXDesignerApplication -clean -console -noExit
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE system.bundle_3.1.0
osgi>
They must have changed something with the loading from M6 to RC1. It
must be a commandline issue since I can run it from inside eclipse using
their startup.
In case its not im displaying some info on how I make it run in standalone:
1. First I compile using with the RCPRuntime's jars in cp.
2. I jar compiled files to ISXDesigner.jar
3. I jar my osgi manifest.mf + plugin.xml along with 3rd party libs and
the ISXDesigner.jar into an additional jar file ISXDesigner_1.0.0.0001.jar
4. I place ISXDesigner_1.0.0.0001.jar in my RCPRuntime RC1 plugins folder.
5. I launch the standalone application using java -cp startup.jar
org.eclipse.core.launcher.Main -application
ISXDesigner.ISXDesignerApplication -clean -consolelog -debug
Content of my manifest.mf:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ISXDesigner
Bundle-SymbolicName: ISXDesigner; singleton:=true
Bundle-Version: 1.0.0
Bundle-ClassPath: ISXDesigner.jar, log4j-1.2.9.apc1.0.0.noob.jar,
utils-2.00.00.beta.noob.jar, visual-2.00.00.beta.noob.jar
Bundle-Activator:
com.apc.config.ui.applications.isxdesigner.ISXDesignerPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.expressions
Eclipse-AutoStart: true
-Sandi Schøllhammer