<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>news.eclipse.technology.emft</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/maillist.html</link>
		<description>NewsGroup: news.eclipse.technology.emft</description>
		<language>en-us</language>
		<pubDate>Sat, 04 Jul 2009 01:10:19 GMT</pubDate>
		<lastBuildDate>Sat, 04 Jul 2009 01:10:19 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>news.eclipse.technology.emft</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/maillist.html</link>
		</image>
 

	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06665.html</link>
		<description>Ed Merks pisze: Yes, in previous post I've used it as &amp;quot;platform:/plugin/org.eclipse.uml2.uml/model/UML.genmodel&amp;quot;, but AFAIK MWE does not use Equinox/OSGi runtime and &amp;quot;plugin&amp;quot; URIs are not recognized. Regards, Krzysztof Kowalczyk </description>
		<content:encoded><![CDATA[<tt>Ed Merks pisze:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Normally platform:/plugin/&lt;bundle-id&gt;/&lt;path-in-bundle&gt;  does the trick, 
at least in an Equinox runtime.
</tt></blockquote><tt><br>Yes, in previous post I've used it as 
&quot;platform:/plugin/org.eclipse.uml2.uml/model/UML.genmodel&quot;, but AFAIK 
MWE does not use Equinox/OSGi runtime and &quot;plugin&quot; URIs are not recognized.</tt><br>
<br>
<pre style="margin: 0em;">Regards,
Krzysztof Kowalczyk</pre><br>
]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 01:03:36 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06665.html</guid>
		<author>kowalczyk.krzysztof@xxxxxxx (Krzysztof Kowalczyk)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06664.html</link>
		<description>absolute path would make a problem in team environment, is there any ${property} or a way to get the absolute path to a plugin on runtime? I actually did not have time yet to play with Xtext (the end of studies), but it look great :) </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Krzysztof,</pre><br>
