Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Workflow problem on Windows after upgrade to M5(class not found)
icon4.gif  Workflow problem on Windows after upgrade to M5 [message #512895] Mon, 08 February 2010 10:17 Go to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
Hi,

After upgrading from M4 to M5 my workflow does not work anymore because it does not find my custom beautifier anymore.

[ERROR]: Class not found: 'classes.Beautifier'(Element: bean beautifier class='classes.Beautifier' in ...


Same workflow still runs fine on Linux.

Was there anything change for the resource / file / path handling?

br,
Marco
Re: Workflow problem on Windows after upgrade to M5 [message #512968 is a reply to message #512895] Mon, 08 February 2010 13:14 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
I'm not aware of such changes.
Do you really have a class 'classes.Beautifier' on your classpath?

Sven

Marco schrieb:
> Hi,
>
> After upgrading from M4 to M5 my workflow does not work anymore because
> it does not find my custom beautifier anymore.
>
>
> [ERROR]: Class not found: 'classes.Beautifier'(Element: bean beautifier
> class='classes.Beautifier' in ...
>
>
> Same workflow still runs fine on Linux.
>
> Was there anything change for the resource / file / path handling?
>
> br,
> Marco


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: Workflow problem on Windows after upgrade to M5 [message #512969 is a reply to message #512968] Mon, 08 February 2010 13:23 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
Yes. Project/Properties/Java Build Path:
/src (include all, exclude none)
/src-gen
classes is below src

The same project and workflow work fine on Linux.

The same workflow worked fine on Windows with M4.

But now none of the classes in src/classes work anymore.
java.lang.NoClassDefFoundError: classes/Tester


br

[Updated on: Mon, 08 February 2010 13:32]

Report message to a moderator

Re: Workflow problem on Windows after upgrade to M5 [message #512979 is a reply to message #512969] Mon, 08 February 2010 13:52 Go to previous messageGo to next message
Marco  is currently offline Marco Friend
Messages: 216
Registered: August 2009
Senior Member
Hi,

Found the problem.

It was simply that the project was not built due to a broken file link in the src-gen folder.

br
m
Re: Workflow problem on Windows after upgrade to M5 [message #513283 is a reply to message #512969] Tue, 09 February 2010 16:11 Go to previous messageGo to next message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Could you please provide a small example and attach it to a new bugzilla?

Thanks,
Sven

Marco schrieb:
> Yes.
>
> All other classes in that source folder work fine.
>
> The same project and workflow work fine on Linux.
>
> The same workflow worked fine on Windows with M4.
>
> br
> m


--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Re: Workflow problem on Windows after upgrade to M5 [message #513289 is a reply to message #512979] Tue, 09 February 2010 16:14 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Marco schrieb:
> Hi,
>
> Found the problem.
>
> It was simply that the project was not built due to a broken file link
> in the src-gen folder.
>
> br
> m

Ah, ok. Didn't see this post early, since it was shown in a different
thread.

Sven

--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
Previous Topic:[Xpand] Where to find OAW examples?
Next Topic:[Xpand] unresolved proxy referincing a model with "platform:/plugin/..." schema
Goto Forum:
  


Current Time: Sat Apr 20 01:04:54 GMT 2024

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

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

Back to the top