Josias Thöny wrote:

[...]

-        source="1.4">
+        source="${{java.version}}">

Here the property is called java.version, and above it's
src.java.version. Is this intended, or is it a typo?

It might have something to do with the error Jörn mentioned:
javac: invalid source release: 1.5.0_07

This problem doesn't occur on my machine, though.


Thanks for pointing this out, I reopened the bug.

-- Andreas


Josias



         <src path="{$src}/java/test"/>
         <classpath refid="module.test-classpath.{$id}"/>
       </javac>
@@ -323,4 +323,4 @@
   </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>

Modified: lenya/trunk/src/targets/compile-build.xml
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/targets/compile-build.xml?rev=433597&r1=433596&r2=433597&view=diff
==============================================================================
--- lenya/trunk/src/targets/compile-build.xml (original)
+++ lenya/trunk/src/targets/compile-build.xml Tue Aug 22 04:19:29 2006
@@ -55,7 +55,7 @@
       deprecation="${deprecation}"
       target="${target.vm}"
       nowarn="${nowarn}"
-      source="1.4">
+      source="${src.java.version}">
       <src path="${compile.src.dir}"/>
       <classpath refid="${compile.classpath}"/>
     </javac>

Modified: lenya/trunk/src/targets/docs-build.xml
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/targets/docs-build.xml?rev=433597&r1=433596&r2=433597&view=diff
==============================================================================
--- lenya/trunk/src/targets/docs-build.xml (original)
+++ lenya/trunk/src/targets/docs-build.xml Tue Aug 22 04:19:29 2006
@@ -53,7 +53,7 @@
              doctitle="${Name}"
              bottom="Copyright &#169; ${year} Apache Software Foundation. All 
Rights Reserved."
              stylesheetfile="${src.resource.dir}/javadoc.css"
-             source="1.4">
+             source="${src.java.version}">
       <!-- sources -->
       <sourcepath>
          <pathelement path="${src.java.api.dir}"/>

Modified: lenya/trunk/src/targets/properties-build.xml
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/targets/properties-build.xml?rev=433597&r1=433596&r2=433597&view=diff
==============================================================================
--- lenya/trunk/src/targets/properties-build.xml (original)
+++ lenya/trunk/src/targets/properties-build.xml Tue Aug 22 04:19:29 2006
@@ -32,7 +32,7 @@
   <property file="build.properties"/>
<condition property="local.properties.in.sync">
-    <equals arg1="${build.properties.version}" arg2="416750"/>
+    <equals arg1="${build.properties.version}" arg2="433561"/>
   </condition>
<fail unless="local.properties.in.sync" message="It seems that your local.build.properties is NOT in sync with build.properties! The file build.properties has probably been modified by some Apache Lenya developer. Re-copy build.properties to local.build.properties and re-set your local properties to get the two files back in sync. Please apologize any inconvenience."/>

Modified: lenya/trunk/src/targets/test-build.xml
URL: 
http://svn.apache.org/viewvc/lenya/trunk/src/targets/test-build.xml?rev=433597&r1=433596&r2=433597&view=diff
==============================================================================
--- lenya/trunk/src/targets/test-build.xml (original)
+++ lenya/trunk/src/targets/test-build.xml Tue Aug 22 04:19:29 2006
@@ -94,7 +94,7 @@
            deprecation="{deprecation}"
            target="${target.vm}"
            fork="true"
-           source="1.4">
+           source="${src.java.version}">
       <classpath refid="classpath.test"/>
     </javac>


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




--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


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

Reply via email to