Skip to main content



      Home
Home » Modeling » TMF (Xtext) » javadoc Problem with code compiled by Xtend 2.5.1
javadoc Problem with code compiled by Xtend 2.5.1 [message #1240337] Thu, 06 February 2014 03:54 Go to next message
Eclipse UserFriend
Hi all,

after having updated Xtext and Xtend from 2.5.0 to 2.5.1 some Jenkins builds fail because javadoc thinks the generated Java code was illegal.

[ant] Javadoc started
[ant] /var/lib/jenkins/.../xtend-gen/.../CollectionUtils.java:27: illegal start of expression
[ant]       _xblockexpression = (IterableExtensions.<Object>filter(unfiltered, new Function1<Object,Boolean>() {
[ant]                                               ^
[ant] /var/lib/jenkins/.../xtend-gen/.../ControllerExtensions.java:217: illegal start of expression
[ant]       _xblockexpression = (Iterables.<Controller>concat(_filter, _filter_1));
[ant]                                      ^
[ant] /var/lib/jenkins/.../xtend-gen/.../ModelJoinExtensions.java:689: illegal start of expression
[ant]       _xblockexpression = (IterableExtensions.<OneToManyRelationship>findFirst(_filter, _function));
[ant]                                               ^
[ant] /var/lib/jenkins/.../xtend-gen/.../ModelJoinExtensions.java:727: illegal start of expression
[ant]       _xblockexpression = (IterableExtensions.<DerivedField>findFirst(_filter, _function));
[ant]                                               ^


Interestingly the build itself works without problems.
Is this a javadoc bug then? Has anybody seen something like this?

I tried to increase the Java source level in the javadoc ant task (changed source="1.6" to source="1.7"), but this did not change anything.

Thanks in advance,

Axel

[Updated on: Thu, 06 February 2014 03:55] by Moderator

Re: javadoc Problem with code compiled by Xtend 2.5.1 [message #1240399 is a reply to message #1240337] Thu, 06 February 2014 06:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

this is https://bugs.eclipse.org/bugs/show_bug.cgi?id=410797
Re: javadoc Problem with code compiled by Xtend 2.5.1 [message #1240400 is a reply to message #1240399] Thu, 06 February 2014 06:11 Go to previous messageGo to next message
Eclipse UserFriend
And i dont understand what this has todo with javadoc
Re: javadoc Problem with code compiled by Xtend 2.5.1 [message #1240407 is a reply to message #1240400] Thu, 06 February 2014 06:34 Go to previous message
Eclipse UserFriend
Thanks, Christian.

My Jenkins instance had an old 6 JDK version configured.
Updated to 7u51 and it all works now.
Previous Topic:Adding another file into the generated src-gen folder with Xtext-xtend compiler
Next Topic:Cross references in DSLs of xtext
Goto Forum:
  


Current Time: Tue Jul 08 20:45:35 EDT 2025

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

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

Back to the top