Summary: | EclipseLink static weaving triggers occurring too frequently | ||
---|---|---|---|
Product: | [WebTools] Dali JPA Tools | Reporter: | Prashant Deva <prashant.deva> |
Component: | JPA | Assignee: | Neil Hauge <neil.hauge> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | neil.hauge, tranle1 |
Version: | 3.3 | Keywords: | needinfo |
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Whiteboard: |
Description
Prashant Deva
2012-11-27 06:33:21 EST
This does sound like a problem. Perhaps we could direct this output to a separate console view, or perhaps set the logging such that only errors are logged to the console. Possible candidate for Juno SR2. A much better solution IMHO would be to run the weaver only when the sources are actually changed, instead of constantly running at a fixed interval, kinda like how the eclipse incremental compiler works. The Static Weaver is actually a Builder, just like the Java Builder (incremental compiler), and should not run any more frequently than the incremental compile is running. It certainly should not be running on a fixed interval. There may be a bug where something is triggering it over and over. A simple test on my end shows it running only when a resource change is committed to disk. I will do some additional testing with Tomcat running. Neil, I can submit a Chronon recording of the regular, frequent build issue on my machine so you dont have to reproduce it on yours. (http://chrononsystems.com/) Please tell me the namespace of the code I need to record for this. (eg. - org.eclipse.dali.**) ??? (In reply to comment #4) > Neil, > I can submit a Chronon recording of the regular, frequent build issue on my > machine so you dont have to reproduce it on yours. > (http://chrononsystems.com/) > > Please tell me the namespace of the code I need to record for this. > (eg. - org.eclipse.dali.**) ??? Not sure how fine grained of a namespace you are looking for, but org.eclipse.jpt.jpa.* would be a good but general start. The Builder itself (which extends IncrementalProjectBuilder) is located in org.eclipse.jpt.jpa.eclipselink.core.builder. A workaround recommendation for this issue is to change the logging level in the Static Weaving preferences. It can be set to OFF. |