]> source.dussan.org Git - javassist.git/commitdiff
3.16.1-GA release rel_3_16_1_ga
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Mon, 5 Mar 2012 17:49:29 +0000 (17:49 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Mon, 5 Mar 2012 17:49:29 +0000 (17:49 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@623 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

Readme.html
build.xml
javassist.jar [new file with mode: 0644]
pom.xml
src/main/META-INF/MANIFEST.MF
src/main/javassist/CtClass.java
src/test/javassist/JvstTest4.java
src/test/javassist/JvstTestRoot.java

index b2e41317c85b9675b8fe7b034d0d740deee57dd4..a0c1952316aca5e61154edadb4359047f10bc267 100644 (file)
@@ -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.
index cb93db49dd95c97de732b48e31a3460628ef92b8..e2e87f75bd949a67c2fbe46a54403f40caaf84ba 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -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
new file mode 100644 (file)
index 0000000..e8abb19
Binary files /dev/null and b/javassist.jar differ
diff --git a/pom.xml b/pom.xml
index 9ae98be0730f521563c36c5d0de197109c2a919c..e7bfdc19adaf819a02eaccff2b74039261e93f8f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -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>
 
       <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>
         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>
     </dependency>
   </dependencies>
 </project>
+
index ae4839b5241bbb203efd7082025c320e58abbf0e..5702cf2b7447cdef74e7e2c67d5449ef9e4aaa38 100644 (file)
@@ -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/
index e81153190c27e58d41e24a5ff5ffc26ce74f824a..44f08c128f5dea4b82b99393ff9ce5bef3ddd97d 100644 (file)
@@ -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.
index 1f3612d8cc67311e8e8d9db7c7bf69c259b15ba7..f7fcd96854ad128f7f6aca1671f8fa0548ee1b5b 100644 (file)
@@ -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);
     }
 
index 86d6c1ca02268f1afd44e6b373ba5763161d9c11..f2dccda378c42eb21f51a7102773b908944bfd50 100644 (file)
@@ -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 = "../";