Home

Jackpot 3.0 Homepage

Originally, the Jackpot 3.0 project revived a DSL for custom declarative refactorings, originally developed at Sun Labs as part of project Jackpot. The language can be used for semi-automatic library upgrades, one-off refactorings, corrections of common anti-patterns and structural searches.

The refactorings are specified using a rules language. The refactorings are found either on the project's classpath, as ".hint" files in META-INF/upgrade directory, on are specified by the user in the Inspect&Refactor dialog. There's also proposed or suplementary doc.

Demo examples of Jackpot 3.0 scripts can be found in the demo repository.

The language has been merged into the standard NetBeans distribution in NetBeans IDE 7.1. This project therefore no longer hosts the code that interprets the transformation rules.

This project still hosts some advanced/experimental features focused on increasing overall developer productivity, mainly in the NetBeans IDE. These include:

  • remoting support: let your Hudson build create an index for your whole project, and then perform project-wide find usages, Go to Type, even without having every IDE project opened in your IDE.
  • standalone tool to perform Jackpot refactorings or run NetBeans' static analysis for Java from the command line. The tool can also be used to run tests for the declarative refactoring scripts.

Updated

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.