Maybe this is helpful for you:
http://blogs.itemis.de/stundzig/archives/563

This is also good (but not your problem):
http://kthoms.wordpress.com/2009/07/20/building-tmf-xtext-projects-with-maven/

/Patrik


Karl Heinz Marbaise wrote:
> 
> Hi,
> 
> first thanks for your answer...but the workflow file looks like this: (ref
> http://www.eclipse.org/Xtext/documentation/latest/xtext.html)...
> 
> 
> <workflow>
> <property file="org/xtext/example/GenerateMyDsl.properties"/>
> 
> <property name="runtimeProject" value="../${projectName}"/>
> 
> <bean class="org.eclipse.emf.mwe.utils.StandaloneSetup"
> platformUri="${runtimeProject}/.."/>
> <!--
> <component class="org.eclipse.emf.mwe.utils.DirectoryCleaner"
> directory="${runtimeProject}/src-gen"/>
> <component class="org.eclipse.emf.mwe.utils.DirectoryCleaner"
> directory="${runtimeProject}.ui/src-gen"/>
> -->
> <component class="org.eclipse.xtext.generator.Generator">
> <pathRtProject value="target/"/>
> <pathUiProject value="${runtimeProject}.ui"/>
> <projectNameRt value="${projectName}"/>
> <projectNameUi value="${projectName}.ui"/>
> 
> <language uri="${grammarURI}" fileExtensions="${file.extensions}">
> <!-- Java API to access grammar elements 
> (required by several other fragments) -->
> <fragment class=
> "org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment"/>
> 
> <!-- a lot more simple fragments -->
> <!-- ...  -->
> 
> <!-- a sample fragment with a property -->
> <fragment class=
> "org.eclipse.xtext.generator.validation.JavaValidatorFragment">
> <composedCheck value="org.eclipse.xtext.validation.ImportUriValidator"/>
> </fragment>
>       
>       <!-- more simple fragments -->
> <!-- ...  -->      
> </language>
> </component>
> </workflow>
> 
> I have tried to change these two entries:
>         <pathRtProject value="target/src-gen"/>
>         <pathUiProject value="target/ui/src-gen"/>
>         <projectNameRt value="${projectNameRt}"/>
>         <projectNameUi value="${projectNameUi}"/>
>                                     
> But the result was first that it says...non existing folders..so i have 
> created them before...
> 
> After that it converts things i got the following:
> 
> 3816 [main] INFO  ipse.xtext.generator.LanguageConfig  - generating
> infrastructure for ise.intmsglang.IntMsgLang with fragments :
> ImplicitRuntimeFragment, ImplicitUiFragment, GrammarAccessFragment,
> EcoreGeneratorFragment, ParseTreeConstructorFragment,
> ResourceFactoryFragment, DelegatingGeneratorFragment,
> JavaValidatorFragment, CheckFragment, JavaScopingFragment,
> FormatterFragment, LabelProviderFragment, TransformerFragment,
> OutlineNodeAdapterFactoryFragment, JavaBasedContentAssistFragment,
> DelegatingGeneratorFragment
> org.eclipse.emf.common.util.WrappedException: java.io.IOException: The
> path '/src-gen/src-gen/ise/.../XYZPackage.java' is unmapped
>     at
> org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapter.generateJava(AbstractGeneratorAdapter.java:1112)
> 
> So may be you have an idea?
> 
> Kind Regards
> Karl Heinz Marbaise
> 

-- 
View this message in context: 
http://old.nabble.com/Fornax-oAW-MWE-Maven2-Plugin-V3.0.1---Generated-code-into-target-folder-tp27354657s17564p27358539.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to