This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | clone annotation processor UI & support from J2SE project to J2EE proejcts | ||
---|---|---|---|
Product: | javaee | Reporter: | David Konecny <dkonecny> |
Component: | Web Project | Assignee: | Sergey Petrov <sj-nb> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dbalek, pjiricka, sj-nb |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 178108 |
Description
David Konecny
2010-02-18 15:56:58 UTC
Already start looking into web project, some updates http://hg.netbeans.org/web-main/rev/aee62025959c Integrated into 'main-golden', will be available in build *201002220200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/aee62025959c User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935 - some files updated, more need to be done will try to complete clone this week Integrated into 'main-golden', will be available in build *201002250200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/308553a9ec31 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935 - migrated properties/compile customizer modification The same changes has to be applied to Ejb and AppClient project. I think that following bits of code would be better to be refactored into api.java.common module (friend API contract): * encodeBoolean() + BOOLEAN_KIND_* constants * AddAnnotationProcessor class (private class with one static public friend API method addNewAnnotationProcessor) * anything else?? probably not ... Sergey, do you feel like doing this (and other EE proj types) or would you prefer me to do that. :-) If you refactor code then update also J2SE proj. I'm going to migrate all to web project first and with web project changesets move to ejb/app client, it's not completed yet. Regarding refactoring I'm not sure I can do it fast so if you know more about what should be changed and how(As I don't know yet), it may be better if you will update. With latest change I can now add eclipselink to processor libraries and build with canonical processor added to processors list, still need some testing to see if all works before add to other projects. Also is there any reason to have default source level set to JDK5 for web project? Can we move to JDK6 by default? Yes we should move to JDK 6, David and I already discussed this. I filed bug 181215. OK, I will refactor it once you finish it. Integrated into 'main-golden', will be available in build *201002260200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/308553a9ec31 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935 - migrated properties/compile customizer modification It may have sense to wait next week before continue fixing as more changes are expected next week in "Enable Annotation Processing in Editor". Integrated into 'main-golden', will be available in build *201002270200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7112aae57fc1 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935 modified classpathprovider for web project to support separate processors classpath Integrated into 'main-golden', will be available in build *201003021507* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c284416ddb7d User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935, #181253 rollback one change to fix 181253 fast, need to change realization Integrated into 'main-golden', will be available in build *201003030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7a87d3895287 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935 - verify annotations properties in project opened hook, may be reasonable to change back to default evaluator also. http://hg.netbeans.org/web-main/rev/b88dad991711 http://hg.netbeans.org/web-main/rev/257925c3a354 added for ejb and app client, may need update for "encodeBoolean() + BOOLEAN_KIND_* constants" but may not be necessary, currently the same is in j2se/app client (and it was there) and in web/ejb(added with this fix). Integrated into 'main-golden', will be available in build *201003120200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b88dad991711 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #180935 support in ejb module project |