|
Installation
Installing and using iacleaner.
Installation
Name: iacleaner URL: http://iacleaner.googlecode.com/svn/trunk/org.openiaml.iacleaner.update/ You may also need to have the JUnit feature installed in your Eclipse environment, but this usually comes pre-installed in an Eclipse environment. Quick StartFile source = new File("script.php");
IACleaner cleaner = new IAInlineCleaner();
String formatted = cleaner.cleanScript(source);
// rewrite the file
FileWriter fh = new FileWriter(source);
fh.write(formatted);
fh.close();Source CodeInstalling the iacleaner source code is as easy as checking out the current revision from SVN trunk. |
Sign in to add a comment