Skip to main content



      Home
Home » Modeling » Epsilon » (Beginner) Ant/Epsilon: Exception with EGL
(Beginner) Ant/Epsilon: Exception with EGL [message #4431] Fri, 21 November 2008 06:40 Go to next message
Eclipse UserFriend
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 07:01 Go to previous messageGo to next message
Eclipse UserFriend
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 07:11 Go to previous messageGo to next message
Eclipse UserFriend
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 07:55 Go to previous messageGo to next message
Eclipse UserFriend
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 08:08 Go to previous messageGo to next message
Eclipse UserFriend
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 08:14 Go to previous message
Eclipse UserFriend
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 07:01 Go to previous message
Eclipse UserFriend
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 07:11 Go to previous message
Eclipse UserFriend
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 07:55 Go to previous message
Eclipse UserFriend
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 08:08 Go to previous message
Eclipse UserFriend
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 08:14 Go to previous message
Eclipse UserFriend
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: Thu May 08 17:00:35 EDT 2025

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

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

Back to the top