Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Markers and JET Trenasformation
Markers and JET Trenasformation [message #52882] Tue, 26 September 2006 06:48 Go to next message
Kamesh Sampath is currently offline Kamesh SampathFriend
Messages: 191
Registered: July 2009
Senior Member
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 12:11 Go to previous message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
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 12:11 Go to previous message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
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: Thu Jul 18 17:38:35 GMT 2024

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

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

Back to the top