Just curious....that seems like a massive task undertaking.

What style is being applied?  Is it a specific style guide of some sort?

And to the community at large, does NB's have an established style guide
that may be much of the legacy code was already conforming to?

If wanting to start establishing that I wonder if maybe some build tasks
running some kind of static code analysis could help identify style
guide inconsistencies.  THen as file changes occur a "check style guide"
could be triggered with the given PR being updated to comply at
that time..  I worry doing mass code updates and would think smaller ones
would be better for risk of unintended changes.

Eric Bresie
[email protected]


On Fri, Sep 17, 2021 at 6:20 AM Jeremy Cavanagh <[email protected]>
wrote:

> Hi All,
>
> I've just finished four months/eight hours per day/seven days per week
> of reformatting the Java files in the platform cluster. Quite an
> interesting, definitely exhausting exercise. I'll know whether it was
> worth my time if I can get it to build and pass the tests.
>
> I have tried to build, the Common Annotations module and surprise,
> surprise it fails:
>
> ant -f
> /Volumes/MBA-SSD/PROGRAMMING/Local-Git-Repos/netbeans-12.4-source/platform/api.annotations.common
>
> -Dcontinue.after.failing.tests=true build
> init-tasks:
> default.init:
> Updating property file:
>
> /Volumes/MBA-SSD/PROGRAMMING/Local-Git-Repos/netbeans-12.4-source/nbbuild/netbeans/moduleCluster.properties
> common-init:
> basic-init:
> projectized-common.-release.files:
> projectized-common.files-init:
> files-init:
> jdk-8-check:
> Build number : 20210917-2b87fd957fba
> set-buildnumber:
> build-init:
> Warning: module.javadoc.packages was already set to
> org.netbeans.api.annotations.common
> Scanning for modules in
> /Volumes/MBA-SSD/PROGRAMMING/Local-Git-Repos/netbeans-12.4-source
> init:
> All tests passed
> up-to-date:
> Compiling 12 source files to
>
> /Volumes/MBA-SSD/PROGRAMMING/Local-Git-Repos/netbeans-12.4-source/platform/api.annotations.common/build/classes
> Ignoring source, target and bootclasspath as release has been set
> error: Bad service configuration file, or exception thrown while
> constructing Processor object: javax.annotation.processing.Processor:
> Provider
> org.netbeans.api.annotations.common.proc.StaticResourceProcessor not found
> 1 error
> /Volumes/MBA-SSD/PROGRAMMING/Local-Git-Repos/netbeans-12.4-source/nbbuild/templates/common.xml:207:
>
> Compile failed; see the compiler error output for details.
> BUILD FAILED (total time: 11 seconds)
>
> I assume the problem is:
>
> javax.annotation.processing.Processor: Provider
> org.netbeans.api.annotations.common.proc.StaticResourceProcessor not found
>
> Did the obvious thing of searching for it within netbeans but no luck
> (again no surprise). However, a search on the internet led me to the issue:
>
>      NETBEANS-5731
>
> Failed to build target: all-api.annotations.common
>
> Unfortunately, there is no explanation or solution to the cause.
>
> I am using Apache NetBeans 12.4 and jdk 11.
>
> Any advice would be appreciated.
>
> Regards
>
> Jeremy
>
> P.S., Congrats to all those involved with version 12.5. I haven't had
> time to check it out yet.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to