[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: EMF Standalone Main Application

sorry didnt explain it correct i got three Plug-in

1. plugin.rcp
2. plugin.model
3. plugin.commandline

In my RCP plugin all works fine i can load, edit the Model. My commandline plugin has a classic Java Main Application.
I want to load in the commandline plugin a XML-File and use therefor
i use my generated EMf model plugin.


So what do i have to enter in the MANIFEST.MF to run this?

Thanks

Ed Merks schrieb:
An RCP application normally should be started as a proper Eclipse application, not just by setting up the classpath. Maybe you need org.eclipse.emf.ecore in the list below?


exquisitus wrote:
Hi

I use my EMF Model which based on a XML-Schemata in a RCP and in a Plug-in which can be run in command line as stand-alone application.

The Plug-in xyz.jar starts fine. But if i try to load my XML-File
i get a excption that the class
org/eclipse/emf/ecore/resource/resourceSet was not found.
Do i have to set a classpath ?

Here my manifest file:
Manifest-Version: 1.0
Main-Class: build.main.BuildMain
Bundle-ManifestVersion: 2
Bundle-Name: Build Plug-in
Bundle-SymbolicName: build
Bundle-Version: 2.1.8
Bundle-Activator: build.BuildPlugin
Bundle-Vendor: Manager
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 build.plugin.monitor,
 plugin.model,
 org.eclipse.emf.common,
 org.eclipse.emf.ecore.xmi
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Export-Package: build.main
Bundle-ClassPath: src/libs/javaAPI.jar,
 src/libs/jdom.jar,
 src/libs/xerces.jar,
 .