Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Executing ANT workflow with Epsilon tasks included: Tasks not found?
Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #21025] Wed, 24 June 2009 13:42 Go to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
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--
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #21039 is a reply to message #21025] Wed, 24 June 2009 13:53 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
As additional information: Checking the global Ant preferences and, in
particular, the 'Runtime' category, I find that workflow.jar is there
alright and all the Epsilon tasks are listed as well. I'm sure I'm doing
something wrong somewhere, but I have no idea where...

Any hints are appreciated!

Thanks,

Steffen

Steffen Zschaler wrote:
> 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/

--
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/
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #21053 is a reply to message #21039] Wed, 24 June 2009 14:03 Go to previous messageGo to next message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
Mmh. It seems that this works OK when I tell it to run ANT in the same
VM as the IDE (which unfortunately is not the default). But why does it
not work when running in a separate VM?

Steffen

Steffen Zschaler wrote:
> As additional information: Checking the global Ant preferences and, in
> particular, the 'Runtime' category, I find that workflow.jar is there
> alright and all the Epsilon tasks are listed as well. I'm sure I'm
> doing something wrong somewhere, but I have no idea where...
>
> Any hints are appreciated!
>
> Thanks,
>
> Steffen
>
> Steffen Zschaler wrote:
>> 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/
>

--
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/
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #21083 is a reply to message #21053] Wed, 24 June 2009 14:45 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

I have to admit I'm not quite sure either. I suspect it has something to
do with the (non) visibility of org.eclipse.epsilon.workflow.jar to the
new VM. Could you please open a bug so that we can track any further
investigation on this?

Cheers,
Dimitris

Steffen Zschaler wrote:
> Mmh. It seems that this works OK when I tell it to run ANT in the same
> VM as the IDE (which unfortunately is not the default). But why does it
> not work when running in a separate VM?
>
> Steffen
>
> Steffen Zschaler wrote:
>> As additional information: Checking the global Ant preferences and, in
>> particular, the 'Runtime' category, I find that workflow.jar is there
>> alright and all the Epsilon tasks are listed as well. I'm sure I'm
>> doing something wrong somewhere, but I have no idea where...
>>
>> Any hints are appreciated!
>>
>> Thanks,
>>
>> Steffen
>>
>> Steffen Zschaler wrote:
>>> 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/
>>
>
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #21099 is a reply to message #21083] Wed, 24 June 2009 14:52 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
Sure: https://bugs.eclipse.org/bugs/show_bug.cgi?id=281354

Steffen

Dimitris Kolovos wrote:
> Hi Steffen,
>
> I have to admit I'm not quite sure either. I suspect it has something
> to do with the (non) visibility of org.eclipse.epsilon.workflow.jar to
> the new VM. Could you please open a bug so that we can track any
> further investigation on this?
>
> Cheers,
> Dimitris
>
> Steffen Zschaler wrote:
>> Mmh. It seems that this works OK when I tell it to run ANT in the
>> same VM as the IDE (which unfortunately is not the default). But why
>> does it not work when running in a separate VM?
>>
>> Steffen
>>
>> Steffen Zschaler wrote:
>>> As additional information: Checking the global Ant preferences and,
>>> in particular, the 'Runtime' category, I find that workflow.jar is
>>> there alright and all the Epsilon tasks are listed as well. I'm sure
>>> I'm doing something wrong somewhere, but I have no idea where...
>>>
>>> Any hints are appreciated!
>>>
>>> Thanks,
>>>
>>> Steffen
>>>
>>> Steffen Zschaler wrote:
>>>> 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/
>>>
>>

--
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/
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #569687 is a reply to message #21025] Wed, 24 June 2009 13:53 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
As additional information: Checking the global Ant preferences and, in
particular, the 'Runtime' category, I find that workflow.jar is there
alright and all the Epsilon tasks are listed as well. I'm sure I'm doing
something wrong somewhere, but I have no idea where...

Any hints are appreciated!

Thanks,

Steffen

Steffen Zschaler wrote:
> 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/

--
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/
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #569718 is a reply to message #21039] Wed, 24 June 2009 14:03 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
Mmh. It seems that this works OK when I tell it to run ANT in the same
VM as the IDE (which unfortunately is not the default). But why does it
not work when running in a separate VM?

Steffen

Steffen Zschaler wrote:
> As additional information: Checking the global Ant preferences and, in
> particular, the 'Runtime' category, I find that workflow.jar is there
> alright and all the Epsilon tasks are listed as well. I'm sure I'm
> doing something wrong somewhere, but I have no idea where...
>
> Any hints are appreciated!
>
> Thanks,
>
> Steffen
>
> Steffen Zschaler wrote:
>> 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/
>

--
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/
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #569763 is a reply to message #21053] Wed, 24 June 2009 14:45 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Steffen,

I have to admit I'm not quite sure either. I suspect it has something to
do with the (non) visibility of org.eclipse.epsilon.workflow.jar to the
new VM. Could you please open a bug so that we can track any further
investigation on this?

Cheers,
Dimitris

Steffen Zschaler wrote:
> Mmh. It seems that this works OK when I tell it to run ANT in the same
> VM as the IDE (which unfortunately is not the default). But why does it
> not work when running in a separate VM?
>
> Steffen
>
> Steffen Zschaler wrote:
>> As additional information: Checking the global Ant preferences and, in
>> particular, the 'Runtime' category, I find that workflow.jar is there
>> alright and all the Epsilon tasks are listed as well. I'm sure I'm
>> doing something wrong somewhere, but I have no idea where...
>>
>> Any hints are appreciated!
>>
>> Thanks,
>>
>> Steffen
>>
>> Steffen Zschaler wrote:
>>> 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/
>>
>
Re: Executing ANT workflow with Epsilon tasks included: Tasks not found? [message #569781 is a reply to message #21083] Wed, 24 June 2009 14:52 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 266
Registered: July 2009
Senior Member
Sure: https://bugs.eclipse.org/bugs/show_bug.cgi?id=281354

Steffen

Dimitris Kolovos wrote:
> Hi Steffen,
>
> I have to admit I'm not quite sure either. I suspect it has something
> to do with the (non) visibility of org.eclipse.epsilon.workflow.jar to
> the new VM. Could you please open a bug so that we can track any
> further investigation on this?
>
> Cheers,
> Dimitris
>
> Steffen Zschaler wrote:
>> Mmh. It seems that this works OK when I tell it to run ANT in the
>> same VM as the IDE (which unfortunately is not the default). But why
>> does it not work when running in a separate VM?
>>
>> Steffen
>>
>> Steffen Zschaler wrote:
>>> As additional information: Checking the global Ant preferences and,
>>> in particular, the 'Runtime' category, I find that workflow.jar is
>>> there alright and all the Epsilon tasks are listed as well. I'm sure
>>> I'm doing something wrong somewhere, but I have no idea where...
>>>
>>> Any hints are appreciated!
>>>
>>> Thanks,
>>>
>>> Steffen
>>>
>>> Steffen Zschaler wrote:
>>>> 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/
>>>
>>

--
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/
Previous Topic:Missing build.xml in org.eclipse.epsilon.workflow?
Next Topic:Trouble accessing java objects
Goto Forum:
  


Current Time: Thu Apr 25 00:42:06 GMT 2024

Powered by FUDForum. Page generated in 0.03635 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top