On 26.01.23 16:01, Scott Palmer wrote:
I wanted to experiment with Jackpot for a project I'm working on. How
dependent on the NetBeans Platform is the Jackpot code at
https://github.com/apache/netbeans-jackpot30 ?
Is there such a thing as a jackpot library jar that does not depend on
NetBeans classes?
If I wanted to make a standalone tool to do certain transformations on a
Java code base where would I start?
Thanks for any help you can provide,
Scott
you should be able to use it from maven in your build:
<plugin>
<groupId>org.apache.netbeans.modules.jackpot30</groupId>
<artifactId>jackpot30-maven-plugin</artifactId>
<version>13.0</version>
<configuration>
<configurationFile>jackpot-settings.xml</configurationFile>
<failOnWarnings>true</failOnWarnings>
</configuration>
<executions>
<execution>
<id>jackpot</id>
<phase>compile</phase>
<goals>
<goal>analyze</goal>
</goals>
</execution>
</executions>
</plugin>
I use it mostly from within NetBeans itself for refactoring or
inspection tasks with the help of the ".hint" files.
I sometimes upload the inspections which I think are reusable or more
generic here:
https://github.com/mbien/jackpot-inspections
readme explains how to use hint files.
-mbien
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists