Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » (Beginner) Ant/Epsilon: Exception with EGL
(Beginner) Ant/Epsilon: Exception with EGL [message #4431] Fri, 21 November 2008 11:40 Go to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Hi,

Further to my last post, which concerned running ETL via ANT, I have
another quick question when using EGL.

I have a simple .launch file that successfully triggers EGL and generates
some output. However, when I try to replicate the task using ANT, I get an
exception. The ANT contains the following:

...
<target name="main">
<epsilon.egl src="PrintExample.egl">
<model ref="APreviouslyLoadedModel"/>
</epsilon.egl>
</target>
...

And the exception I get is:
[simple.egl] EXCEPTION: java.lang.NoClassDefFoundError:
org/eclipse/epsilon/egl/EglModuleImpl
[simple.egl] at
org.eclipse.epsilon.workflow.tasks.EglTask.createModule(EglT ask.java:25)
[simple.egl] at
org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:75)
...

I'm probably making another basic error, but I couldn't find the source of
the problem elsewhere, so thought I'd try here again.

Best,

Edd
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #4572 is a reply to message #4431] Fri, 21 November 2008 12:01 Go to previous messageGo to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Edd,

Edd wrote:
> Hi,
>
> Further to my last post, which concerned running ETL via ANT, I have
> another quick question when using EGL.
>
> I have a simple .launch file that successfully triggers EGL and
> generates some output. However, when I try to replicate the task using
> ANT, I get an exception. The ANT contains the following:
>
> ..
> <target name="main">
> <epsilon.egl src="PrintExample.egl">
> <model ref="APreviouslyLoadedModel"/>
> </epsilon.egl> </target>
> ..

Your Ant script looks fine.

>
> And the exception I get is:
> [simple.egl] EXCEPTION: java.lang.NoClassDefFoundError:
> org/eclipse/epsilon/egl/EglModuleImpl
> [simple.egl] at
> org.eclipse.epsilon.workflow.tasks.EglTask.createModule(EglT ask.java:25)
> [simple.egl] at
> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:75)
>
> ..
>

It looks like the Ant runtime can't locate the EGL plugin.

Are you running the Ant script from the same workspace that you used to
successfully execute the EGL transformation using the development tools?

Could you export a copy of your project and post it here for us to explore?

Cheers,
Louis.
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #4642 is a reply to message #4572] Fri, 21 November 2008 12:11 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Edd,

Looking at the stack trace it seems that it can't find the class
EglModuleImpl (which hasn't been around for a while). May I ask how you
have installed Epsilon (update site, plugins or via SVN)?.

Cheers,
Dimitrios

Louis Rose wrote:
> Hi Edd,
>
> Edd wrote:
>> Hi,
>>
>> Further to my last post, which concerned running ETL via ANT, I have
>> another quick question when using EGL.
>>
>> I have a simple .launch file that successfully triggers EGL and
>> generates some output. However, when I try to replicate the task using
>> ANT, I get an exception. The ANT contains the following:
>>
>> ..
>> <target name="main">
>> <epsilon.egl src="PrintExample.egl">
>> <model ref="APreviouslyLoadedModel"/>
>> </epsilon.egl> </target>
>> ..
>
> Your Ant script looks fine.
>
>>
>> And the exception I get is:
>> [simple.egl] EXCEPTION: java.lang.NoClassDefFoundError:
>> org/eclipse/epsilon/egl/EglModuleImpl
>> [simple.egl] at
>> org.eclipse.epsilon.workflow.tasks.EglTask.createModule(EglT ask.java:25)
>> [simple.egl] at
>> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:75)
>>
>> ..
>>
>
> It looks like the Ant runtime can't locate the EGL plugin.
>
> Are you running the Ant script from the same workspace that you used to
> successfully execute the EGL transformation using the development tools?
>
> Could you export a copy of your project and post it here for us to explore?
>
> Cheers,
> Louis.
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #4711 is a reply to message #4642] Fri, 21 November 2008 12:55 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Hi Dimitrios,

Yes, I noticed that I couldn't find EglModuleImpl in the Epsilon jars...

I installed it at the MODELS conference, end of September / beginning of
October, this year. The version that I have is 0.8.1.1, and it was
installed via the update site as described in the installation
instructions.

Ta,

Edd


Dimitrios Kolovos wrote:
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #4780 is a reply to message #4711] Fri, 21 November 2008 13:08 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Edd,

Could you please update to the latest 0.8.2.1? This should fix this problem.

Cheers,
Dimitrios

Edd wrote:
> Hi Dimitrios,
>
> Yes, I noticed that I couldn't find EglModuleImpl in the Epsilon jars...
> I installed it at the MODELS conference, end of September / beginning of
> October, this year. The version that I have is 0.8.1.1, and it was
> installed via the update site as described in the installation
> instructions.
>
> Ta,
>
> Edd
>
>
> Dimitrios Kolovos wrote:
>
>
>
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #4847 is a reply to message #4780] Fri, 21 November 2008 13:14 Go to previous message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Yes, have done, and yes it did resolve the problem... Many thanks!
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #562183 is a reply to message #4431] Fri, 21 November 2008 12:01 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Edd,

