Skip to content
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

Codegen fails against vertx 3.3.1 and 3.3.2 #10

Open
DanielJoyce opened this issue Jul 22, 2016 · 6 comments
Open

Codegen fails against vertx 3.3.1 and 3.3.2 #10

DanielJoyce opened this issue Jul 22, 2016 · 6 comments

Comments

@DanielJoyce
Copy link

See eclipse-vertx/vertx-codegen#88

Confirmed it works for vertx-lang-js 3.3.2, so there is some subtle problem with the gradle build.

@DanielJoyce
Copy link
Author

Yeah, its something weird with the classpath.

@DanielJoyce
Copy link
Author

It appears to be trying to load classes from the source jars?

When I comment out

    vertx group: 'io.vertx', name: 'vertx-core', version: vertxVersion, classifier: 'sources'

then

./gradlew clean typeDefinitionsZip

works, but no sources are of course generated for vertx-js ( core )

@DanielJoyce
Copy link
Author

I think its related to this

https://bugs.openjdk.java.net/browse/JDK-8151191

I can confirm that the codegen phase is also building the source and not just processing it, so it seems the -proc:only flag is passed in wrong.

@DanielJoyce
Copy link
Author

eclipse-vertx/vertx-codegen#88

Actually its the interaction of gradle with this jdk bug https://bugs.openjdk.java.net/browse/JDK-8151565

@DanielJoyce
Copy link
Author

Starting to get it working. Cleaning up then issuing a pull request.

@DanielJoyce
Copy link
Author

Pull request #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant