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
Incremental build of builders fail #111
Comments
Okay, here are the errors I'm seeing when I do this in Eclipse 4.5.0:
When I clean and regenerate, I still see the errors in Does this match what you're seeing? |
For incremental build I see I don't see errors for clean build. So you will keep this and add separate bug, too? |
Yes, though honestly this sounds like an eclipse bug, which is unlikely to have a workaround we can implement |
Opened #112 for the other bug. Thanks! |
The error I quoted comes when building by maven! So it had nothing to do with Eclipse. |
That's both really weird and really helpful. Thanks! I misunderstood your initial message. |
Also been seeing this, in our case with:
Repro steps:
Generated code looks like
|
When an existing generated class is rebuilt without cleaning, javac will pick up the old .class file, and references to the generated type will not be ERRORs. This was triggering a bug in Analyser.IsSubclassOfGeneratedTypeVisitor when the generated type is generic. This fixes issue #111.
This should be fixed in FreeBuilder 1.7.1. Sorry for the delay! |
I realized that in some cases freebuilder fails to work unless I clean first.
In the following example, if I add the first only, it compiles (and works in IDE). However if I add the second too, all fails. It gets successful again if I do clean build (or clean in IDE - Eclipse).
This leads us to a kind of undeterministic behaviour, sometimes it works sometime it doesn't (until I clean).
We also found a situation where it does not work in IDE only, but otherwise builds properly, but I couldn't create an example class of that yet.
The text was updated successfully, but these errors were encountered: