added instructions for building a release

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@164715 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Caswell 2005-04-26 02:03:10 +00:00
parent 123bbb1eb9
commit f768e6d6b5
1 changed files with 14 additions and 0 deletions

View File

@ -151,6 +151,20 @@ project.properties <b>maven.jar.clover</b> property. For example, if
name should be <b>clover-1.3.2.license</b>.</li>
</ul>
</p>
<h4>Building a Release</h4>
<p>
Commons Lang is intented to interoperate with Java version 1.2 and higher. To
achieve this, the distribution must be built with JDK 1.2. Why? Over time the
base JDK has changed. Building with JDK 1.4 would make some things in Commons
Lang not run with prior libraries. For example, new StringBuffer(StringBuffer)
was added after JDK1.2, but compiling under 1.4 could link to it. Run the code
under 1.2 and you get a NoSuchMethodError.
</p>
<p>
To build a release, the distribution should be build with Ant using JDK 1.2.
The Ant target <b>dist-build</b> in build.xml can be used to do this. The
site can be build with Maven.
</p>
</section>
</body>
</document>