<tt>Normally platform:/plugin/&lt;bundle-id&gt;/&lt;path-in-bundle&gt;  does the trick, 
at least in an Equinox runtime.</tt><br>
<br>
<tt><br>Krzysztof Kowalczyk wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>file:/my/absolute/path/org.eclipse.uml2.uml.jar!/model/UML.genmodel
</tt></blockquote><tt><br>absolute path would make a problem in team environment, is there any 
${property} or a way to get the absolute path to a plugin on runtime?</tt><br>
<br>
<tt>I actually did not have time yet to play with Xtext (the end of 
studies), but it look great :)
</tt></blockquote><br>
]]></content:encoded>
		<pubDate>Sat, 04 Jul 2009 00:21:42 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06664.html</guid>
		<author>Ed.Merks@xxxxxxx (Ed Merks)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06663.html</link>
		<description> absolute path would make a problem in team environment, is there any ${property} or a way to get the absolute path to a plugin on runtime? I actually did not have time yet to play with Xtext (the end of studies), but it look great :) </description>
		<content:encoded><![CDATA[<br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>file:/my/absolute/path/org.eclipse.uml2.uml.jar!/model/UML.genmodel
</tt></blockquote><tt><br>absolute path would make a problem in team environment, is there any 
${property} or a way to get the absolute path to a plugin on runtime?</tt><br>
<br>
<tt>I actually did not have time yet to play with Xtext (the end of 
studies), but it look great :)</tt><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 22:54:36 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06663.html</guid>
		<author>kowalczyk.krzysztof@xxxxxxx (Krzysztof Kowalczyk)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06662.html</link>
		<description> I know that unfortunately. In xtext we have: import "http://www.eclipse.org/uml2/3.0.0/UML" and in workflow we have: &amp;lt;bean class="org.eclipse.emf.mwe.utils.StandaloneSetup"  platformUri="${runtimeProject}/.."  &amp;gt;  &amp;lt;registerGeneratedEPackage value="org.ecli...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td bgcolor="#ffffff" style="background-color: #ffffff; color: #000000; "><font color="#000000">



Sven,<br>
<br>
EMF can even deal with accessing deeply nested jars:<br>
<blockquote>
  <p>A connection that can access an entry in an archive, and then
recursively an entry in that archive, and so on. For example, it can be
used just like jar: or zip:, only the archive paths can repeat, e.g., </p>
  <pre>  archive:<a class="moz-txt-link-freetext" href="file:///c:/temp/example.zip!/org/example/nested.zip!/org/example/deeply-nested.html">file:///c:/temp/example.zip!/org/example/nested.zip!/org/example/deeply-nested.html</a>
  </pre>
The general recursive pattern is
  <pre>  archive:$nestedURL${/!$archivePath$}+
  </pre>
So the nested URL for the example above is
  <pre>  <a class="moz-txt-link-freetext" href="file:///c:/temp/example.zip">file:///c:/temp/example.zip</a>
  </pre>
  <p>Since the nested URL may itself contain archive schemes, the
subsequence of the archive paths that should be associated with the
nested URL is determined by finding the nth archive separator, i.e.,
the nth !/, where n is the number of ":"s before the first "/" of the
nested URL, i.e., the number of nested schemes. For example, for a more
complex case where the nested URL is itself an archive-based scheme,
e.g., </p>
  <pre>  archive:<a class="moz-txt-link-freetext" href="jar:file:///c:/temp/example.zip!/org/example/nested.zip!/org/example/deeply-nested.html">jar:file:///c:/temp/example.zip!/org/example/nested.zip!/org/example/deeply-nested.html</a>
  </pre>
the nested URL is correctly parsed to skip to the second archive
separator as <a class="moz-txt-link-freetext" href="jar:file:///c:/temp/example.zip!/org/example/nested.zip">jar:file:///c:/temp/example.zip!/org/example/nested.zip</a><br>
</blockquote>
<br>
<br>
Sven Efftinge wrote:
<blockquote cite="" type="cite">Don't
copy the genmodel but use a file URI which points to the genmodel in
the jar.
  <br>
Don't know the exact syntax, but I guess you'll find it by looking into
the code and JavaDocs of EMF's URI class.
  <br>
  <br>
It's something like this as I remember:
  <br>
  <br>
<a class="moz-txt-link-freetext" href="file:/my/absolute/path/org.eclipse.uml2.uml.jar!/model/UML.genmodel">file:/my/absolute/path/org.eclipse.uml2.uml.jar!/model/UML.genmodel</a>
  <br>
  <br>
Sven
  <br>
  <br>
Krzysztof Kowalczyk schrieb:
  <br>
  <blockquote type="cite">Sebastian Zarnekow pisze:
    <br>
    <blockquote type="cite">Hi Krzysztof,
      <br>
      <br>
my previous post has been submitted to fast. Actually a
platform:/plugin uri will not help you, because the workflow does not
know about registered plugins etc.
      <br>
    </blockquote>
I know that unfortunately. In xtext we have:
    <br>
    <br>
import <a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/uml2/3.0.0/UML">"http://www.eclipse.org/uml2/3.0.0/UML"</a>
    <br>
    <br>
and in workflow we have:
    <br>
    <br>
&lt;bean class="org.eclipse.emf.mwe.utils.StandaloneSetup"
    <br>
&nbsp;platformUri="${runtimeProject}/.."
    <br>
&nbsp;&gt;
    <br>
&nbsp;&lt;registerGeneratedEPackage
value="org.eclipse.uml2.uml.UMLPackage"/&gt;
    <br>
&lt;/bean&gt;
    <br>
...
    <br>
&lt;fragment
    <br>
&nbsp;class="org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment"
    <br>
&nbsp;genModels="platform:/resource/myproject/UML.genmodel"
    <br>
/&gt;
    <br>
    <br>
and I got a feeling that something is bad here :(
    <br>
    <br>
As I understand this is an osgi/ eclipse plugins stuff that workflow
ignores. In active workbench, uri:
<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/uml2/3.0.0/UML">"http://www.eclipse.org/uml2/3.0.0/UML"</a> allow to find both the genmodel
and the epackage. Maybe there is a way to dump registered metamodels
and make them visible to the workflow? Or handle the "platform:/plugin"
uri somehow? Model and genmodel should be visible to workflow without
copying as they are already on classpath.
    <br>
    <br>
Regards,
    <br>
Krzysztof Kowalczyk
    <br>
  </blockquote>
</blockquote>


</font></td></tr></table>]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 10:06:45 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06662.html</guid>
		<author>Ed.Merks@xxxxxxx (Ed Merks)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06661.html</link>
		<description>Don't copy the genmodel but use a file URI which points to the genmodel in the jar. Don't know the exact syntax, but I guess you'll find it by looking into the code and JavaDocs of EMF's URI class. It's something like this as I remember: file:/my/absolute/...</description>
		<content:encoded><![CDATA[<tt>Don't copy the genmodel but use a file URI which points to the genmodel 
in the jar.<br>
Don't know the exact syntax, but I guess you'll find it by looking into 
the code and JavaDocs of EMF's URI class.</tt><br>
<br>
<pre style="margin: 0em;">It's something like this as I remember:</pre><br>
<pre style="margin: 0em;">file:/my/absolute/path/org.eclipse.uml2.uml.jar!/model/UML.genmodel</pre><br>
<pre style="margin: 0em;">Sven</pre><br>
<tt>Krzysztof Kowalczyk schrieb:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>Sebastian Zarnekow pisze:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Krzysztof,</pre><br>
<tt>my previous post has been submitted to fast. Actually a 
platform:/plugin uri will not help you, because the workflow does not 
know about registered plugins etc.
</tt></blockquote><pre style="margin: 0em;">I know that unfortunately. In xtext we have:</pre><br>
<pre style="margin: 0em;">import &quot;<a  href="http://www.eclipse.org/uml2/3.0.0/UML&quot">http://www.eclipse.org/uml2/3.0.0/UML&quot</a>;</pre><br>
<pre style="margin: 0em;">and in workflow we have:</pre><br>
<pre style="margin: 0em;">&lt;bean class=&quot;org.eclipse.emf.mwe.utils.StandaloneSetup&quot;
 platformUri=&quot;${runtimeProject}/..&quot;
 &gt;
 &lt;registerGeneratedEPackage value=&quot;org.eclipse.uml2.uml.UMLPackage&quot;/&gt;
&lt;/bean&gt;
...
&lt;fragment
 class=&quot;org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment&quot;
 genModels=&quot;platform:/resource/myproject/UML.genmodel&quot;
/&gt;</pre><br>
<pre style="margin: 0em;">and I got a feeling that something is bad here :(</pre><br>
<tt>As I understand this is an osgi/ eclipse plugins stuff that workflow 
ignores. In active workbench, uri: 
&quot;<a  href="http://www.eclipse.org/uml2/3.0.0/UML&quot">http://www.eclipse.org/uml2/3.0.0/UML&quot</a>; allow to find both the genmodel 
and the epackage. Maybe there is a way to dump registered metamodels and 
make them visible to the workflow? Or handle the &quot;platform:/plugin&quot; uri 
somehow? Model and genmodel should be visible to workflow without 
copying as they are already on classpath.</tt><br>
<br>
<pre style="margin: 0em;">Regards,
Krzysztof Kowalczyk
</pre></blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 03 Jul 2009 08:55:50 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06661.html</guid>
		<author>sven.efftinge@xxxxxxx (Sven Efftinge)</author>
	</item>


	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06660.html</link>
		<description> </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">By the way, I managed to resolve the need for the notation.ecore. I
misread the GMF book and interpreted it that I must have
firstElementOnly=false if I have multiple roots in my file. Obviously
I don't want to parse diag info so if I remove this flag (default=true)
I remove the need to deal with notation.ecore.</pre><br>
<tt>I'm still getting a termination from an  exception with no error message<br>
associated with it when running in debugger (occasional memory violation 
with f5)</tt><br>
<br>
<pre style="margin: 0em;">I'm trying a bit of refactoring to see if it helps</pre><br>
<pre style="margin: 0em;">regards
Steve</pre><br>
<pre style="margin: 0em;">PS thanks for the great info</pre><br>
<tt><br>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Working now, got the answer on m2t group
(message Re: problem running xpand generator )</pre><br>
<pre style="margin: 0em;">Would be nice if there were a way to reference ecore's
from referenced plugin's eg uml.ecore, notation.ecore</pre><br>
<pre style="margin: 0em;">regards
Steve</pre><br>
<tt><br>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">I originally posted this to m2t as I thought it was an Xpand problem</pre><br>
<pre style="margin: 0em;">I'm struggling through some workflow &amp; xpand2 issues and I've got as far
as the generator part.</pre><br>
<pre style="margin: 0em;">I have set up my gmf model in $model etc for my Reader and it is being
read but I'm getting a fatal error at the generator.</pre><br>
<pre style="margin: 0em;">My xpand template is quite simple at this stage</pre><br>
<pre style="margin: 0em;">&#xAB;IMPORT ngoss&#xBB;
&#xAB;IMPORT contract&#xBB;
&#xAB;IMPORT sla&#xBB;</pre><br>
<pre style="margin: 0em;"><br>&#xAB;DEFINE ngoss FOR contract::Contract&#xBB;
&#xAB;ENDDEFINE&#xBB;</pre><br>
<pre style="margin: 0em;"><br>Note, even though I used code completion I'm getting those red error
marks on my IMPORT's</pre><br>
<pre style="margin: 0em;">Here is part of my workflow</pre><br>
<pre style="margin: 0em;"><br>    &lt;component class=&quot;org.eclipse.emf.mwe.utils.Reader&quot;&gt;
        &lt;firstElementOnly value=&quot;false&quot; /&gt;
        &lt;modelSlot value=&quot;model&quot;/&gt;
        &lt;uri value=&quot;${model}&quot;/&gt;</pre><br>
<pre style="margin: 0em;">    &lt;/component&gt;</pre><br>
<tt>    &lt;component class=&quot;org.eclipse.xpand2.Generator&quot; id=&quot;generate&quot;&gt;<br>
        &lt;metaModel id=&quot;mm&quot; 
class=&quot;org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel&quot;/&gt;<br>
        &lt;fileEncoding value=&quot;UTF-8&quot;/&gt;<br>
        &lt;expand value=&quot;Demos::ngoss FOR model&quot; /&gt;<br>
        &lt;outlet path=&quot;${src-gen}&quot;/&gt;<br>
    &lt;/component&gt;</tt><br>
<br>
<pre style="margin: 0em;">Note it doesn't seem to matter if I use templates::Demos or not!</pre><br>
<tt>Jul 1, 2009 3:17:40 PM 
org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent 
invokeInternal<br>
SEVERE: Error in Component generate of type org.eclipse.xpand2.Generator:<br>
    EvaluationException : No Definition 
'templates::NewTemplateFile::ngoss for List' found!<br>
    [23,50] on line 1 'EXPAND templates::NewTemplateFile::ngoss FOR 
model'</tt><br>
<br>
<tt>Jul 1, 2009 3:17:40 PM org.eclipse.emf.mwe.core.WorkflowRunner 
executeWorkflow<br>
SEVERE: Workflow interrupted. Reason: No Definition 
'templates::NewTemplateFile::ngoss for List' found!<br>
Jul 1, 2009 3:17:40 PM org.eclipse.emf.mwe.core.WorkflowRunner logIssues<br>
SEVERE: [ERROR]: No Definition 'templates::NewTemplateFile::ngoss for 
List' found!(Element: EXPAND templates::NewTemplateFile::ngoss FOR 
model; Reported by: Generator(generate)</tt><br>
<br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">IF I use the following template (done via code completion)</pre><br>
<pre style="margin: 0em;">&#xC2;&#xAB;IMPORT ngoss&#xC2;&#xBB;
&#xC2;&#xAB;IMPORT contract&#xC2;&#xBB;
&#xC2;&#xAB;IMPORT sla&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;"><br>&#xC2;&#xAB;DEFINE Main FOR NGOSS&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;">&#xC2;&#xAB;FILE author + &quot;.ngoss_out&quot;&#xC2;&#xBB;
&#xC2;&#xAB;EXPAND bs FOREACH this.businessServices&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;">&#xC2;&#xAB;ENDFILE&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;"><br>&#xC2;&#xAB;ENDDEFINE&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;">&#xC2;&#xAB;DEFINE bs FOR Contract&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;">&#xC2;&#xAB;Title&#xC2;&#xBB;
&#xC2;&#xAB;ENDDEFINE&#xC2;&#xBB;</pre><br>
<pre style="margin: 0em;">I get the following error</pre><br>
<tt>SEVERE: mismatched input ''<a  href="http://www.xx.com/2008/ngoss">http://www.xx.com/2008/ngoss</a>'' expecting 
Identifier on line 1<br>
org.eclipse.internal.xtend.xtend.parser.ParseException: mismatched 
input ''<a  href="http://www.bt.com/2008/ngoss">http://www.bt.com/2008/ngoss</a>'' expecting Identifier on line 1<br>
    at 
org.eclipse.internal.xpand2.parser.XpandParseFacade$3.handleError(XpandParseFacade.java:77) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParseFacade$2.reportError(XpandParseFacade.java:66) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParser.identifier(XpandParser.java:4326) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandLocationAddingParser.identifier(XpandLocationAddingParser.java:184) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParser.simpleType(XpandParser.java:4251) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandLocationAddingParser.simpleType(XpandLocationAddingParser.java:274) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParser.anImport(XpandParser.java:368) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandLocationAddingParser.anImport(XpandLocationAddingParser.java:79) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParser.template(XpandParser.java:170) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandLocationAddingParser.template(XpandLocationAddingParser.java:289) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParseFacade.file(XpandParseFacade.java:44) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.parser.XpandParseFacade.file(XpandParseFacade.java:31) </tt><br>
<br>
<tt>    at 
org.eclipse.xpand2.XpandExecutionContextImpl$1.parse(XpandExecutionContextImpl.java:92) </tt><br>
<br>
<tt>    at 
org.eclipse.xtend.expression.ResourceManagerDefaultImpl.loadResource(ResourceManagerDefaultImpl.java:70) </tt><br>
<br>
<tt>    at 
org.eclipse.xpand2.XpandExecutionContextImpl.findTemplate(XpandExecutionContextImpl.java:193) </tt><br>
<br>
<tt>    at 
org.eclipse.xpand2.XpandExecutionContextImpl.findTemplate(XpandExecutionContextImpl.java:186) </tt><br>
<br>
<tt>    at 
org.eclipse.xpand2.XpandExecutionContextImpl.findDefinition(XpandExecutionContextImpl.java:145) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.ast.ExpandStatement.invokeDefinition(ExpandStatement.java:174) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.ast.ExpandStatement.evaluateInternal(ExpandStatement.java:167) </tt><br>
<br>
<tt>    at 
org.eclipse.internal.xpand2.ast.Statement.evaluate(Statement.java:39)<br>
    at org.eclipse.xpand2.Generator.invokeInternal2(Generator.java:334)<br>
    at 
org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent.invokeInternal(AbstractExpressionsUsingWorkflowComponent.java:191) </tt><br>
<br>
<tt>    at 
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:118) </tt><br>
<br>
<tt>    at 
org.eclipse.emf.mwe.core.container.CompositeComponent.internalInvoke(CompositeComponent.java:101) </tt><br>
<br>
<tt>    at 
org.eclipse.emf.mwe.core.container.CompositeComponent.invoke(CompositeComponent.java:86) </tt><br>
<br>
<tt>    at 
org.eclipse.emf.mwe.core.WorkflowRunner.executeWorkflow(WorkflowRunner.java:412) </tt><br>
<br>
<tt>    at 
org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:292)<br>
    at 
org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:239)<br>
Jul 1, 2009 4:29:04 PM org.eclipse.emf.mwe.core.WorkflowRunner logIssues<br>
SEVERE: [ERROR]: mismatched input ''<a  href="http://www.xx.com/2008/ngoss">http://www.xx.com/2008/ngoss</a>'' 
expecting Identifier on line 1(Element: EXPAND Demo::ngoss FOR model; 
Reported by: Generator(NgossGenerate): generating 'Demo::ngoss FOR 
model' =&gt; ..//com.xx.yyy.ui/src-gen)</tt><br>
<br>
<pre style="margin: 0em;"><br>regards
Steve</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
<tt>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">For now I have cheated and copied notation.ecore to my local directory
and put a reference to it</pre><br>
<tt>&lt;RegisterEcoreFile 
value=&quot;${eclipse_home}/com.xx.yyy.ui/model/notation.ecore&quot;/&gt;</tt><br>
<br>
<pre style="margin: 0em;">obviously not very elegant but it works, the following didn't though</pre><br>
<tt>        &lt;uriMap<br>
        from=&quot;<a  href="http://www.eclipse.org/gmf/runtime/1.0.2/notation&quot">http://www.eclipse.org/gmf/runtime/1.0.2/notation&quot</a>;<br>
                    
to=&quot;platform:/plugin/org.eclipse.gmf.runtime.notation.notation.ecore&quot;/&gt;</tt><br>
<br>
<tt><br>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Sorry to answer my own post, hopefully someone may find it useful in
future!</pre><br>
<pre style="margin: 0em;">The reason for the error below was that I was was linking by reference
to uml.ecore and ecore.ecore and some attributes were badly set as uml
definition of string as opposed to ecore string. A quick edit of the
attribute type in the local ecore fixed that problem as a workaround.</pre><br>
<tt><br>There were some other later issues with other namespaces not being 
found<br>
so I just added them via multiple calls of RegisterEcoreFile.</tt><br>
<br>
<pre style="margin: 0em;"><br>However, since this is a mixed model and diagram file containing both
model and GMF diagram info the workflow is now looking for</pre><br>
<tt>Package with uri '<a  href="http://www.eclipse.org/gmf/runtime/1.0.2/notation">http://www.eclipse.org/gmf/runtime/1.0.2/notation</a>' 
not found</tt><br>
<br>
<pre style="margin: 0em;">as this is referenced in the gmf output file default2.ngoss</pre><br>
<pre style="margin: 0em;">Haven't worked out this one yet , any hints?</pre><br>
<pre style="margin: 0em;">steve</pre><br>
<tt>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>To clarify, TestModel referred to below is a string value defined 
by my<br>
ecore files as a legal String, it was created by my GMF-EMF editor 
so I<br>
would be surprised if it weren't legal. Hence my question as to what<br>
Reader I should use?</tt><br>
<br>
<pre style="margin: 0em;">Anyhow, made some progress I'm now failing on the Reader</pre><br>
<pre style="margin: 0em;">steve</pre><br>
<tt>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Sven</pre><br>
<pre style="margin: 0em;">Seems to be some issue with org.antlr.runtime.CharStream not found?</pre><br>
<pre style="margin: 0em;">if I add to my dependencies I now get</pre><br>
<tt>SEVERE: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 
'TestModel' is not legal. 
(file:///Users/steveorobec/DSL/eclipseRc4/workspace//com.xx.yyy.ui/templates/default2.ngoss, 
4, 105)</tt><br>
<br>
<pre style="margin: 0em;"><br>Should I be using a different Reader/Generator?
(This is a single file GMF-EMF editor)</pre><br>
<pre style="margin: 0em;"><br>regards
Steve</pre><br>
<tt><br>Bill Hinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Sven</pre><br>
<tt><br>I just tried this, must have had some fat fingered gremlins 
before cause<br>
it kept crashing</tt><br>
<br>
<pre style="margin: 0em;">works now...</pre><br>
<pre style="margin: 0em;">I get a classloader error -- source not found</pre><br>
<pre style="margin: 0em;"><br> } finally {
            if (isChildmost) {
                childmostCaller.remove();</pre><br>
<tt>                if ((c != null) &amp;&amp; name.startsWith(&quot;org.apache.&quot;) &amp;&amp;<br>
                 ( name.startsWith(&quot;org.apache.crimson.&quot;) ||<br>
                  name.startsWith(&quot;org.apache.xalan.&quot;) ||<br>
                  name.startsWith(&quot;org.apache.xml.&quot;) ||<br>
                  name.startsWith(&quot;org.apache.xpath.&quot;) ) ) {<br>
                    AccessController.doPrivileged(new 
PrivilegedAction() {<br>
                                                   public Object 
run() { return 
System.setProperty(&quot;apple.lang.DisableCompatibilityClasspath&quot;, 
&quot;true&quot;);<br>
                                                   }});<br>
                }<br>
            }<br>
        // MacOSX Change END<br>
        }<br>
    }</tt><br>
