Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [xPand] how to create directory hierarchy
[xPand] how to create directory hierarchy [message #517909] Tue, 02 March 2010 14:01 Go to previous message
Urtzi Odriozola is currently offline Urtzi OdriozolaFriend
Messages: 27
Registered: March 2010
Junior Member

I'm working with xtext/xpand and I've made a DSL grammar in xtext where specifies a directory hierarchy. Now I wanna create this hierarchy to them generate the corresponding java code in each package.

Explaining in other words, I wanna generate code in a dinamic directory hierarchy like this:

«DEFINE main FOR TestProject»
«EXPAND TestSuite FOREACH testsuites»

«DEFINE TestSuite FOR TestSuite»
// Code for the java class

The issue is that I get this error:

3031 [main] ERROR eclipse.emf.mwe.core.WorkflowRunner - Failed to create parent directories of file myFolder\src-gen\myDsl::TestProject\Fact_Extraction\Fact_Ext

Has someone any idea?

Thanks for all.
Read Message
Read Message
Read Message
Previous Topic:Is Xpand thread safe
Next Topic:how to import an xpand file from an xpand file?
Goto Forum:

Current Time: Fri Feb 28 05:03:22 GMT 2020

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

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

Back to the top