From f768e6d6b50f1b99ffb46ed0f928659540f2581a Mon Sep 17 00:00:00 2001 From: Steven Caswell Date: Tue, 26 Apr 2005 02:03:10 +0000 Subject: [PATCH] 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 --- xdocs/developerguide.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/xdocs/developerguide.xml b/xdocs/developerguide.xml index 0b28cd3a4..80f5dd5a4 100644 --- a/xdocs/developerguide.xml +++ b/xdocs/developerguide.xml @@ -151,6 +151,20 @@ project.properties maven.jar.clover property. For example, if name should be clover-1.3.2.license.

+

Building a Release

+

+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. +

+

+To build a release, the distribution should be build with Ant using JDK 1.2. +The Ant target dist-build in build.xml can be used to do this. The +site can be build with Maven. +