<br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">and ...</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">// Compiled from Launcher.java (version 1.5 : 49.0, super bit)
public class sun.misc.Launcher {</pre><br>
<pre style="margin: 0em;">  // Field descriptor #72 Ljava/net/URLStreamHandlerFactory;
  private static java.net.URLStreamHandlerFactory factory;</pre><br>
<pre style="margin: 0em;">  // Field descriptor #74 Lsun/misc/Launcher;
  private static sun.misc.Launcher launcher;</pre><br>
<pre style="margin: 0em;">  // Field descriptor #76 Ljava/lang/ClassLoader;
  private java.lang.ClassLoader loader;</pre><br>
<pre style="margin: 0em;">  // Field descriptor #78 Ljava/net/URLStreamHandler;
  private static java.net.URLStreamHandler fileHandler;</pre><br>
<pre style="margin: 0em;">  // Method descriptor #80 ()Lsun/misc/Launcher;
  // Stack: 1, Locals: 0
  public static sun.misc.Launcher getLauncher();
    0  getstatic sun.misc.Launcher.launcher : sun.misc.Launcher [4]
    3  areturn
      Line numbers:
        [pc: 0, line: 42]</pre><br>
<tt>  // Method descriptor #84 ()V<br>
  // Stack: 4, Locals: 5<br>
  public Launcher();<br>
      0  aload_0 [this]<br>
      1  invokespecial java.lang.Object() [5]<br>
      4  invokestatic 
sun.misc.Launcher$ExtClassLoader.getExtClassLoader() : 
sun.misc.Launcher$ExtClassLoader [6]<br>
      7  astore_1<br>
      8  goto 22<br>
     11  astore_2<br>
     12  new java.lang.InternalError [8]<br>
     15  dup<br>
     16  ldc &lt;String &quot;Could not create extension class loader&quot;&gt; [9]<br>
     18  invokespecial java.lang.InternalError(java.lang.String) 
[10]<br>
     21  athrow<br>
     22  aload_0 [this]<br>
     23  aload_1<br>
     24  invokestatic 
sun.misc.Launcher$AppClassLoader.getAppClassLoader(java.lang.ClassLoader) 
: java.lang.ClassLoader [11]<br>
     27  putfield sun.misc.Launcher.loader : 
java.lang.ClassLoader [12]<br>
     30  goto 44<br>
     33  astore_2<br>
     34  new java.lang.InternalError [8]<br>
     37  dup<br>
     38  ldc &lt;String &quot;Could not create application class loader&quot;&gt; 
[13]<br>
     40  invokespecial java.lang.InternalError(java.lang.String) 
[10]<br>
     43  athrow<br>
     44  invokestatic java.lang.Thread.currentThread() : 
java.lang.Thread [14]<br>
     47  aload_0 [this]<br>
     48  getfield sun.misc.Launcher.loader : 
java.lang.ClassLoader [12]<br>
     51  invokevirtual 
java.lang.Thread.setContextClassLoader(java.lang.ClassLoader) : 
void [15]<br>
     54  ldc &lt;String &quot;java.security.manager&quot;&gt; [16]<br>
     56  invokestatic 
java.lang.System.getProperty(java.lang.String) : java.lang.String 
[17]<br>
     59  astore_2<br>
     60  aload_2<br>
     61  ifnull 168<br>
     64  aconst_null<br>
     65  astore_3<br>
     66  ldc &lt;String &quot;&quot;&gt; [18]<br>
     68  aload_2<br>
     69  invokevirtual java.lang.String.equals(java.lang.Object) 
: boolean [19]<br>
     72  ifne 84<br>
     75  ldc &lt;String &quot;default&quot;&gt; [20]<br>
     77  aload_2<br>
     78  invokevirtual java.lang.String.equals(java.lang.Object) 
: boolean [19]<br>
     81  ifeq 95<br>
     84  new java.lang.SecurityManager [21]<br>
     87  dup<br>
     88  invokespecial java.lang.SecurityManager() [22]<br>
     91  astore_3<br>
     92  goto 130<br>
     95  aload_0 [this]<br>
     96  getfield sun.misc.Launcher.loader : 
java.lang.ClassLoader [12]<br>
     99  aload_2<br>
    100  invokevirtual 
java.lang.ClassLoader.loadClass(java.lang.String) : 
java.lang.Class [23]<br>
    103  invokevirtual java.lang.Class.newInstance() : 
java.lang.Object [24]<br>
    106  checkcast java.lang.SecurityManager [21]<br>
    109  astore_3<br>
    110  goto 130<br>
    113  astore 4<br>
    115  goto 130<br>
    118  astore 4<br>
    120  goto 130<br>
    123  astore 4<br>
    125  goto 130<br>
    128  astore 4<br>
    130  aload_3<br>
    131  ifnull 141<br>
    134  aload_3<br>
    135  invokestatic 
java.lang.System.setSecurityManager(java.lang.SecurityManager) : 
void [29]<br>
    138  goto 168<br>
    141  new java.lang.InternalError [8]<br>
    144  dup<br>
    145  new java.lang.StringBuilder [30]<br>
    148  dup<br>
    149  invokespecial java.lang.StringBuilder() [31]<br>
    152  ldc &lt;String &quot;Could not create SecurityManager: &quot;&gt; [32]<br>
    154  invokevirtual 
java.lang.StringBuilder.append(java.lang.String) : 
java.lang.StringBuilder [33]<br>
    157  aload_2<br>
    158  invokevirtual 
java.lang.StringBuilder.append(java.lang.String) : 
java.lang.StringBuilder [33]<br>
    161  invokevirtual java.lang.StringBuilder.toString() : 
java.lang.String [34]<br>
    164  invokespecial java.lang.InternalError(java.lang.String) 
[10]<br>
    167  athrow<br>
    168  return<br>
      Exception Table:<br>
        [pc: 4, pc: 8] -&gt; 11 when : java.io.IOException<br>
        [pc: 22, pc: 30] -&gt; 33 when : java.io.IOException<br>
        [pc: 95, pc: 110] -&gt; 113 when : 
java.lang.IllegalAccessException<br>
        [pc: 95, pc: 110] -&gt; 118 when : 
java.lang.InstantiationException<br>
        [pc: 95, pc: 110] -&gt; 123 when : 
java.lang.ClassNotFoundException<br>
        [pc: 95, pc: 110] -&gt; 128 when : java.lang.ClassCastException<br>
      Line numbers:<br>
        [pc: 0, line: 47]<br>
        [pc: 4, line: 51]<br>
        [pc: 8, line: 55]<br>
        [pc: 11, line: 52]<br>
        [pc: 12, line: 53]<br>
        [pc: 22, line: 59]<br>
        [pc: 30, line: 63]<br>
        [pc: 33, line: 60]<br>
        [pc: 34, line: 61]<br>
        [pc: 44, line: 66]<br>
        [pc: 54, line: 69]<br>
        [pc: 60, line: 70]<br>
        [pc: 64, line: 71]<br>
        [pc: 66, line: 72]<br>
        [pc: 84, line: 73]<br>
        [pc: 95, line: 76]<br>
        [pc: 110, line: 81]<br>
        [pc: 113, line: 77]<br>
        [pc: 115, line: 81]<br>
        [pc: 118, line: 78]<br>
        [pc: 120, line: 81]<br>
        [pc: 123, line: 79]<br>
        [pc: 125, line: 81]<br>
        [pc: 128, line: 80]<br>
        [pc: 130, line: 83]<br>
        [pc: 134, line: 84]<br>
        [pc: 141, line: 86]<br>
        [pc: 168, line: 90]</tt><br>
<br>
<tt>  // Method descriptor #86 ()Ljava/lang/ClassLoader;<br>
  // Stack: 1, Locals: 1<br>
  public java.lang.ClassLoader getClassLoader();<br>
    0  aload_0 [this]<br>
    1  getfield sun.misc.Launcher.loader : java.lang.ClassLoader 
[12]<br>
    4  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 96]</tt><br>
