-
Notifications
You must be signed in to change notification settings - Fork 22
Code generation support for application running in a fat JAR #43
base: master
Are you sure you want to change the base?
Conversation
…Manager can now list Java class files that are packaged in a JAR.
@Shredder121 Is there anything holding this PR back from being merged? |
I have the same question. When I created the PR I added @Shredder121 as a reviewer, but I didn't have any feedback from him. |
@matteo-gallo-bb It can confirm that this PR fixes #42. |
Can someone please merge this and release a new version, I have tested the snapshot as well, and it works :) |
The only thing I'm not comfortable with is the "
Which is taken from another article. It's downloadable from IBM developerWorks, and can be freely modified, by the looks of it, but I haven't seen any copyright headers in the java source files. (I assume this means it inherits the same terms.) |
@Shredder121 The code is not exactly copied actually, there are small changes, especially one to make it work with Spring Boot with a jar in a jar scenario. |
…ces. Adding maven compiler source and target Java 6.
…:file:/temp/boot.jar!/" indicating the Root folder of the Jar. Updated unit test.
Two small notes on this PR:
|
but are you using the spring-boot plugin, or how do you package it up? |
Gah, never mind. I just ran the uber-jar manually from command-line using java -jar and it still failed the same way with jetty. Oh well. |
Actually ok, so the final verdict is that this PR does fix this issue for me when running in uber-jar now. I only needed jetty to make it work during integration test runs for some reason. I guess I'll try to convince my employer to deploy this random jar I got from a random github repo fork for now until you guys figure out what you want to do here. =) |
@Shredder121 Is there anything holding this back now? |
@matteo-gallo-bb @Shredder121 Any update on this one? I'm having the exact same issue. |
Any update on this one? Can someone merge this to master? |
I can't merge this PR and I applied all the changes that were suggested. Should I just close the PR at this point? |
I'd say leave it open for now. We'll look into it for 5.X. Thank you for bringing this to our attention and for all the hard work! |
Any updates here? @idosal mb you know somebody to merge it?) |
@viktorzub codegen now lives at https://github.com/querydsl/querydsl/tree/master/querydsl-codegen. You can test if the issue exists in 5.0.0-M1, and if it does port over the PR and we'll try to get it into the next release. |
#28 Fixed classpath build when the classloader contains jar URIs. MemFileManager can now list Java class files that are packaged in a JAR.
This PR aims to fix the bugs:
Side note
Most of the help for this code came from here: http://atamur.blogspot.ie/2009/10/using-built-in-javacompiler-with-custom.html