ggregory 2004/10/20 17:36:37 Modified: lang project.properties build.xml Log: Allow Java 1.5 to be used to build with Maven. Revision Changes Path 1.13 +14 -1 jakarta-commons/lang/project.properties Index: project.properties =================================================================== RCS file: /home/cvs/jakarta-commons/lang/project.properties,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- project.properties 27 Jun 2004 18:22:09 -0000 1.12 +++ project.properties 21 Oct 2004 00:36:37 -0000 1.13 @@ -27,7 +27,20 @@ # The Sun Javadoc for versions prior to 1.3 are off-line. maven.javadoc.links=http://java.sun.com/j2se/1.3/docs/api/ +maven.javadoc.source=1.3 # This links to the current stable version. We could have LANG_CURRENT, but this # is simpler to manage at the moment. maven.jdiff.old.tag=LANG_2_0 + +# Generate class files for specific VM version (e.g., 1.1 or 1.2). +# Note that the default value depends on the JVM that is running Ant. +# In particular, if you use JDK 1.4+ the generated classes will not be usable +# for a 1.1 Java VM unless you explicitly set this attribute to the value 1.1 +# (which is the default value for JDK 1.1 to 1.3). +maven.compile.target = 1.1 + +# Specifies the source version for the Java compiler. +# Corresponds to the source attribute for the ant javac task. +# Valid values are 1.3, 1.4, 1.5. +maven.compile.source = 1.3 \ No newline at end of file 1.32 +3 -2 jakarta-commons/lang/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-commons/lang/build.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- build.xml 21 Oct 2004 00:21:39 -0000 1.31 +++ build.xml 21 Oct 2004 00:36:37 -0000 1.32 @@ -101,7 +101,8 @@ windowtitle="${component.title} (Version ${component.version})" bottom="Copyright &copy; 2001-2003 - Apache Software Foundation" use="true" - link="${jdk.javadoc}"> + link="${jdk.javadoc}" + source="${compile.source}"> <classpath refid="compile.classpath"/> </javadoc> </target>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