<br>
<tt>  // Method descriptor #88 ()Lsun/misc/URLClassPath;<br>
  // Stack: 4, Locals: 3<br>
  public static sun.misc.URLClassPath getBootstrapClassPath();<br>
     0  new sun.security.action.GetPropertyAction [35]<br>
     3  dup<br>
     4  ldc &lt;String &quot;sun.boot.class.path&quot;&gt; [36]<br>
     6  invokespecial 
sun.security.action.GetPropertyAction(java.lang.String) [37]<br>
     9  invokestatic 
java.security.AccessController.doPrivileged(java.security.PrivilegedAction) 
: java.lang.Object [38]<br>
    12  checkcast java.lang.String [39]<br>
    15  astore_0<br>
    16  aload_0<br>
    17  ifnull 43<br>
    20  aload_0<br>
    21  astore_2<br>
    22  new sun.misc.Launcher$1 [40]<br>
    25  dup<br>
    26  aload_2<br>
    27  invokespecial sun.misc.Launcher$1(java.lang.String) [41]<br>
    30  invokestatic 
java.security.AccessController.doPrivileged(java.security.PrivilegedAction) 
: java.lang.Object [38]<br>
    33  checkcast java.net.URL[] [42]<br>
    36  checkcast java.net.URL[] [42]<br>
    39  astore_1<br>
    40  goto 48<br>
    43  iconst_0<br>
    44  anewarray java.net.URL [43]<br>
    47  astore_1<br>
    48  new sun.misc.URLClassPath [44]<br>
    51  dup<br>
    52  aload_1<br>
    53  getstatic sun.misc.Launcher.factory : 
