querydsl / codegen

Java/Scala Code generation tool
Apache License 2.0
23 stars 22 forks source link

Use absolute URI for memsourced files (ECJ compatibility) #2

Closed Maia-Everett closed 12 years ago

Maia-Everett commented 12 years ago

When codegen is used with the Eclipse compiler rather than the Sun one, it attempts to prepend file:// to non-absolute URIs for every JavaFileObject. URIs of type file://filename.java fail, complaining about having an authority component.

The below patch fixes this.

http://privatepaste.com/9251cf336c

timowest commented 12 years ago

Thanks for the bug report. Fixed.

timowest commented 12 years ago

released in 0.4.8