[Solved] Xtext 2.2.1 project build stucks at "Validate resources" [message #890025] |
Wed, 20 June 2012 16:04 |
|
Hello,
I have a hugh Xtext 2.2.1 project and the build process repeatly stucks at "Validate resources". The process bar for "Build Project" just stays the same for hours.
Can somebody give me a hint whats going wrong here?
BTW: The project has a language definition with about 150 gramar items. The code generator consists of about 40 Xtend2 classes (~650 kB of Xtend2 code).
Regards,
Jonatan
[Updated on: Fri, 22 June 2012 16:08] Report message to a moderator
|
|
|
|
|
Re: Xtext 2.2.1 project build stucks at "Validate resources" [message #890387 is a reply to message #890300] |
Fri, 22 June 2012 07:46 |
|
Hello Jan,
I do not really know what Eclipse is doing in the background while the project is building. I guess it is during building Xtend to Java code. Compiling and executing the resulting java code (our generator) is no problem.
Our Xtend code makes heavy use of closures, and I guess most time with type inference. I will try to remove the type inference.
I have tried heap sizes between 512m and 4096m. I guess more heap space helps a little bit, but not significantly.
Thx,
Jonatan
|
|
|
|
|
Re: Xtext 2.2.1 project build stucks at "Validate resources" [message #892775 is a reply to message #891521] |
Fri, 29 June 2012 14:56 |
|
Addition: The build also stucks at validate resources, when the generated xtext model classes are missing.
We do not commit the src-gen folder to the repository. Thus having a clean workspace, all those generated java classes are missing. Try to run the mwe2 workflow in order to let xtext generate these will trigger a workspace build. This ends up in the same problem.
The workaround here is just disable the Xtext project builder. Run the mwe2 workflow. Reenable the Xtext project builder afterwards.
Have you solved this issues with Juno?
Regards,
Jonatan
|
|
|
|
Re: Xtext 2.2.1 project build stucks at "Validate resources" [message #892951 is a reply to message #892775] |
Mon, 02 July 2012 06:59 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Ooops, really? Could you file a bug for this?
Am 29.06.12 16:57, schrieb Jonatan Antoni:
> Addition: The build also stucks at validate resources, when the
> generated xtext model classes are missing.
>
> We do not commit the src-gen folder to the repository. Thus having a
> clean workspace, all those generated java classes are missing. Try to
> run the mwe2 workflow in order to let xtext generate these will trigger
> a workspace build. This ends up in the same problem.
>
> The workaround here is just disable the Xtext project builder. Run the
> mwe2 workflow. Reenable the Xtext project builder afterwards.
>
> Have you solved this issues with Juno?
>
> Regards,
> Jonatan
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.04674 seconds