java.net.URLStreamHandlerFactory [3]<br>
    56  invokespecial sun.misc.URLClassPath(java.net.URL[], 
java.net.URLStreamHandlerFactory) [45]<br>
    59  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 319]<br>
        [pc: 16, line: 321]<br>
        [pc: 20, line: 322]<br>
        [pc: 22, line: 323]<br>
        [pc: 40, line: 330]<br>
        [pc: 43, line: 331]<br>
        [pc: 48, line: 333]</tt><br>
<br>
<tt>  // Method descriptor #90 ([Ljava/io/File;)[Ljava/net/URL;<br>
  // Stack: 4, Locals: 3<br>
  private static java.net.URL[] pathToURLs(java.io.File[] arg0);<br>
     0  aload_0 [arg0]<br>
     1  arraylength<br>
     2  anewarray java.net.URL [43]<br>
     5  astore_1<br>
     6  iconst_0<br>
     7  istore_2<br>
     8  iload_2<br>
     9  aload_0 [arg0]<br>
    10  arraylength<br>
    11  if_icmpge 29<br>
    14  aload_1<br>
    15  iload_2<br>
    16  aload_0 [arg0]<br>
    17  iload_2<br>
    18  aaload<br>
    19  invokestatic sun.misc.Launcher.getFileURL(java.io.File) : 
java.net.URL [46]<br>
    22  aastore<br>
    23  iinc 2 1<br>
    26  goto 8<br>
    29  aload_1<br>
    30  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 337]<br>
        [pc: 6, line: 338]<br>
        [pc: 14, line: 339]<br>
        [pc: 23, line: 338]<br>
        [pc: 29, line: 345]</tt><br>
<br>
<tt>  // Method descriptor #92 (Ljava/lang/String;)[Ljava/io/File;<br>
  // Stack: 7, Locals: 7<br>
  private static java.io.File[] getClassPath(java.lang.String arg0);<br>
      0  aload_0 [arg0]<br>
      1  ifnull 197<br>
      4  iconst_0<br>
      5  istore_2<br>
      6  iconst_1<br>
      7  istore_3<br>
      8  iconst_0<br>
      9  istore 4<br>
     11  iconst_0<br>
     12  istore 5<br>
     14  aload_0 [arg0]<br>
     15  getstatic java.io.File.pathSeparator : java.lang.String 
[47]<br>
     18  iload 5<br>
     20  invokevirtual java.lang.String.indexOf(java.lang.String, 
int) : int [48]<br>
     23  dup<br>
     24  istore 4<br>
     26  iconst_m1<br>
     27  if_icmpeq 42<br>
     30  iinc 3 1<br>
     33  iload 4<br>
     35  iconst_1<br>
     36  iadd<br>
     37  istore 5<br>
     39  goto 14<br>
     42  iload_3<br>
     43  anewarray java.io.File [49]<br>
     46  astore_1<br>
     47  iconst_0<br>
     48  dup<br>
     49  istore 4<br>
     51  istore 5<br>
     53  aload_0 [arg0]<br>
     54  getstatic java.io.File.pathSeparator : java.lang.String 
[47]<br>
     57  iload 5<br>
     59  invokevirtual java.lang.String.indexOf(java.lang.String, 
int) : int [48]<br>
     62  dup<br>
     63  istore 4<br>
     65  iconst_m1<br>
     66  if_icmpeq 125<br>
     69  iload 4<br>
     71  iload 5<br>
     73  isub<br>
     74  ifle 101<br>
     77  aload_1<br>
     78  iload_2<br>
     79  iinc 2 1<br>
     82  new java.io.File [49]<br>
     85  dup<br>
     86  aload_0 [arg0]<br>
     87  iload 5<br>
     89  iload 4<br>
     91  invokevirtual java.lang.String.substring(int, int) : 
java.lang.String [50]<br>
     94  invokespecial java.io.File(java.lang.String) [51]<br>
     97  aastore<br>
     98  goto 116<br>
    101  aload_1<br>
    102  iload_2<br>
    103  iinc 2 1<br>
    106  new java.io.File [49]<br>
    109  dup<br>
    110  ldc &lt;String &quot;.&quot;&gt; [52]<br>
    112  invokespecial java.io.File(java.lang.String) [51]<br>
    115  aastore<br>
    116  iload 4<br>
    118  iconst_1<br>
    119  iadd<br>
    120  istore 5<br>
    122  goto 53<br>
    125  iload 5<br>
    127  aload_0 [arg0]<br>
    128  invokevirtual java.lang.String.length() : int [53]<br>
    131  if_icmpge 156<br>
    134  aload_1<br>
    135  iload_2<br>
    136  iinc 2 1<br>
    139  new java.io.File [49]<br>
    142  dup<br>
    143  aload_0 [arg0]<br>
    144  iload 5<br>
    146  invokevirtual java.lang.String.substring(int) : 
java.lang.String [54]<br>
    149  invokespecial java.io.File(java.lang.String) [51]<br>
    152  aastore<br>
    153  goto 171<br>
    156  aload_1<br>
    157  iload_2<br>
    158  iinc 2 1<br>
    161  new java.io.File [49]<br>
    164  dup<br>
    165  ldc &lt;String &quot;.&quot;&gt; [52]<br>
    167  invokespecial java.io.File(java.lang.String) [51]<br>
    170  aastore<br>
    171  iload_2<br>
    172  iload_3<br>
    173  if_icmpeq 194<br>
    176  iload_2<br>
    177  anewarray java.io.File [49]<br>
    180  astore 6<br>
    182  aload_1<br>
    183  iconst_0<br>
    184  aload 6<br>
    186  iconst_0<br>
    187  iload_2<br>
    188  invokestatic 
