This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to annotated tag japicmp-base-0.1.0 in repository https://gitbox.apache.org/repos/asf/commons-vfs.git
commit 568f877e7fdc59f0bab49dc67ded994e9fa1f82e Author: siom79 <martin.m...@googlemail.com> AuthorDate: Sat Jun 21 19:49:57 2014 +0200 removed unnecessary files --- .gitignore | 17 +-- README.md~ | 109 -------------------- structure101.java.hsp | 281 -------------------------------------------------- 3 files changed, 9 insertions(+), 398 deletions(-) diff --git a/.gitignore b/.gitignore index 069d52e..04492ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ -target -.idea -httpclient*.jar -*.iml -test.xml -output.xml -japicmp/guava-10.0.1.jar -japicmp/guava-14.0.1.jar +target +.idea +httpclient*.jar +*.iml +test.xml +output.xml +japicmp/guava-10.0.1.jar +japicmp/guava-14.0.1.jar +*~ diff --git a/README.md~ b/README.md~ deleted file mode 100644 index 422f899..0000000 --- a/README.md~ +++ /dev/null @@ -1,109 +0,0 @@ -japicmp -======= - -japicmp is a tool to compare two versions of a jar archive: - - java -jar japicmp-0.0.2.jar -n new-version.jar -o old-version.jar - -It can also be used as a library: - - JarArchiveComparator jarArchiveComparator = new JarArchiveComparator(); - List<JApiClass> jApiClasses = jarArchiveComparator.compare(oldArchive, newArchive); - -##Motivation## - -Every time you make a new release of a library or a product, you have to tell your clients or customers what -has changed in comparison to the last release. Without the appropriate tooling, this task is tedious and error-prone. -This tool/library helps you to determine the differences between the java class files that are contained in the two -jar archives. -In contrast to other libraries/tools, this library does not use the Java Reflection API to compute -the differences, as the usage of the Reflection API makes it necessary to include all classes the jar archive under -investigation depends on are available on the classpath. To prevent the inclusion of all dependent libraries, which -can be a lot of work for bigger applications, this library makes use of the [javassist](http://www.csg.ci.i.u-tokyo.ac.jp/~chiba/javassist/) -library to inspect the class files. This way you only have to provide the two jar archives on the command line, that's it. - -##Features## - -* Comparison of two jar archives without the need to add all of their dependencies to the classpath. -* Differences are printed on the command line in a simple diff format. -* Differences can optionally be printed to an xml file. This can be transformed to an HTML file using XSLT. -* Per default only public classes and class members are compared. If necessary, the access modifier of the classes and class members to be - compared can be set to package, protected or private. -* Per default classes from all packages are compared. If necessary, certain packages can be excluded or only specific packages can be included. - -##Usage## - -The tool has a set of CLI parameters that are described in the following: - - -h Prints this help. - -o <pathToOldVersionJar> Provides the path to the old version of the jar. - -n <pathToNewVersionJar> Provides the path to the new version of the jar. - -x <pathToXmlOutputFile> Provides the path to the xml output file. If not given, stdout is used. - -a <accessModifier> Sets the access modifier level (public, package, protected, private), which should be used. - -i <packagesToInclude> Comma separated list of package names to include, * can be used as wildcard. - -e <packagesToExclude> Comma separated list of package names to exclude, * can be used as wildcard. - -m Outputs only modified classes/methods. If not given, all classes and methods are printed. - -###Example### - -In the following you see the beginning of the xml output file after having computed the differences between the versions 4.0.1 and 4.2.3 of httpclient: - - <?xml version="1.0" encoding="UTF-8" standalone="yes"?> - <japicmp newJar="D:\Programmierung\japicmp\github\japicmp\japicmp\httpclient-4.2.3.jar" oldJar="D:\Programmierung\japicmp\github\japicmp\japicmp\httpclient-4.0.1.jar"> - <class accessModifierNew="n.a." accessModifierOld="PUBLIC" changeStatus="REMOVED" fullyQualifiedName="org.apache.http.annotation.GuardedBy" type="ANNOTATION"> - <method accessModifierNew="n.a." accessModifierOld="PUBLIC" changeStatus="REMOVED" name="value" returnType="java.lang.String"/> - </class> - <class accessModifierNew="n.a." accessModifierOld="PUBLIC" changeStatus="REMOVED" fullyQualifiedName="org.apache.http.annotation.Immutable" type="ANNOTATION"/> - <class accessModifierNew="n.a." accessModifierOld="PUBLIC" changeStatus="REMOVED" fullyQualifiedName="org.apache.http.annotation.NotThreadSafe" type="ANNOTATION"/> - <class accessModifierNew="n.a." accessModifierOld="PUBLIC" changeStatus="REMOVED" fullyQualifiedName="org.apache.http.annotation.ThreadSafe" type="ANNOTATION"/> - <class accessModifierNew="PUBLIC" accessModifierOld="PUBLIC" changeStatus="UNCHANGED" fullyQualifiedName="org.apache.http.auth.AUTH" type="CLASS"/> - <class accessModifierNew="PUBLIC" accessModifierOld="PUBLIC" changeStatus="UNCHANGED" fullyQualifiedName="org.apache.http.auth.AuthenticationException" type="CLASS"/> - <class accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" fullyQualifiedName="org.apache.http.auth.AuthOption" type="CLASS"> - <method accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" name="getAuthScheme" returnType="org.apache.http.auth.AuthScheme"/> - <method accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" name="getCredentials" returnType="org.apache.http.auth.Credentials"/> - <method accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" name="toString" returnType="java.lang.String"/> - </class> - <class accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" fullyQualifiedName="org.apache.http.auth.AuthProtocolState" type="ENUM"> - <method accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" name="valueOf" returnType="org.apache.http.auth.AuthProtocolState"> - <parameter type="java.lang.String"/> - </method> - <method accessModifierNew="PUBLIC" accessModifierOld="n.a." changeStatus="NEW" name="values" returnType="org.apache.http.auth.AuthProtocolState[]"/> - </class> - ... - -The differences between the two Java APIs are also printed on the command line for a quick overview: - - --- REMOVED ANNOTATION org.apache.http.annotation.GuardedBy - --- REMOVED METHOD value() - --- REMOVED ANNOTATION org.apache.http.annotation.Immutable - --- REMOVED ANNOTATION org.apache.http.annotation.NotThreadSafe - --- REMOVED ANNOTATION org.apache.http.annotation.ThreadSafe - === UNCHANGED CLASS org.apache.http.auth.AUTH - === UNCHANGED CLASS org.apache.http.auth.AuthenticationException - +++ NEW CLASS org.apache.http.auth.AuthOption - +++ NEW METHOD getAuthScheme() - +++ NEW METHOD getCredentials() - +++ NEW METHOD toString() - +++ NEW ENUM org.apache.http.auth.AuthProtocolState - +++ NEW METHOD valueOf(java.lang.String) - +++ NEW METHOD values() - -##Downloads## - -The following releases are available: - -* [Version 0.0.2](https://github.com/siom79/japicmp/releases/tag/japicmp-base-0.0.2) - * Changes: - * [Command-line option to filter packages](https://github.com/siom79/japicmp/issues/1) - * [CLI option for comparing public, package, protected or private classes/class members](https://github.com/siom79/japicmp/issues/2) - * ["No differences" output when comparing the same file](https://github.com/siom79/japicmp/issues/4) - * [Giving a non-jar file as argument should not output "Comparing..."](https://github.com/siom79/japicmp/issues/5) -* [Version 0.0.1](http://repository-siom79.forge.cloudbees.com/release/japicmp/japicmp/0.0.1/japicmp-0.0.1.jar) - -The latest snapshot version can be downloaded here: [japicmp-SNAPSHOT](http://repository-siom79.forge.cloudbees.com/snapshot/japicmp/japicmp/) - -##Development## - -* [Jenkins build server](https://siom79.ci.cloudbees.com/job/japicmp) -* [Maven snapshot repository](https://repository-siom79.forge.cloudbees.com/snapshot) -* [Maven release repository](https://repository-siom79.forge.cloudbees.com/release) diff --git a/structure101.java.hsp b/structure101.java.hsp deleted file mode 100644 index a6615d5..0000000 --- a/structure101.java.hsp +++ /dev/null @@ -1,281 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<local-project language="java" version="4.0.5155" xml-version="3" flavor="j2se"> - <property name="hide-externals" value="true" /> - <property name="show-needs-to-compile" value="false" /> - <property name="detail-mode" value="true" /> - <property name="include-injected-dependency" value="true" /> - <property name="project-type" value="maven" /> - <property name="action-set-mod" value="10" /> - <property name="hide-deprecated" value="false" /> - <property name="parse-archive-in-archive" value="false" /> - <classpath relativeto="D:\Programmierung\japicmp\github\japicmp"> - <classpathentry kind="lib" path="japicmp-testbase\japicmp-test-v1\target\japicmp-test-v1-0.0.3-SNAPSHOT.jar" /> - <classpathentry kind="lib" path="japicmp-testbase\japicmp-test\target\japicmp-test-0.0.3-SNAPSHOT.jar" /> - <classpathentry kind="lib" path="japicmp\target\japicmp-0.0.3-SNAPSHOT.jar" /> - <classpathentry kind="lib" path="japicmp-testbase\japicmp-test-v2\target\japicmp-test-v2-0.0.3-SNAPSHOT.jar" /> - </classpath> - <pom-root-files> - <pom path="D:\Programmierung\japicmp\github\japicmp\pom.xml" /> - </pom-root-files> - <transformations> - <transformation in="*" out="{jar}.*" /> - </transformations> - <restructuring> - <set version="3" name="Model 1" hiview="Codemap" active="true" todo="false" list="0"> - <hide> - <item-fqn fqn="japicmp-base.japicmp.japicmp.javassist" type="package"> - <node name="japicmp-base" type="pom" /> - <node name="japicmp" type="pom" /> - <node name="japicmp" type="jar" /> - <node name="javassist" type="package" /> - </item-fqn> - </hide> - <hide> - <item-fqn fqn="japicmp-base.japicmp.japicmp.org" type="package"> - <node name="japicmp-base" type="pom" /> - <node name="japicmp" type="pom" /> - <node name="japicmp" type="jar" /> - <node name="org" type="package" /> - </item-fqn> - </hide> - <hide> - <item-fqn fqn="japicmp-base.japicmp.japicmp.com" type="package"> - <node name="japicmp-base" type="pom" /> - <node name="japicmp" type="pom" /> - <node name="japicmp" type="jar" /> - <node name="com" type="package" /> - </item-fqn> - </hide> - </set> - </restructuring> - <sourcepaths> - <pathentry type="file" path="D:\Programmierung\japicmp\github\japicmp\japicmp-testbase\japicmp-test-v1\src\main\java" /> - <pathentry type="file" path="D:\Programmierung\japicmp\github\japicmp\japicmp\src\main\java" /> - <pathentry type="file" path="D:\Programmierung\japicmp\github\japicmp\japicmp-testbase\japicmp-test-v2\src\main\java" /> - </sourcepaths> - <grid-set sep="." version="4.0.5155"> - <grid name="Diagram 2" enforce="true" locked="true" strict="false"> - <row> - <cell name="japicmp" pattern="japicmp-base.japicmp.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp" pattern="japicmp-base.japicmp.japicmp.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp" pattern="japicmp-base.japicmp.japicmp.japicmp.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp" pattern="japicmp-base.japicmp.japicmp.japicmp.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="JApiCmp" pattern="japicmp-base.japicmp.japicmp.japicmp.JApiCmp" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - <row> - <cell name="cli" pattern="japicmp-base.japicmp.japicmp.japicmp.cli.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="CliParser" pattern="japicmp-base.japicmp.japicmp.japicmp.cli.CliParser" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - <cell name="output" pattern="japicmp-base.japicmp.japicmp.japicmp.output.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="stdout" pattern="japicmp-base.japicmp.japicmp.japicmp.output.stdout.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="StdoutOutputGenerator" pattern="japicmp-base.japicmp.japicmp.japicmp.output.stdout.StdoutOutputGenerator" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - <cell name="xml" pattern="japicmp-base.japicmp.japicmp.japicmp.output.xml.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="xml" pattern="japicmp-base.japicmp.japicmp.japicmp.output.xml.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="XmlOutputGenerator" pattern="japicmp-base.japicmp.japicmp.japicmp.output.xml.XmlOutputGenerator" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - <row> - <cell name="model" pattern="japicmp-base.japicmp.japicmp.japicmp.output.xml.model.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="JApiCmpXmlRoot" pattern="japicmp-base.japicmp.japicmp.japicmp.output.xml.model.JApiCmpXmlRoot" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - <row> - <cell name="output" pattern="japicmp-base.japicmp.japicmp.japicmp.output.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="OutputTransformer" pattern="japicmp-base.japicmp.japicmp.japicmp.output.OutputTransformer" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - <row> - <cell name="config" pattern="japicmp-base.japicmp.japicmp.japicmp.config.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="Options" pattern="japicmp-base.japicmp.japicmp.japicmp.config.Options" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - <row> - <cell name="cmp" pattern="japicmp-base.japicmp.japicmp.japicmp.cmp.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="JarArchiveComparator" pattern="japicmp-base.japicmp.japicmp.japicmp.cmp.JarArchiveComparator" vexpanded="false" visibility="public" drill="false" /> - </row> - <row> - <cell name="ClassComparator" pattern="japicmp-base.japicmp.japicmp.japicmp.cmp.ClassComparator" vexpanded="false" visibility="public" drill="false" /> - </row> - <row> - <cell name="ClassesComparator" pattern="japicmp-base.japicmp.japicmp.japicmp.cmp.ClassesComparator" vexpanded="false" visibility="public" drill="false" /> - <cell name="JarArchiveComparatorOptions" pattern="japicmp-base.japicmp.japicmp.japicmp.cmp.JarArchiveComparatorOptions" vexpanded="false" visibility="public" drill="false" /> - </row> - <row> - <cell name="AccessModifier" pattern="japicmp-base.japicmp.japicmp.japicmp.cmp.AccessModifier" vexpanded="false" visibility="public" drill="false" /> - <cell name="PackageFilter" pattern="japicmp-base.japicmp.japicmp.japicmp.config.PackageFilter" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - <row> - <cell name="exception" pattern="japicmp-base.japicmp.japicmp.japicmp.exception.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="JApiCmpException" pattern="japicmp-base.japicmp.japicmp.japicmp.exception.JApiCmpException" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - <cell name="model" pattern="japicmp-base.japicmp.japicmp.japicmp.model.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="JApiClass" pattern="japicmp-base.japicmp.japicmp.japicmp.model.JApiClass" vexpanded="false" visibility="public" drill="false" /> - </row> - <row> - <cell name="JApiMethod" pattern="japicmp-base.japicmp.japicmp.japicmp.model.JApiMethod" vexpanded="false" visibility="public" drill="false" /> - </row> - <row> - <cell name="JApiChangeStatus" pattern="japicmp-base.japicmp.japicmp.japicmp.model.JApiChangeStatus" vexpanded="false" visibility="public" drill="false" /> - <cell name="JApiParameter" pattern="japicmp-base.japicmp.japicmp.japicmp.model.JApiParameter" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - <cell name="util" pattern="japicmp-base.japicmp.japicmp.japicmp.util.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="ModifierHelper" pattern="japicmp-base.japicmp.japicmp.japicmp.util.ModifierHelper" vexpanded="false" visibility="public" drill="false" /> - <cell name="SignatureParser" pattern="japicmp-base.japicmp.japicmp.japicmp.util.SignatureParser" vexpanded="false" visibility="public" drill="false" /> - <cell name="StringArrayEnumeration" pattern="japicmp-base.japicmp.japicmp.japicmp.util.StringArrayEnumeration" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - <cell name="japicmp-testbase" pattern="japicmp-base.japicmp-testbase.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp-test-v1" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp-test-v1" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="test" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="test" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="Modifier" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.Modifier" vexpanded="false" visibility="public" drill="false" /> - <cell name="Removed" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.Removed" vexpanded="false" visibility="public" drill="false" /> - <cell name="Unchanged" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.Unchanged" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - <cell name="packageOne" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.packageOne.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="PackageOne" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.packageOne.PackageOne" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - <cell name="packageTwo" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.packageTwo.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="PackageTwo" pattern="japicmp-base.japicmp-testbase.japicmp-test-v1.japicmp-test-v1.japicmp.test.packageTwo.PackageTwo" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - <cell name="japicmp-test-v2" pattern="japicmp-base.japicmp-testbase.japicmp-test-v2.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp-test-v2" pattern="japicmp-base.japicmp-testbase.japicmp-test-v2.japicmp-test-v2.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="japicmp" pattern="japicmp-base.japicmp-testbase.japicmp-test-v2.japicmp-test-v2.japicmp.*" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="test" pattern="japicmp-base.japicmp-testbase.japicmp-test-v2.japicmp-test-v2.japicmp.test.?" vexpanded="true" visibility="public" drill="false"> - <grid> - <row> - <cell name="Added" pattern="japicmp-base.japicmp-testbase.japicmp-test-v2.japicmp-test-v2.japicmp.test.Added" vexpanded="false" visibility="public" drill="false" /> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - </grid> - </cell> - </row> - <description>Top-level breakout (depth=2147483647)</description> - </grid> - </grid-set> -</local-project> -