My favorites | Sign in
Project Logo
                
Search
for
Updated Jul 14, 2009 by soundasleep
Labels: Featured, Phase-Deploy
Installation  
Installing and using iacleaner.

Installation

  1. In Eclipse, select Help > Software Updates > Find and Install...
  2. Add the following remote site:
  3. Name: iacleaner
    URL:  http://iacleaner.googlecode.com/svn/trunk/org.openiaml.iacleaner.update/
  4. Select the Internet Application Cleaner/Formatter feature to install
  5. Once it has been installed, restart Eclipse

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 Start

File 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 Code

Installing the iacleaner source code is as easy as checking out the current revision from SVN trunk.


Sign in to add a comment
Hosted by Google Code