Skip to main content


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 10:16
st oehm is currently offline st oehmFriend
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 09: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: Thu Apr 18 10:07:20 GMT 2024

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

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

Back to the top