<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.
<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"/>
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>
+
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/
/**
* 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.
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);
}
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 = "../";