Edd wrote:
> Hi,
>
> Further to my last post, which concerned running ETL via ANT, I have
> another quick question when using EGL.
>
> I have a simple .launch file that successfully triggers EGL and
> generates some output. However, when I try to replicate the task using
> ANT, I get an exception. The ANT contains the following:
>
> ..
> <target name="main">
> <epsilon.egl src="PrintExample.egl">
> <model ref="APreviouslyLoadedModel"/>
> </epsilon.egl> </target>
> ..

Your Ant script looks fine.

>
> And the exception I get is:
> [simple.egl] EXCEPTION: java.lang.NoClassDefFoundError:
> org/eclipse/epsilon/egl/EglModuleImpl
> [simple.egl] at
> org.eclipse.epsilon.workflow.tasks.EglTask.createModule(EglT ask.java:25)
> [simple.egl] at
> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:75)
>
> ..
>

It looks like the Ant runtime can't locate the EGL plugin.

Are you running the Ant script from the same workspace that you used to
successfully execute the EGL transformation using the development tools?

Could you export a copy of your project and post it here for us to explore?

Cheers,
Louis.
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #562208 is a reply to message #4572] Fri, 21 November 2008 12:11 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Edd,

Looking at the stack trace it seems that it can't find the class
EglModuleImpl (which hasn't been around for a while). May I ask how you
have installed Epsilon (update site, plugins or via SVN)?.

Cheers,
Dimitrios

Louis Rose wrote:
> Hi Edd,
>
> Edd wrote:
>> Hi,
>>
>> Further to my last post, which concerned running ETL via ANT, I have
>> another quick question when using EGL.
>>
>> I have a simple .launch file that successfully triggers EGL and
>> generates some output. However, when I try to replicate the task using
>> ANT, I get an exception. The ANT contains the following:
>>
>> ..
>> <target name="main">
>> <epsilon.egl src="PrintExample.egl">
>> <model ref="APreviouslyLoadedModel"/>
>> </epsilon.egl> </target>
>> ..
>
> Your Ant script looks fine.
>
>>
>> And the exception I get is:
>> [simple.egl] EXCEPTION: java.lang.NoClassDefFoundError:
>> org/eclipse/epsilon/egl/EglModuleImpl
>> [simple.egl] at
>> org.eclipse.epsilon.workflow.tasks.EglTask.createModule(EglT ask.java:25)
>> [simple.egl] at
>> org.eclipse.epsilon.workflow.tasks.ExecutableModuleTask.exec uteImpl(ExecutableModuleTask.java:75)
>>
>> ..
>>
>
> It looks like the Ant runtime can't locate the EGL plugin.
>
> Are you running the Ant script from the same workspace that you used to
> successfully execute the EGL transformation using the development tools?
>
> Could you export a copy of your project and post it here for us to explore?
>
> Cheers,
> Louis.
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #562230 is a reply to message #4642] Fri, 21 November 2008 12:55 Go to previous message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Hi Dimitrios,

Yes, I noticed that I couldn't find EglModuleImpl in the Epsilon jars...

I installed it at the MODELS conference, end of September / beginning of
October, this year. The version that I have is 0.8.1.1, and it was
installed via the update site as described in the installation
instructions.

Ta,

Edd


Dimitrios Kolovos wrote:
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #562252 is a reply to message #4711] Fri, 21 November 2008 13:08 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Edd,

Could you please update to the latest 0.8.2.1? This should fix this problem.

Cheers,
Dimitrios

Edd wrote:
> Hi Dimitrios,
>
> Yes, I noticed that I couldn't find EglModuleImpl in the Epsilon jars...
> I installed it at the MODELS conference, end of September / beginning of
> October, this year. The version that I have is 0.8.1.1, and it was
> installed via the update site as described in the installation
> instructions.
>
> Ta,
>
> Edd
>
>
> Dimitrios Kolovos wrote:
>
>
>
Re: (Beginner) Ant/Epsilon: Exception with EGL [message #562278 is a reply to message #4780] Fri, 21 November 2008 13:14 Go to previous message
No real name is currently offline No real nameFriend
Messages: 92
Registered: July 2009
Member
Yes, have done, and yes it did resolve the problem... Many thanks!
Previous Topic:(Beginner) Ant/Epsilon: "failed to create task or type epsilon.loadModel"
Next Topic:org.eclipse.epsilon.ewl.emf.WizardsExtensionPreferenceDialog
Goto Forum:
  


Current Time: Sat Jul 27 16:34:38 GMT 2024

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

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

Back to the top