git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@50 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
@@ -236,7 +236,13 @@ with a web browser running | |||
on the local host. | |||
(Or, see <a href="sample/evolve/start.html">sample/evolve/start.html</a>.) | |||
<h3>8. Hints</h3> | |||
<h2>Hints</h2> | |||
<p>To know the version number, type this command: | |||
<ul><pre> | |||
% java -jar javassist.jar | |||
</pre></ul> | |||
<p>Javassist provides a class file viewer for debugging. For more details, | |||
see javassist.Dump. | |||
@@ -248,6 +254,7 @@ see javassist.Dump. | |||
<p>- version 2.7 in October, 2003. | |||
<ul> | |||
<li>CtClass.main(), which prints the version number, has been added. | |||
<li>ClassPool.SimpleLoader has been public. | |||
<li>javassist.bytecode.DeprecatedAttribute has been added. | |||
<li>javassist.bytecode.LocalVariableAttribute has been added. |
@@ -61,7 +61,7 @@ to ${build.classes.dir}.</echo> | |||
</target> | |||
<target name="jar" depends="compile"> | |||
<jar jarfile="javassist.jar"> | |||
<jar jarfile="javassist.jar" manifest="${src.dir}/META-INF/MANIFEST.MF"> | |||
<fileset dir="${build.classes.dir}"> | |||
<include name="**/*.class"/> | |||
</fileset> |
@@ -1,7 +1,8 @@ | |||
Manifest-Version: 1.0 | |||
Manifest-Version: 1.1 | |||
Specification-Title: Javassist | |||
Created-By: Shigeru Chiba, Tokyo Institute of Technology | |||
Specification-Vendor: Shigeru Chiba, Tokyo Institute of Technology | |||
Specification-Version: 2.7 | |||
Name: javassist/ | |||
Main-Class: javassist.CtClass | |||
Name: javassist/ |
@@ -35,7 +35,16 @@ public abstract class CtClass { | |||
/** | |||
* The version number of this release. | |||
*/ | |||
public static final String version = "2.7"; | |||
public static final String version = "2.7 beta 1"; | |||
/** | |||
* Prints the version number and the copyright notice. | |||
*/ | |||
public static void main(String[] args) { | |||
System.out.println("Javassist version " + CtClass.version); | |||
System.out.println("Copyright (C) 1999-2003 Shigeru Chiba." | |||
+ " All Rights Reserved."); | |||
} | |||
static final String javaLangObject = "java.lang.Object"; | |||