Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Markers and JET Trenasformation
Markers and JET Trenasformation [message #52882] Tue, 26 September 2006 02:48 Go to next message
Eclipse UserFriend
I am trying to show the errors/informations generated out of the JET
Transformation from my Editor using the IMarker facility.

The issue is that am not getting the exact error message that i need to
display to the user

e.g

When i run a Java Transformation from an Non-Java project ( no source
folder), the information I got from the IStatus just displays "Error in
Execution", but i need to know why it failed ?

this i can see when i run the transformation via the JET Transformation
tool which prints the output on the console

Any round abouts to do this ?

Kamesh
Re: Markers and JET Trenasformation [message #52990 is a reply to message #52882] Tue, 26 September 2006 08:11 Go to previous message
Eclipse UserFriend
Kamesh:

The resulted IStatus is a MultiStatus object. Specific errors which occurred
can be accessed via IStatus.getChildren()

Paul

"Kamesh Sampath" <kamesh_sampath@msn.com> wrote in message
news:e4b71a0db229db13233024a934bff3a3$1@www.eclipse.org...
>
> I am trying to show the errors/informations generated out of the JET
> Transformation from my Editor using the IMarker facility.
>
> The issue is that am not getting the exact error message that i need to
> display to the user
>
> e.g
>
> When i run a Java Transformation from an Non-Java project ( no source
> folder), the information I got from the IStatus just displays "Error in
> Execution", but i need to know why it failed ?
> this i can see when i run the transformation via the JET Transformation
> tool which prints the output on the console
>
> Any round abouts to do this ?
>
> Kamesh
>
Re: Markers and JET Trenasformation [message #592079 is a reply to message #52882] Tue, 26 September 2006 08:11 Go to previous message
Eclipse UserFriend
Kamesh:

The resulted IStatus is a MultiStatus object. Specific errors which occurred
can be accessed via IStatus.getChildren()

Paul

"Kamesh Sampath" <kamesh_sampath@msn.com> wrote in message
news:e4b71a0db229db13233024a934bff3a3$1@www.eclipse.org...
>
> I am trying to show the errors/informations generated out of the JET
> Transformation from my Editor using the IMarker facility.
>
> The issue is that am not getting the exact error message that i need to
> display to the user
>
> e.g
>
> When i run a Java Transformation from an Non-Java project ( no source
> folder), the information I got from the IStatus just displays "Error in
> Execution", but i need to know why it failed ?
> this i can see when i run the transformation via the JET Transformation
> tool which prints the output on the console
>
> Any round abouts to do this ?
>
> Kamesh
>
Previous Topic:URI of HibernateResource leads to errors in XMLResource
Next Topic:Merging Transformations in JET2
Goto Forum:
  


Current Time: Fri May 02 22:35:23 EDT 2025

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

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

Back to the top