You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/02/24 08:07:20 UTC

cvs commit: jakarta-turbine-maven/xdocs/images mainscreen.jpg scrubbrush.gif

jvanzyl     02/02/23 23:07:20

  Added:       conf     Importscrubber.jnlp
               xdocs    changelog.txt design.txt install.txt usage.txt
               xdocs/images mainscreen.jpg scrubbrush.gif
  Removed:     .        importscrubber.tgz
  Log:
  - incorporating the rest of the importscrubber files into the repo,
    nuking the tarball.
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-maven/conf/Importscrubber.jnlp
  
  Index: Importscrubber.jnlp
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <jnlp codebase="http://importscrubber.sourceforge.net/" href="http://importscrubber.sourceforge.net/Importscrubber.jnlp">
  <information>
  	<title>Importscrubber</title>
  	<vendor>Tom Copeland</vendor>
  	<description>Importscrubber - clean up your source code</description>
  	<description kind="short">Importscrubber is a Java utility to clean up the import statements in a Java source code file</description>
  	<icon href="scrubbrush.gif"/>
  	<homepage href="http://importscrubber.sourceforge.net/"/>
  </information> 
  <security>
  	<all-permissions/>
  </security>
  <offline-allowed/>
  <resources>
  	<j2se version="1.2+"/>
  	<jar href="importscrubber.jar"/>
  	<jar href="bcel.jar" download="eager"/>
  </resources> 
  <application-desc main-class="net.sourceforge.importscrubber.ImportScrubberGUI"/>
  </jnlp>
  
  
  1.1                  jakarta-turbine-maven/xdocs/changelog.txt
  
  Index: changelog.txt
  ===================================================================
  November 27 2001 - 1.3.9:
  Added French translation; thanks to Olivier.
  Added "put Java libraries at the top" option; thanks to Martin Saxor for the code.
  Added check for fully qualified class names; thanks to Mark Langley for the suggestion.
  
  November 5 2001 - 1.3.8:
  Fixed bug that would skip imports if only a static method was called on a class.
  
  October 24 2001 - 1.3.7:
  Rewrote part of class file analysis code to exclude ConstantUtf8s which are referred to by ConstantStrings.  Thanks to Marcus Dahm for his help on this.
  
  October 22 2001 - 1.3.6:
  Tweaked copyright header preservation thing to remove errant blank line.
  
  October 22 2001 - 1.3.5:
  Modified copyright header preservation thing to allow copyright header in a different area.
  Moved Ant task to net.sourceforge.importscrubber.ant package
  
  September 25 2001 - 1.3.4: 
  Added copyright header comment preservation - thanks to Scott Willy and Trent Hoeppner for the suggestion
  
  September 18 2001 - 1.3.3: 
  Added Scott Willy's DualRootSingleFileChooser
  
  September 11 2001 - 1.3.2:
  Added formatting options
  
  August 17 2001 - 1.3.1:
  Added an Ant task, see build.xml for sample usage.
  Fixed a bug in go.bat - thanks to Trent Hoeppner.
  Fixed a bug in build.xml - thanks to Trent Hoeppner.
  
  August 10 2001 - 1.3:
  Reworked the bytecode parser interactions to use the BCEL Visitor framework.  Thanks to Markus Dahm and Uwe Hoffman for their suggestions and assistance.
  Added a command line interface which is much faster when processing a lot of files.
  
  July 26 2001 - 1.2.2:
  Updated package break logic (thanks to Walton Channing for the code).
  File browser now opens to user's home directory.
  
  July 20 2001 - 1.2.1:
  Fixed bug which was creating a bunch of erroneous imports.
  
  July 15 2001 - 1.2:
  Implemented package separation feature suggested by Paul Holser.
  
  June 29 2001 - 1.1.9:
  Minor performance enhancements, fixed bug which allowed java.lang imports to be included.
  
  June 25 2001 - 1.1.8: 
  Fixed bug which messed up imports when a Class object was referenced only as a method parameter, i.e., List.add(Foo.class).
  
  June 20 2001 - 1.1.7:
  Fixed bug which messed up imports from java.lang subpackages (thanks to Paul Holser for finding this).
  
  June 20 2001 - 1.1.6:
  Fixed bug which messed up imports of static inner classes.
  Walton Channing fine-tuned the import package separation feature.
  
  June 18 2001 - 1.1.5:
  Minor refactoring - replaced a FileWriter with BufferedWriter, using List rather than ArrayList, etc.
  
  June 13 2001 - 1.1.4:
  Added separator between different package names, sort is now case insensitive (Walton Channing).
  
  June 6 2001 - 1.1.3:
  Fixed bug which interpreted any constant beginning with "/" as a class reference.
  
  June 1 2001 - 1.1.2:
  Replaced handcoded bubble sort with call to Collections.sort().
  
  May 30 2001 - 1.1.1:
  Fixed bug which in some situations included classes from java.lang.
  Added Javadoc generation to the build file.
  
  May 29 2001 - 1.1:
  Modified to use BCEL.
  
  May 25 2001 - 1.0.1:
  Removed some unnecessary threading.
  Added a menu and some help text.
  
  May 24 2001 - 1.0:
  Released 1.0
  
  
  1.1                  jakarta-turbine-maven/xdocs/design.txt
  
  Index: design.txt
  ===================================================================
  11/26/01:
  It's cleaned up a bit now.  PackageStmt is probably a good next target to clean.  The GUI sure is ugly, though.
  
  10/22/01:
  Now the source code parsing stuff is in dire need of refactoring.
  
  9/11/01:
  Broke classes out into several packages, which reduces the clutter somewhat.  Added more unit tests.
  
  8/9/01:
  The GUI is much better now, too.  But it could still use some work - maybe I could turn it into a wizard?  It does seem to have a pretty clear sequence of steps - set root, select files, process them, show results.
  The parsing code is a little nicer now that it uses Visitor.  It's still pretty heinous, though.
  
  5/24/01:
  It could use some work.  Especially the GUI.  And the parsing code is nasty too.  The one redeeming feature - it works.
  
  
  1.1                  jakarta-turbine-maven/xdocs/install.txt
  
  Index: install.txt
  ===================================================================
  Unzip it to any directory. 
  
  
  
  1.1                  jakarta-turbine-maven/xdocs/usage.txt
  
  Index: usage.txt
  ===================================================================
  Open up "importscrubber\etc\FunctionalTest.java" and check out the sample file - sloppy, huh? Just you wait. 
  Run the the "importscrubber\etc\go.bat" batch file.
  When the GUI opens up, click the browse button.
  When the file browser opens up, browse your filesystem and find the "importscrubber\etc\FunctionalTest.java", and click OK.
  When the file browser closes, click "Find Files".
  Pick a formatting style from the combo box.
  When the file name moves into the box, click "Go".
  Open up "importscrubber\etc\FunctionalTest.java" and check out newly formatted code - yay! 
  Now go ahead and try some of your own classes... and watch those unneeded import statements disappear!
  
  Or, you can run it from the console.  Just type java net.sourceforge.importscrubber.ImportScrubber and you'll get a couple of usage examples.  FWIW, running from the console is much, much faster, especially when processing a lot of files.
  
  Any questions/comments, please let me know - tomcopeland@users.sourceforge.net.  Thanks!
  
  
  
  
  1.1                  jakarta-turbine-maven/xdocs/images/mainscreen.jpg
  
  	<<Binary file>>
  
  
  1.1                  jakarta-turbine-maven/xdocs/images/scrubbrush.gif
  
  	<<Binary file>>
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>