But instead of simply loading the template and generating to the
specified file, I get the following exception:
java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.epsilon.egl.EglFileGeneratingTemplate
at org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
at org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
at org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
...
Now, I know that the whole template and target handling of EglTask has
recently been overhauled quite a bit, so I just wonder whether this
might simply be a regression somewhere? Or is there something I'm missing?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Louis, Dimitrios,<br>
<br>
I'm probably doing something really stupid, but I have a problem using
EGL from an ANT workflow. I have the following task invocation:<br>
<blockquote>
<pre><epsilon.egl src="templates/BlockFactory.egl"
target="${dir}/tetris/BlockFactory.java">
<model ref="tetris" as="Tetris" />
</epsilon.egl>
</pre>
</blockquote>
But instead of simply loading the template and generating to the
specified file, I get the following exception:<br>
<blockquote>
<pre>java.lang.ClassCastException: java.lang.String cannot be cast to org.eclipse.epsilon.egl.EglFileGeneratingTemplate
at org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
at org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
at org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
...
</pre>
</blockquote>
Now, I know that the whole template and target handling of EglTask has
recently been overhauled quite a bit, so I just wonder whether this
might simply be a regression somewhere? Or is there something I'm
missing?<br>
<br>
Cheers,<br>
<br>
Steffen<br>
</body>
</html>
--------------030409060407040905000901--]]>Steffen Zschaler2010-04-21T12:54:44-00:00Re: EglTask broken?
https://www.eclipse.org/forums/index.php/mv/msg/166758/528678/#msg_528678
link here? This happens only when a target is specified in the
epsilon.egl task so as a workaround you could remove the target and use
another template to call your (now) main one and store its result from
there.
Cheers,
Dimitris
Steffen Zschaler wrote:
> Hi Louis, Dimitrios,
>
> I'm probably doing something really stupid, but I have a problem using
> EGL from an ANT workflow. I have the following task invocation:
>
> <epsilon.egl src="templates/BlockFactory.egl"
> target="${dir}/tetris/BlockFactory.java">
> <model ref="tetris" as="Tetris" />
> </epsilon.egl>
>
> But instead of simply loading the template and generating to the
> specified file, I get the following exception:
>
> java.lang.ClassCastException: java.lang.String cannot be cast to
> org.eclipse.epsilon.egl.EglFileGeneratingTemplate
> at
> org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
> at
> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
>
> at
> org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> ...
>
> Now, I know that the whole template and target handling of EglTask has
> recently been overhauled quite a bit, so I just wonder whether this
> might simply be a regression somewhere? Or is there something I'm missing?
>
> Cheers,
>
> Steffen
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews]]>Dimitrios Kolovos2010-04-21T13:02:08-00:00Re: EglTask broken?
https://www.eclipse.org/forums/index.php/mv/msg/166758/588500/#msg_588500
link here? This happens only when a target is specified in the
epsilon.egl task so as a workaround you could remove the target and use
another template to call your (now) main one and store its result from
there.
Cheers,
Dimitris
Steffen Zschaler wrote:
> Hi Louis, Dimitrios,
>
> I'm probably doing something really stupid, but I have a problem using
> EGL from an ANT workflow. I have the following task invocation:
>
> <epsilon.egl src="templates/BlockFactory.egl"
> target="${dir}/tetris/BlockFactory.java">
> <model ref="tetris" as="Tetris" />
> </epsilon.egl>
>
> But instead of simply loading the template and generating to the
> specified file, I get the following exception:
>
> java.lang.ClassCastException: java.lang.String cannot be cast to
> org.eclipse.epsilon.egl.EglFileGeneratingTemplate
> at
> org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
> at
> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
>
> at
> org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> ...
>
> Now, I know that the whole template and target handling of EglTask has
> recently been overhauled quite a bit, so I just wonder whether this
> might simply be a regression somewhere? Or is there something I'm missing?
>
> Cheers,
>
> Steffen
>
On 21/04/2010 14:02, Dimitris Kolovos wrote:
> That's a regression indeed. Could you please file a bug and post the
> link here? This happens only when a target is specified in the
> epsilon.egl task so as a workaround you could remove the target and
> use another template to call your (now) main one and store its result
> from there.
>
> Cheers,
> Dimitris
>
> Steffen Zschaler wrote:
>> Hi Louis, Dimitrios,
>>
>> I'm probably doing something really stupid, but I have a problem
>> using EGL from an ANT workflow. I have the following task invocation:
>>
>> <epsilon.egl src="templates/BlockFactory.egl"
>> target="${dir}/tetris/BlockFactory.java">
>> <model ref="tetris" as="Tetris" />
>> </epsilon.egl>
>> But instead of simply loading the template and generating to the
>> specified file, I get the following exception:
>>
>> java.lang.ClassCastException: java.lang.String cannot be cast to
>> org.eclipse.epsilon.egl.EglFileGeneratingTemplate
>> at
>> org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
>> at
>> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
>>
>> at
>> org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
>>
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
>> ...
>> Now, I know that the whole template and target handling of
>> EglTask has recently been overhauled quite a bit, so I just wonder
>> whether this might simply be a regression somewhere? Or is there
>> something I'm missing?
>>
>> Cheers,
>>
>> Steffen
>>
>
>]]>Steffen Zschaler2010-04-21T13:14:50-00:00Re: EglTask broken?
https://www.eclipse.org/forums/index.php/mv/msg/166758/588518/#msg_588518
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309948
Cheers,
Steffen
On 21/04/2010 14:02, Dimitris Kolovos wrote:
> That's a regression indeed. Could you please file a bug and post the
> link here? This happens only when a target is specified in the
> epsilon.egl task so as a workaround you could remove the target and
> use another template to call your (now) main one and store its result
> from there.
>
> Cheers,
> Dimitris
>
> Steffen Zschaler wrote:
>> Hi Louis, Dimitrios,
>>
>> I'm probably doing something really stupid, but I have a problem
>> using EGL from an ANT workflow. I have the following task invocation:
>>
>> <epsilon.egl src="templates/BlockFactory.egl"
>> target="${dir}/tetris/BlockFactory.java">
>> <model ref="tetris" as="Tetris" />
>> </epsilon.egl>
>> But instead of simply loading the template and generating to the
>> specified file, I get the following exception:
>>
>> java.lang.ClassCastException: java.lang.String cannot be cast to
>> org.eclipse.epsilon.egl.EglFileGeneratingTemplate
>> at
>> org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
>> at
>> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
>>
>> at
>> org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
>>
>> at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
>> ...
>> Now, I know that the whole template and target handling of
>> EglTask has recently been overhauled quite a bit, so I just wonder
>> whether this might simply be a regression somewhere? Or is there
>> something I'm missing?
>>
>> Cheers,
>>
>> Steffen
>>
>
>]]>Steffen Zschaler2010-04-21T13:14:50-00:00Re: EglTask broken?
https://www.eclipse.org/forums/index.php/mv/msg/166758/528701/#msg_528701
I've fixed this in the SVN and rolled out a new interim version
(v0.8.9.201004211415).
Cheers,
Dimitris
Steffen Zschaler wrote:
> Thanks for the quick reply. Here is the bug report:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=309948
>
> Cheers,
>
> Steffen
>
> On 21/04/2010 14:02, Dimitris Kolovos wrote:
>> That's a regression indeed. Could you please file a bug and post the
>> link here? This happens only when a target is specified in the
>> epsilon.egl task so as a workaround you could remove the target and
>> use another template to call your (now) main one and store its result
>> from there.
>>
>> Cheers,
>> Dimitris
>>
>> Steffen Zschaler wrote:
>>> Hi Louis, Dimitrios,
>>>
>>> I'm probably doing something really stupid, but I have a problem
>>> using EGL from an ANT workflow. I have the following task invocation:
>>>
>>> <epsilon.egl src="templates/BlockFactory.egl"
>>> target="${dir}/tetris/BlockFactory.java">
>>> <model ref="tetris" as="Tetris" />
>>> </epsilon.egl>
>>> But instead of simply loading the template and generating to the
>>> specified file, I get the following exception:
>>>
>>> java.lang.ClassCastException: java.lang.String cannot be cast to
>>> org.eclipse.epsilon.egl.EglFileGeneratingTemplate
>>> at
>>> org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
>>> at
>>> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
>>>
>>> at
>>> org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
>>>
>>> at
>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
>>> ...
>>> Now, I know that the whole template and target handling of
>>> EglTask has recently been overhauled quite a bit, so I just wonder
>>> whether this might simply be a regression somewhere? Or is there
>>> something I'm missing?
>>>
>>> Cheers,
>>>
>>> Steffen
>>>
>>
>>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews]]>Dimitrios Kolovos2010-04-21T14:09:29-00:00Re: EglTask broken?
https://www.eclipse.org/forums/index.php/mv/msg/166758/588528/#msg_588528
I've fixed this in the SVN and rolled out a new interim version
(v0.8.9.201004211415).
Cheers,
Dimitris
Steffen Zschaler wrote:
> Thanks for the quick reply. Here is the bug report:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=309948
>
> Cheers,
>
> Steffen
>
> On 21/04/2010 14:02, Dimitris Kolovos wrote:
>> That's a regression indeed. Could you please file a bug and post the
>> link here? This happens only when a target is specified in the
>> epsilon.egl task so as a workaround you could remove the target and
>> use another template to call your (now) main one and store its result
>> from there.
>>
>> Cheers,
>> Dimitris
>>
>> Steffen Zschaler wrote:
>>> Hi Louis, Dimitrios,
>>>
>>> I'm probably doing something really stupid, but I have a problem
>>> using EGL from an ANT workflow. I have the following task invocation:
>>>
>>> <epsilon.egl src="templates/BlockFactory.egl"
>>> target="${dir}/tetris/BlockFactory.java">
>>> <model ref="tetris" as="Tetris" />
>>> </epsilon.egl>
>>> But instead of simply loading the template and generating to the
>>> specified file, I get the following exception:
>>>
>>> java.lang.ClassCastException: java.lang.String cannot be cast to
>>> org.eclipse.epsilon.egl.EglFileGeneratingTemplate
>>> at
>>> org.eclipse.epsilon.workflow.tasks.EglTask.examine(EglTask.j ava:32)
>>> at
>>> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:118)
>>>
>>> at
>>> org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(Epsil onTask.java:41)
>>>
>>> at
>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
>>> ...
>>> Now, I know that the whole template and target handling of
>>> EglTask has recently been overhauled quite a bit, so I just wonder
>>> whether this might simply be a regression somewhere? Or is there
>>> something I'm missing?
>>>
>>> Cheers,
>>>
>>> Steffen
>>>
>>
>>