Author: oheger
Date: Wed Dec 14 12:19:55 2005
New Revision: 356856

URL: http://svn.apache.org/viewcvs?rev=356856&view=rev
Log:
Removed maven.compile.target property from project.properties to support 
building on JDK 1.5; the building documentation was updated in this respect

Modified:
    jakarta/commons/proper/configuration/trunk/project.properties
    jakarta/commons/proper/configuration/trunk/xdocs/building.xml

Modified: jakarta/commons/proper/configuration/trunk/project.properties
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/project.properties?rev=356856&r1=356855&r2=356856&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/project.properties (original)
+++ jakarta/commons/proper/configuration/trunk/project.properties Wed Dec 14 
12:19:55 2005
@@ -36,7 +36,6 @@
 
 
maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src
 
-maven.compile.target = 1.3
 maven.compile.fork = true
 
 
maven.javacc.javacc.grammar=src/java/org/apache/commons/configuration/plist/PropertyListParser.jj

Modified: jakarta/commons/proper/configuration/trunk/xdocs/building.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/configuration/trunk/xdocs/building.xml?rev=356856&r1=356855&r2=356856&view=diff
==============================================================================
--- jakarta/commons/proper/configuration/trunk/xdocs/building.xml (original)
+++ jakarta/commons/proper/configuration/trunk/xdocs/building.xml Wed Dec 14 
12:19:55 2005
@@ -69,7 +69,6 @@
         </section>
         
         <section name="Building with JDK 1.3">
-          <a ref="JDK13"></a>
           <p>
             If you want to build Commons Configuration on a JDK 1.3, you will
             face two problems:
@@ -125,6 +124,28 @@
             If these problems are solved, the build can be performed as
             described above.
           </p>
+        </section>
+
+        <section name="Setting custom build parameters">
+          <p>
+            Both the maven and the ant build script support a file called
+            <code>build.properties</code> that can contain custom properties
+            definitions. If this file exists in the project's root directory,
+            it will be read and the properties it defines will be added to the
+            running build script. This mechanism allows for customizing the
+            build process without the need of changing the main build scripts.
+          </p>
+          <p>
+            One use case for setting custom build properties would be to build
+            for a specific JDK version: If you build the jar on a JDK 1.5 for
+            instance, the classes won't be compatible with older JDK versions.
+            To enforce compatibility you can create a 
<code>build.properties</code>
+            file containing the following maven specific settings:
+          </p>
+          <source><![CDATA[
+maven.compile.source = 1.3
+maven.compile.target = 1.3
+]]></source>
         </section>
     </body>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to