Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPand]trying to start Xpand from a plugin
[XPand]trying to start Xpand from a plugin [message #698353] Tue, 19 July 2011 06:16
st oehm is currently offline st oehm
Messages: 79
Registered: October 2009
Member
update: forget about the question, i have to do some reorganization (so it can't work)

hi,
i try to run my xpand project from a plugin.
i did this:
exported the xpand Project as jar
imported it into the plug in project
copied the plugindepencies from the xpand project to the plugin project
i have run the plugin in a new eclipseinstance and it causes no errors but nothing happens, i let printed out the workflowrun-command and it was false (with this:

...
WorkflowRunner wr = new WorkflowRunner();
ProgressMonitor p = new org.eclipse.emf.mwe.core.monitor.NullProgressMonitor();
System.out.println(wr.run(wfFile, p, properties, slotContents))Wink
(i didn't use XpandFacade here, but it should work)

when i start it from another xpand project it works, but not from the pluginproject
has anybody an idea why the workflow do nut run

best regards
stoehm

[Updated on: Wed, 20 July 2011 05:47]

Report message to a moderator

Previous Topic:[Acceleo/Papyrus] Problem with FlowPort direction
Next Topic:launching .chain doesn't generate hibernate code
Goto Forum:
  


Current Time: Fri Aug 29 18:27:14 EDT 2014

Powered by FUDForum. Page generated in 0.01673 seconds