java.lang.System.arraycopy(java.lang.Object, int, 
java.lang.Object, int, int) : void [55]<br>
    191  aload 6<br>
    193  astore_1<br>
    194  goto 202<br>
    197  iconst_0<br>
    198  anewarray java.io.File [49]<br>
    201  astore_1<br>
    202  aload_1<br>
    203  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 350]<br>
        [pc: 4, line: 351]<br>
        [pc: 8, line: 352]<br>
        [pc: 14, line: 354]<br>
        [pc: 30, line: 355]<br>
        [pc: 33, line: 356]<br>
        [pc: 42, line: 358]<br>
        [pc: 47, line: 359]<br>
        [pc: 53, line: 361]<br>
        [pc: 69, line: 362]<br>
        [pc: 77, line: 363]<br>
        [pc: 101, line: 366]<br>
        [pc: 116, line: 368]<br>
        [pc: 125, line: 371]<br>
        [pc: 134, line: 372]<br>
        [pc: 156, line: 374]<br>
        [pc: 171, line: 377]<br>
        [pc: 176, line: 378]<br>
        [pc: 182, line: 379]<br>
        [pc: 191, line: 380]<br>
        [pc: 194, line: 382]<br>
        [pc: 197, line: 383]<br>
        [pc: 202, line: 389]</tt><br>
<br>
<tt>  // Method descriptor #94 (Ljava/io/File;)Ljava/net/URL;<br>
  // Stack: 2, Locals: 2<br>
  static java.net.URL getFileURL(java.io.File arg0);<br>
     0  aload_0 [arg0]<br>
     1  invokevirtual java.io.File.getCanonicalFile() : 
java.io.File [56]<br>
     4  astore_0 [arg0]<br>
     5  goto 9<br>
     8  astore_1<br>
     9  aload_0 [arg0]<br>
    10  invokestatic 
sun.net.www.ParseUtil.fileToEncodedURL(java.io.File) : 
java.net.URL [57]<br>
    13  areturn<br>
    14  astore_1<br>
    15  new java.lang.InternalError [8]<br>
    18  dup<br>
    19  invokespecial java.lang.InternalError() [59]<br>
    22  athrow<br>
      Exception Table:<br>
        [pc: 0, pc: 5] -&gt; 8 when : java.io.IOException<br>
        [pc: 9, pc: 13] -&gt; 14 when : java.net.MalformedURLException<br>
      Line numbers:<br>
        [pc: 0, line: 396]<br>
        [pc: 5, line: 397]<br>
        [pc: 9, line: 400]<br>
        [pc: 14, line: 401]<br>
        [pc: 15, line: 403]</tt><br>
<br>
<tt>  // Method descriptor #96 ()Ljava/net/URLStreamHandlerFactory;<br>
  // Stack: 1, Locals: 0<br>
  static synthetic java.net.URLStreamHandlerFactory access$100();<br>
    0  getstatic sun.misc.Launcher.factory : 
java.net.URLStreamHandlerFactory [3]<br>
    3  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 37]</tt><br>
<br>
<tt>  // Method descriptor #92 (Ljava/lang/String;)[Ljava/io/File;<br>
  // Stack: 1, Locals: 1<br>
  static synthetic java.io.File[] access$200(java.lang.String arg0);<br>
    0  aload_0 [arg0]<br>
    1  invokestatic 
sun.misc.Launcher.getClassPath(java.lang.String) : java.io.File[] 
[2]<br>
    4  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 37]</tt><br>
<br>
<tt>  // Method descriptor #90 ([Ljava/io/File;)[Ljava/net/URL;<br>
  // Stack: 1, Locals: 1<br>
  static synthetic java.net.URL[] access$300(java.io.File[] arg0);<br>
    0  aload_0 [arg0]<br>
    1  invokestatic sun.misc.Launcher.pathToURLs(java.io.File[]) 
: java.net.URL[] [1]<br>
    4  areturn<br>
      Line numbers:<br>
        [pc: 0, line: 37]</tt><br>
<br>
<tt>  // Method descriptor #84 ()V<br>
  // Stack: 3, Locals: 0<br>
  static {};<br>
     0  new sun.misc.Launcher$Factory [60]<br>
     3  dup<br>
     4  aconst_null<br>
     5  invokespecial 
sun.misc.Launcher$Factory(sun.misc.Launcher$1) [61]<br>
     8  putstatic sun.misc.Launcher.factory : 
java.net.URLStreamHandlerFactory [3]<br>
    11  new sun.misc.Launcher [62]<br>
    14  dup<br>
    15  invokespecial sun.misc.Launcher() [63]<br>
    18  putstatic sun.misc.Launcher.launcher : sun.misc.Launcher [4]<br>
    21  return<br>
      Line numbers:<br>
        [pc: 0, line: 38]<br>
        [pc: 11, line: 39]</tt><br>
