diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-03-05 17:49:29 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2012-03-05 17:49:29 +0000 |
commit | 34bd30f1a6c496f5fcef19999ff11509a9c5e31d (patch) | |
tree | 68d4aae8a23026af37b73057c46d83b2cfeda987 | |
parent | 256279fbd282807e2d49fda3c167243b79e833de (diff) | |
download | javassist-34bd30f1a6c496f5fcef19999ff11509a9c5e31d.tar.gz javassist-34bd30f1a6c496f5fcef19999ff11509a9c5e31d.zip |
3.16.1-GA releaserel_3_16_1_ga
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@623 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r-- | Readme.html | 5 | ||||
-rw-r--r-- | build.xml | 2 | ||||
-rw-r--r-- | javassist.jar | bin | 0 -> 665248 bytes | |||
-rw-r--r-- | pom.xml | 51 | ||||
-rw-r--r-- | src/main/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | src/main/javassist/CtClass.java | 2 | ||||
-rw-r--r-- | src/test/javassist/JvstTest4.java | 2 | ||||
-rw-r--r-- | src/test/javassist/JvstTestRoot.java | 2 |
8 files changed, 48 insertions, 18 deletions
diff --git a/Readme.html b/Readme.html index b2e41317..a0c19523 100644 --- a/Readme.html +++ b/Readme.html @@ -281,6 +281,11 @@ see javassist.Dump. <h2>Changes</h2> +<p>-version 3.16.1 on March 6, 2012 +<ul> + <li>Maven now works. JIRA JASSIST-44, 106, 156 have been fixed. +</ul> + <p>-version 3.16 on February 19, 2012 <ul> <li>JIRA JASSIST-126, 127, 144, 145, 146, 147, 149, 150, 151, 152, 153, 155. @@ -6,7 +6,7 @@ <project name="javassist" default="jar" basedir="."> - <property name="dist-version" value="javassist-3.16.0-GA"/> + <property name="dist-version" value="javassist-3.16.1-GA"/> <property environment="env"/> <property name="target.jar" value="javassist.jar"/> diff --git a/javassist.jar b/javassist.jar Binary files differnew file mode 100644 index 00000000..e8abb197 --- /dev/null +++ b/javassist.jar @@ -7,7 +7,7 @@ Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java. </description> - <version>3.16.0-GA</version> + <version>3.16.1-GA</version> <name>Javassist</name> <url>http://www.javassist.org/</url> @@ -123,16 +123,26 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>2.3.2</version> <configuration> - <source>1.4</source> - <target>1.4</target> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> +<plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.12</version> + <configuration> + <includes> + <include>javassist/JvstTest.java</include> + </includes> + <forkMode>once</forkMode> + <workingDirectory>runtest</workingDirectory> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> - <version>2.3.1</version> <configuration> <archive> <manifestFile>${project.build.sourceDirectory}/META-INF/MANIFEST.MF</manifestFile> @@ -230,26 +240,40 @@ needed by sample code --> <profile> - <id>default_profile</id> + <id>default-tools</id> <activation> <os> <family>!mac</family> </os> </activation> - <properties> - <toolsjar>${java.home}/../lib/tools.jar</toolsjar> - </properties> + <dependencies> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>${java.version}</version> + <scope>system</scope> + <optional>true</optional> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> + </dependencies> </profile> <profile> - <id>osx_profile</id> + <id>mac-tools</id> <activation> <os> <family>mac</family> </os> </activation> - <properties> - <toolsjar>${java.home}/../Classes/classes.jar</toolsjar> - </properties> + <dependencies> + <dependency> + <groupId>com.sun</groupId> + <artifactId>tools</artifactId> + <version>${java.version}</version> + <scope>system</scope> + <optional>true</optional> + <systemPath>${java.home}/../Classes/classes.jar</systemPath> + </dependency> + </dependencies> </profile> </profiles> <dependencies> @@ -261,3 +285,4 @@ </dependency> </dependencies> </project> + diff --git a/src/main/META-INF/MANIFEST.MF b/src/main/META-INF/MANIFEST.MF index ae4839b5..5702cf2b 100644 --- a/src/main/META-INF/MANIFEST.MF +++ b/src/main/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.1 Specification-Title: Javassist Created-By: Shigeru Chiba Specification-Vendor: Shigeru Chiba, www.javassist.org -Specification-Version: 3.16.0.GA +Specification-Version: 3.16.1.GA Main-Class: javassist.CtClass Name: javassist/ diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index e8115319..44f08c12 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -68,7 +68,7 @@ public abstract class CtClass { /** * The version number of this release. */ - public static final String version = "3.16.0-GA"; + public static final String version = "3.16.1-GA"; /** * Prints the version number and the copyright notice. diff --git a/src/test/javassist/JvstTest4.java b/src/test/javassist/JvstTest4.java index 1f3612d8..f7fcd968 100644 --- a/src/test/javassist/JvstTest4.java +++ b/src/test/javassist/JvstTest4.java @@ -657,7 +657,7 @@ public class JvstTest4 extends JvstTestRoot { long t2 = endTime2 - endTime; long t3 = endTime3 - endTime2; System.out.println("JIRA150: " + t1 + ", " + t2 + ", " + t3); - assertTrue(t2 < t1 * 2); + assertTrue(t2 < t1 * 3); assertTrue(t3 < t1 * 2); } diff --git a/src/test/javassist/JvstTestRoot.java b/src/test/javassist/JvstTestRoot.java index 86d6c1ca..f2dccda3 100644 --- a/src/test/javassist/JvstTestRoot.java +++ b/src/test/javassist/JvstTestRoot.java @@ -5,7 +5,7 @@ import java.lang.reflect.Method; public class JvstTestRoot extends TestCase { // the directory where all compiled class files are found. - public static final String PATH = "../eclipse-output/classes/"; + public static final String PATH = "../target/test-classes/"; // the directory where javassist.jar is found. public static final String JAR_PATH = "../"; |