date | info | download |
---|---|---|
2011-08-31 | version v1.7.1 fixed package rename with inner classes | de.bb.product.bb_mug-1.7.1.jar |
2011-08-30 | version v1.7.0 added package renaming and log file support | de.bb.product.bb_mug-1.7.0.jar |
2006-02-28 | version v1.5 fixes issues with mangled referenced members | bb_mugV1.5.zip |
USAGE: java -jar bb_mug.jar [-?] [-l <logfile>] [-p <package>=<newpackage>] <inpath> <outpath> -? display this message -l <logfile> write mapping info into file -p <package>=<newpackage> rename <package> to <newpackage> bb_mug.jar $Revision: 1.6 $ (c) 2002-2011 by Stefan Bebbo Franke
java -jar /tools/bb_mug.jar <inpath> <outpath>
<target name="mug" depends="init" > <mkdir dir="${class.final}"/> <java classname="de.bb.mug.Main" fork="yes"> <arg value="${class.src}"/> <arg value="${class.final}"/> <classpath> <pathelement path="${java.class.path}"/> <pathelement location="tools/bb_mug.jar" /> </classpath> </java> </target>
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-exec-plugin</artifactId> <dependencies> <dependency> <groupId>de.bb.tools</groupId> <artifactId>mug</artifactId> <version>1.7.1</version> </dependency> </dependencies> <executions> <execution> <id>mug</id> <phase>compile</phase> <goals> <goal>java</goal> </goals> <configuration> <arguments> <argument>-l</argument> <argument>${project.build.directory}/mug.log</argument> <argument>-p</argument> <argument>de.bb.util=de.bb.tools.mug.u</argument> <argument>${project.build.directory}/used</argument> <argument>${project.build.directory}/classes</argument> </arguments> <includePluginDependencies>true</includePluginDependencies> <includeProjectDependencies>false</includeProjectDependencies> <mainClass>de.bb.tools.mug.Main</mainClass> </configuration> </execution> </executions> </plugin>