<br>
<tt>  Inner classes:<br>
    [inner class info: #60 sun/misc/Launcher$Factory, outer class 
info: #62 sun/misc/Launcher<br>
     inner name: #65 Factory, accessflags: 10 private static],<br>
    [inner class info: #67 sun/misc/Launcher$AppClassLoader, 
outer class info: #62 sun/misc/Launcher<br>
     inner name: #68 AppClassLoader, accessflags: 8 static],<br>
    [inner class info: #69 sun/misc/Launcher$ExtClassLoader, 
outer class info: #62 sun/misc/Launcher<br>
     inner name: #70 ExtClassLoader, accessflags: 8 static],<br>
    [inner class info: #40 sun/misc/Launcher$1, outer class info: #0<br>
     inner name: #0, accessflags: 8 static]</tt><br>
<br>
<pre style="margin: 0em;">regards
Steve</pre><br>
<tt><br>Sven Efftinge wrote:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Bill,</pre><br>
<tt>sorry, I've no idea why the workflow terminates silently.<br>
It seems that for some yet unkown reason the exception is not 
printed on the console.<br>
Did you try the debug mode (don't forget to flag the &quot;Java 
Debug&quot; checkbox in the run configuration) in order to find out 
where, when and why it terminates?</tt><br>
<br>
<pre style="margin: 0em;">Sorry, I couldn't help more.</pre><br>
<pre style="margin: 0em;">Sven</pre><br>
<tt>Bill Hinge schrieb:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi</pre><br>
<tt>I originally posted to the tmf newsgroup but I suspect I should 
have<br>
posted here? I have been experimenting further and this post is 
updated</tt><br>
<br>
<tt>I have created a GMF editor based on multiple linked ecore 
files and<br>
my GMF editor creates a shared EMF-GMF editor domain in a 
single file.</tt><br>
<br>
<tt>I have set up an action to call a workflow from my GMF UI and 
it appears<br>
to be configured correctly but doesn't actually produce 
anything. (ie<br>
it's called from java using WorkFlowRunner().... The intention 
is to<br>
call the workflow on my editor's model files which will be in 
their own<br>
project directory.</tt><br>
<br>
<tt>As part of my testing I'm manually testing by running the 
workflow from<br>
the project explorer (right click run as MWE). I have set up a 
runtime<br>
config but when I run I get no errors and no output. I get a 
message<br>
'terminated' on top of the console window.</tt><br>
<br>
<tt>I am also seeing a lot of messages<br>
&quot;Could not acquire children from extension: 
com.xx.dsl.yyy.diagram.resourceContent&quot; in the error log but 
these don't seem to timed with my test runs so I'm not sure if 
they are related.</tt><br>
<br>
<pre style="margin: 0em;">this is my workflow is as follows (running on OS X 10.5.7)</pre><br>
<tt>&lt;?xml version=&quot;1.0&quot;?&gt;<br>
&lt;workflow&gt;<br>
    &lt;property name=&quot;workspace_loc&quot; value=&quot;./&quot; /&gt;<br>
    &lt;property name=&quot;eclipse_home&quot; value=&quot;../&quot; /&gt;<br>
    &lt;property name=&quot;model&quot; 
value=&quot;${eclipse_home}/com.xx.yyy.ui/templates/default2.ngoss&quot; /&gt;<br>
    &lt;property name=&quot;src-gen&quot; 
value=&quot;${eclipse_home}/com.xx.yyy.ui/src-gen&quot;/&gt;<br>
    &lt;property name=&quot;out&quot; value=&quot;out&quot; /&gt;</tt><br>
<br>
<tt>    &lt;bean class=&quot;org.eclipse.emf.mwe.utils.StandaloneSetup&quot;&gt;<br>
        &lt;platformUri value=&quot;../&quot; /&gt;<br>
        &lt;RegisterEcoreFile 
value=&quot;${eclipse_home}/com.xx.yyy.ui/model/ngoss.ecore&quot;/&gt;<br>
        &lt;RegisterEcoreFile 
value=&quot;${eclipse_home}/com.xx.yyy.ui/model/contract.ecore&quot;/&gt;<br>
    &lt;/bean&gt;<br>
        &lt;component 
class=&quot;org.eclipse.emf.mwe.utils.DirectoryCleaner&quot; 
directory=&quot;${eclipse_home}/com.xx.yyy.ui/src-gen&quot;/&gt;</tt><br>
<br>
<pre style="margin: 0em;">    &lt;component class=&quot;org.eclipse.emf.mwe.utils.Reader&quot;&gt;
        &lt;modelSlot value=&quot;model&quot;/&gt;
        &lt;uri value=&quot;${model}&quot;/&gt;
        &lt;firstElementOnly value=&quot;false&quot; /&gt;
    &lt;/component&gt;</pre><br>
<tt>    &lt;component class=&quot;org.eclipse.xpand2.Generator&quot;&gt;<br>
        &lt;metaModel id=&quot;mm&quot; 
class=&quot;org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel&quot;/&gt;<br>
        &lt;expand value=&quot;Demo::Main FOR model&quot; /&gt;<br>
        &lt;outlet path=&quot;${src-gen}&quot;/&gt;<br>
    &lt;/component&gt;<br>
   &lt;/workflow&gt;</tt><br>
<br>
<pre style="margin: 0em;"><br>My test xpt file is in com.xx.yy.ui/templates/Demo.xpt</pre><br>
<tt>I have put a copy set of my model ecore files in 
com.xx.yy.ui/model/<br>
(contract.ecore etc) and I have put a test copy of the GMF 
editor model<br>
output default2.ngoss in /templates</tt><br>
<br>
<pre style="margin: 0em;">(once I get this running manually I'll be using a call from java)</pre><br>
<pre style="margin: 0em;"><br>When I run the workflow it gets as far as and stops</pre><br>
<tt>Jun 30, 2009 4:20:37 PM org.eclipse.emf.mwe.core.WorkflowRunner 
prepare<br>
INFO: 
-------------------------------------------------------------------------------------- </tt><br>
<br>
<tt>Jun 30, 2009 4:20:37 PM org.eclipse.emf.mwe.core.WorkflowRunner 
prepare<br>
INFO: EMF Modeling Workflow Engine 0.7.0, Build v200906160748<br>
Jun 30, 2009 4:20:37 PM org.eclipse.emf.mwe.core.WorkflowRunner 
prepare<br>
INFO: (c) 2005-2009 openarchitectureware.org and contributors<br>
Jun 30, 2009 4:20:37 PM org.eclipse.emf.mwe.core.WorkflowRunner 
prepare<br>
INFO: 
-------------------------------------------------------------------------------------- </tt><br>
<br>
<tt>Jun 30, 2009 4:20:37 PM org.eclipse.emf.mwe.core.WorkflowRunner 
prepare<br>
INFO: running workflow: 
/Users/steveorobec/DSL/eclipseRc4/workspace/com.xx.yyy.ui/templates/ngossTransformWorkflow.mwe </tt><br>
<br>
<tt>Jun 30, 2009 4:20:37 PM org.eclipse.emf.mwe.core.WorkflowRunner 
prepare<br>
INFO:<br>
Jun 30, 2009 4:20:37 PM 
org.eclipse.emf.mwe.utils.StandaloneSetup setPlatformUri<br>
INFO: Registering platform uri 
'/Users/steveorobec/DSL/eclipseRc4/workspace'<br>
Jun 30, 2009 4:20:37 PM 
org.eclipse.emf.mwe.utils.StandaloneSetup addRegisterEcoreFile<br>
INFO: Adding dynamic EPackage '<a  href="http://www.xx.com/2008/ngoss">http://www.xx.com/2008/ngoss</a>' 
from '..//com.bt.kalashnikov.ui/model/ngoss.ecore'<br>
Jun 30, 2009 4:20:37 PM 
org.eclipse.emf.mwe.utils.StandaloneSetup addRegisterEcoreFile<br>
INFO: Adding dynamic EPackage '<a  href="http://www.xx.com/2008/contract">http://www.xx.com/2008/contract</a>' 
from '..//com.xx.yyy.ui/model/contract.ecore'</tt><br>
<br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;"><br></pre><br>
<pre style="margin: 0em;">I have the following dependencies in my manifest (belt &amp; braces)
 &gt;
Require-Bundle: org.eclipse.core.runtime,
 org.eclipse.core.resources,
 org.eclipse.ui,
 org.eclipse.emf.codegen,
 org.eclipse.ui.ide,
 org.eclipse.emf.ecore.xmi;bundle-version=&quot;2.4.0&quot;,
 org.eclipse.m2m.qvt.oml;bundle-version=&quot;1.0.0&quot;,
 org.eclipse.xpand;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.emf.mwe.utils;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.check.ui;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.typesystem.emf;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.typesystem.emf.ui;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.typesystem.uml2;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.typesystem.uml2.ui;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.typesystem.xsd;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.typesystem.xsd.ui;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.ui;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.xtend.util.stdlib;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.emf.mwe.activities;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.emf.mwe.ui;bundle-version=&quot;0.7.0&quot;,
 org.eclipse.emf.mwe.ui.simpleEditor;bundle-version=&quot;0.7.0&quot;
 &gt;</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<tt>I have looked at the OAW docs, source etc  plus the Eclipse GMF 
book,<br>
tried various combinations of the above but am stuck. Any idea 
what I'm<br>
doing wrong please?</tt><br>
<br>
<pre style="margin: 0em;">regards
Steve
</pre></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><br>
]]></content:encoded>
		<pubDate>Thu, 02 Jul 2009 22:37:42 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06660.html</guid>
		<author>steve.orobec@xxxxxxx (Bill Hinge)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06659.html</link>
		<description>Sebastian Zarnekow pisze: I know that unfortunately. In xtext we have: import &amp;quot;http://www.eclipse.org/uml2/3.0.0/UML&amp;quot; and in workflow we have: &amp;lt;bean class=&amp;quot;org.eclipse.emf.mwe.utils.StandaloneSetup&amp;quot; platformUri=&amp;quot;${runtimeProject}/..&amp;quot; &amp;lt;registerGeneratedEPac...</description>
		<content:encoded><![CDATA[<tt>Sebastian Zarnekow pisze:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Hi Krzysztof,</pre><br>
<tt>my previous post has been submitted to fast. Actually a platform:/plugin 
uri will not help you, because the workflow does not know about 
registered plugins etc.
</tt></blockquote><pre style="margin: 0em;">I know that unfortunately. In xtext we have:</pre><br>
<pre style="margin: 0em;">import &quot;<a  href="http://www.eclipse.org/uml2/3.0.0/UML&quot">http://www.eclipse.org/uml2/3.0.0/UML&quot</a>;</pre><br>
<pre style="margin: 0em;">and in workflow we have:</pre><br>
<pre style="margin: 0em;">&lt;bean class=&quot;org.eclipse.emf.mwe.utils.StandaloneSetup&quot;
 platformUri=&quot;${runtimeProject}/..&quot;
&gt;
 &lt;registerGeneratedEPackage value=&quot;org.eclipse.uml2.uml.UMLPackage&quot;/&gt;
&lt;/bean&gt;
...
&lt;fragment
 class=&quot;org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment&quot;
 genModels=&quot;platform:/resource/myproject/UML.genmodel&quot;
/&gt;</pre><br>
<pre style="margin: 0em;">and I got a feeling that something is bad here :(</pre><br>
<tt>As I understand this is an osgi/ eclipse plugins stuff that workflow 
ignores. In active workbench, uri: 
&quot;<a  href="http://www.eclipse.org/uml2/3.0.0/UML&quot">http://www.eclipse.org/uml2/3.0.0/UML&quot</a>; allow to find both the genmodel 
and the epackage. Maybe there is a way to dump registered metamodels and 
make them visible to the workflow? Or handle the &quot;platform:/plugin&quot; uri 
somehow? Model and genmodel should be visible to workflow without 
copying as they are already on classpath.</tt><br>
<br>
<pre style="margin: 0em;">Regards,
Krzysztof Kowalczyk</pre><br>
]]></content:encoded>
		<pubDate>Thu, 02 Jul 2009 22:18:26 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06659.html</guid>
		<author>kowalczyk.krzysztof@xxxxxxx (Krzysztof Kowalczyk)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06658.html</link>
		<description>Hi Krzysztof, my previous post has been submitted to fast. Actually a platform:/plugin uri will not help you, because the workflow does not know about registered plugins etc. I didn't find another solution than you. It seems you really have to be evil and ...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Krzysztof,</pre><br>
<tt>my previous post has been submitted to fast. Actually a platform:/plugin 
uri will not help you, because the workflow does not know about 
registered plugins etc.</tt><br>
<br>
<tt>I didn't find another solution than you. It seems you really have to be 
evil and copy the genmodel. Maybe somebody else knows the trick how to 
avoid this?</tt><br>
<br>
<pre style="margin: 0em;">Regards,
Sebastian</pre><br>
<tt>Am 02.07.2009 22:46 Uhr, schrieb Krzysztof Kowalczyk:
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">I don't know how to do all the things right so I added TMF news group
and believe that somebody will help with the rest.</pre><br>
<pre style="margin: 0em;"> &gt; What I meant was that my created DSL has ERefeferences to UML Class
 &gt; entity etc so that I may load UML classes from a .uml file into my DSL.
 &gt;
 &gt; As such I needed to put something like
 &gt;
 &gt; &lt;RegisterEcoreFile value=&quot;./model/UML.ecore&quot;/&gt; in my workflow having
 &gt; put a copy of UML.ecore in local dir. I thought it better to register(?)
 &gt; this by pointing to the plugin containing the ecore directly. However, I
 &gt; don't know if this is possible?</pre><br>
<pre style="margin: 0em;">Don't do that, some projects does include changes in code generated
from ecore models. AFAIK UML project is one of them so you should use
generated code not the dynamic version IMHO. Unfortunately UML need
different handling in most cases (its own metamodel, its own setup etc.)</pre><br>
<pre style="margin: 0em;">What you need is to register the generated UML model by registering the
generated EPackage:</pre><br>
<pre style="margin: 0em;">&lt;bean class=&quot;org.eclipse.emf.mwe.utils.StandaloneSetup&quot;&gt;
&lt;registerGeneratedEPackage value=&quot;org.eclipse.uml2.uml.UMLPackage&quot;/&gt;
&lt;/bean&gt;</pre><br>
<pre style="margin: 0em;">You also need small change like that in your Xtext workflow:</pre><br>
<pre style="margin: 0em;">&lt;fragment
class=&quot;org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment&quot;
genModels=&quot;platform:/plugins/org.eclipse.uml2.uml/model/UML.genmodel&quot;
/&gt;</pre><br>
<pre style="margin: 0em;">But actually this will not work (I never liked uri), can somebody
correct that? Is the copying genmodel and using &quot;platform:/resource/&quot;
instead, the only solution? It works, but is pure evil IMO ;)</pre><br>
<pre style="margin: 0em;">Regards,
Krzysztof Kowalczyk
</pre></blockquote><pre style="margin: 0em;"><br></pre><br>
]]></content:encoded>
		<pubDate>Thu, 02 Jul 2009 21:26:09 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06658.html</guid>
		<author>Sebastian.Zarnekow@xxxxxxx (Sebastian Zarnekow)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06657.html</link>
		<description>Hi Krzystof, see below. Am 02.07.2009 22:46 Uhr, schrieb Krzysztof Kowalczyk: Is it a typo in your post: the uri to installed plugins should be platform:/plugin/org.eclipse.uml2.uml/... instead of platform:/plugin_s_. Regards, Sebastian </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi Krzystof,</pre><br>
<pre style="margin: 0em;">see below.</pre><br>
<pre style="margin: 0em;">Am 02.07.2009 22:46 Uhr, schrieb Krzysztof Kowalczyk:</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">You also need small change like that in your Xtext workflow:</pre><br>
<pre style="margin: 0em;">&lt;fragment
class=&quot;org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment&quot;
genModels=&quot;platform:/plugins/org.eclipse.uml2.uml/model/UML.genmodel&quot;
/&gt;</pre><br>
<pre style="margin: 0em;">But actually this will not work (I never liked uri), can somebody
correct that? Is the copying genmodel and using &quot;platform:/resource/&quot;
instead, the only solution? It works, but is pure evil IMO ;)
</pre></blockquote><pre style="margin: 0em;"><br>Is it a typo in your post: the uri to installed plugins should be
platform:/plugin/org.eclipse.uml2.uml/...</pre><br>
<pre style="margin: 0em;">instead of platform:/plugin_s_.</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;"><br>Regards,
Krzysztof Kowalczyk
</pre></blockquote><pre style="margin: 0em;"><br>Regards,
Sebastian</pre><br>
<br>
]]></content:encoded>
		<pubDate>Thu, 02 Jul 2009 21:09:27 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06657.html</guid>
		<author>Sebastian.Zarnekow@xxxxxxx (Sebastian Zarnekow)</author>
	</item>
	<item>
		<title>[news.eclipse.technology.emft] Re: first time problem running	workflow (mwe 0.7.0)</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06656.html</link>
		<description>I don't know how to do all the things right so I added TMF news group and believe that somebody will help with the rest. Don't do that, some projects does include changes in code generated from ecore models. AFAIK UML project is one of them so you should u...</description>
		<content:encoded><![CDATA[<tt>I don't know how to do all the things right so I added TMF news group 
and believe that somebody will help with the rest.</tt><br>
<br>
<pre style="margin: 0em;">&gt; What I meant was that my created DSL has ERefeferences to UML Class
&gt; entity etc so that I may load UML classes from a .uml file into my DSL.
&gt;
&gt; As such I needed to put something like
&gt;
&gt; &lt;RegisterEcoreFile value=&quot;./model/UML.ecore&quot;/&gt; in my workflow having
&gt; put a copy of UML.ecore in local dir. I thought it better to register(?)
&gt; this by pointing to the plugin containing the ecore directly. However, I
&gt; don't know if this is possible?</pre><br>
<tt>Don't do that, some projects does include changes in code generated<br>
from ecore models. AFAIK UML project is one of them so you should use<br>
generated code not the dynamic version IMHO. Unfortunately  UML need 
different handling in most cases (its own metamodel, its own setup etc.)</tt><br>
<br>
<tt>What you need is to register the generated UML model by registering the 
generated EPackage:</tt><br>
<br>
<pre style="margin: 0em;">&lt;bean class=&quot;org.eclipse.emf.mwe.utils.StandaloneSetup&quot;&gt;
    &lt;registerGeneratedEPackage value=&quot;org.eclipse.uml2.uml.UMLPackage&quot;/&gt;
&lt;/bean&gt;</pre><br>
<pre style="margin: 0em;">You also need small change like that in your Xtext workflow:</pre><br>
<pre style="margin: 0em;">&lt;fragment
 class=&quot;org.eclipse.xtext.generator.ecore.EcoreGeneratorFragment&quot;
 genModels=&quot;platform:/plugins/org.eclipse.uml2.uml/model/UML.genmodel&quot;
/&gt;</pre><br>
<tt>But actually this will not work (I never liked uri), can somebody 
correct that? Is the copying genmodel and using &quot;platform:/resource/&quot; 
instead, the only solution? It works, but is pure evil IMO ;)</tt><br>
<br>
<pre style="margin: 0em;">Regards,
Krzysztof Kowalczyk</pre><br>
]]></content:encoded>
		<pubDate>Thu, 02 Jul 2009 20:46:24 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.technology.emft/msg06656.html</guid>
		<author>kowalczyk.krzysztof@xxxxxxx (Krzysztof Kowalczyk)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
