Monthly Archives: May 2011

NetBeans Platform And Maven: An annotation processor threw an uncaught exception

In the interests of making the solution easier to find, the workaround described in http://jira.codehaus.org/browse/MCOMPILER-98 will solve the error below. Workaround – Add the sourcepath compiler argument in your application pom <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArguments> <sourcepath>${project.basedir}/src/main/java</sourcepath> </compilerArguments> </configuration> … Continue reading

Posted in Programming | Tagged , , | Leave a comment

NetBeans Platform And Maven: Bad package component in

I created a NetBeans Platform application and module using Maven. When NetBeans tried to load the module on application startup, the following error was shown on the output: WARNING [org.netbeans.core.startup.ModuleList]: Error encountered while reading your.module java.lang.IllegalArgumentException: Bad package component in … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

NetBeans Platform Module Library Dependencies In Maven

I created a NetBeans Platform Application and Module through the NetBeans IDE using the provided Maven archetype. When I tried to create a new Window, the ConvertAsProperties annotation was not recognized in the generated code. The compilation error: package org.netbeans.api.settings … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Basic JavaScript Static Analysis With Google Closure

Closure is a JavaScript compiler from Google, that will generate an AST from JavaScript. I’m exploring it in the hopes of using it to do static analyses of JavaScript embedded in Siebel. To start with I decided to implement a … Continue reading

Posted in Programming | Tagged , , , , | 3 Comments