You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ws...@apache.org on 2007/03/09 06:00:34 UTC

svn commit: r516302 - /maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt

Author: wsmoak
Date: Thu Mar  8 21:00:34 2007
New Revision: 516302

URL: http://svn.apache.org/viewvc?view=rev&rev=516302
Log:
Modify the example to use a property for the java home directory, as seen in Surefire.

Modified:
    maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt

Modified: maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt?view=diff&rev=516302&r1=516301&r2=516302
==============================================================================
--- maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt (original)
+++ maven/plugins/trunk/maven-compiler-plugin/src/site/apt/examples/compile-using-different-jdk.apt Thu Mar  8 21:00:34 2007
@@ -57,12 +57,12 @@
   property.  For example:
 
 +-------
-          <executable>${jdk14.executable}</executable>
+          <executable>${JAVA_1_4_HOME}/bin/javac</executable>
 +-------
 
   Each developer then defines this property in
   {{{http://maven.apache.org/ref/current/maven-settings/settings.html}settings.xml}},
-  so that the build remains portable.
+  or sets an environment variable, so that the build remains portable.
 
 +-------
 <settings>
@@ -72,7 +72,7 @@
     <profile>
       <id>compiler</id>
         <properties>
-          <jdk14.executable>C:\Program Files\Java\j2sdk1.4.2_09\bin\javac.exe</jdk14.executable>
+          <JAVA_1_4_HOME>C:\Program Files\Java\j2sdk1.4.2_09</JAVA_1_4_HOME>
         </properties>
     </profile>
   </profiles>