Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #569646] |
Wed, 24 June 2009 13:42 |
Steffen Zschaler Messages: 266 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------070300080409050002080606
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi all,
This may be a very stupid question, but I seem to be missing something
here: I've written a simple ANT workflow that uses some of the Epsilon
tasks. The ANT editor in Eclipse finds the tasks and happily offers them
and their parameters to me as part of its autocompletion. So, somehow,
they seem to be registered correctly. However, once I trigger the build
script using Run As/Ant Build, the build fails and ANT complains about
not finding the task definitions. Here's what it says:
...\build.xml:12: Problem: failed to create task or type
epsilon.emf.loadModel
Cause: The name is undefined.
I am using Epsilon from SVN, that is, I have one Eclipse instance in
which I have some of the Epsilon projects open (...workflow among them)
and from this start a second Eclipse instance which contains my actual
workflow. If I look at the launch configuration for my ANT script, it
actually doesn't refer to the workflow.jar file created as part of the
workflow project. I might be able to add this manually, but I assumed
this should happen automatically?
Cheers,
Steffen
--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate
Lancaster University
Lancaster, United Kingdom
Email szschaler@acm.org
Phone +44 (01524) 510354
WWW http://www.steffen-zschaler.de/
--------------070300080409050002080606
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
This may be a very stupid question, but I seem to be missing something
here: I've written a simple ANT workflow that uses some of the Epsilon
tasks. The ANT editor in Eclipse finds the tasks and happily offers
them and their parameters to me as part of its autocompletion. So,
somehow, they seem to be registered correctly. However, once I trigger
the build script using Run As/Ant Build, the build fails and ANT
complains about not finding the task definitions. Here's what it says:<br>
<blockquote><tt>...\build.xml:12: Problem: failed to create task or
type epsilon.emf.loadModel<br>
Cause: The name is undefined.</tt><br>
</blockquote>
I am using Epsilon from SVN, that is, I have one Eclipse instance in
which I have some of the Epsilon projects open (...workflow among them)
and from this start a second Eclipse instance which contains my actual
workflow. If I look at the launch configuration for my ANT script, it
actually doesn't refer to the workflow.jar file created as part of the
workflow project. I might be able to add this manually, but I assumed
this should happen automatically?<br>
<br>
Cheers,<br>
<br>
Steffen<br>
<pre class="moz-signature" cols="72">--
Dr. rer. nat. Steffen Zschaler
Senior Research Associate
Lancaster University
Lancaster, United Kingdom
Email <a class="moz-txt-link-abbreviated" href="mailto:szschaler@acm.org">szschaler@acm.org</a>
Phone +44 (01524) 510354
WWW <a class="moz-txt-link-freetext" href="http://www.steffen-zschaler.de/">http://www.steffen-zschaler.de/</a></pre>
</body>
</html>
--------------070300080409050002080606--
|
|
|
Powered by
FUDForum. Page generated in 0.10689 seconds