|
Re: Mwe2Launcher - Cannot create a resource with ANT [message #1810557 is a reply to message #1810116] |
Tue, 13 August 2019 13:16 |
|
hi, i have this done with fork only. the following works for me (on mac) maybe the mix of / and \ on windows is a problem too
<project default="MWE2Generation">
<path id="project-classpath">
<fileset dir="/Users/dietrich/Eclipse201906/Eclipse.app/Contents/Eclipse/plugins" includes="**\*.jar" />
</path>
<target name="MWE2Generation">
<java classname="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher" classpathref="project-classpath" fork="true">
<arg value="src/org/xtext/example/mydsl1/GenerateMyDsl.mwe2"/>
<arg value="-p"/>
<arg value="roothPath=${basedir}"/>
</java>
</target>
</project>
p.s: is there any specific reason to use ant and not maven or gradle
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.02715 seconds