-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test 3.0.0-M1 #192
Comments
Thanks @oehme for the lot of work you have done! Very appreciated! I will definitely try it out but will not be able to do so before end of next week. |
There's no rush, I'm gonna be on vacation soon anyway and don't plan to publish the final release before I come back. |
- bumped plugin org.xtext.xtend to 3.0.0-M1 to for testing in regard to xtext/xtext-gradle-plugin#192 - bumped org.eclipse.xtend:org.eclipse.xtend.lib to the latest 2.25 as compiling against 2.9 does not work anymore - removed build scan logic as it does not work anymore with the latest Gradle version (7.0)
The Gradle plugin org.xtext.xtend:3.0.0-M1 worked well with an ordinary Xtend project running Gradle build by a Java 8 VM (see commit reference JavaPOSWorkingGroup/javapos-code-generators@9f29841). However, the minimal Xtend lib version must be org.eclipse.xtend:org.eclipse.xtend.lib:2.18.+. Versions below cause unreasonable Xtend compiler errors. |
for testing in regard to xtext/xtext-gradle-plugin#192. However, the plugin carries a braking change which requires to adapt gradle/source-layout.gradle - an originally wizard generated file.
A test of the org.xtext:xtext-gradle-plugin:3.0.0-M1 at a Eclipse Xtext wizard generated project run successfully after some slight adaptation of the gradle/source-layout.gradle file. See commit reference kuniss/epsilon-ide-extensions@7d1de4d. The required adaptation of gradle/source-layout.gradle could be a challenge for all Xtext users who had applied the Xtext project creation wizard in Eclipse and are not familiar with Gradle.
to
accordingly. |
Seems the new org.xtext:xtext-gradle-plugin:3.0.0-M also resolves the issue eclipse-xtext/xtext#1976, see commit |
@kuniss does that source layout actually work? I would expect tons of duplicate resources in your JARS, since
No, that's unexpected. We still test for 2.9.1 in our integration tests. I'll have a look at your example. |
No duplicates in the JAR as far as I can assess. However, I have no sources under Your recommendation |
according to @ohme's recommendation in the xtext/xtext-gradle-plugin#192 discussion.
Further test with an more sophisticated (proprietary) Xtend project which references org.eclipse.xtend:org.eclipse.xtend.lib:2.19.+ was successful. |
Just another encountering, @oehme, regarding
In fact, I tried to recompile the https://github.com/JavaPOSWorkingGroup/javapos-code-generators project with the old plugin version 2.0.9 and with referencing org.eclipse.xtend:org.eclipse.xtend.lib:2.9.+. Here is a Gitpod workspace snapshot of this error and the console output:
|
could also be a java-version/asm-version problem
|
I'm not using Xtend 2.9 language version, only the Xtend 2.9 lib! And it was just a try to show, it is not related to the new Gradle plugin but something else. So, I agree, could be a java-version/asm-version problem. Maybe, it's just enough that it has been documented here in case some one stumbles upon it. Having done this, we should go on with the new plugin. |
Released and updated the docs. @cdietrich would you mind updating the xtext-wizard so it generates projects with this version? Besides changing the version, the source layout needs to be adjusted: Plain project layout:
Maven/Gradle project layout:
|
@oehme thought this pr already does it |
I had missed that, thanks! |
@xtext/xtext-dev, @kuniss and anyone else interested: I've just published a milestone for the 3.0.0 release of this plugin. If you have any projects you'd like to test this with, I'd appreciate your feedback and bug reports :)
The text was updated successfully, but these errors were encountered: