Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release-src > by-pkgid > 680867def7693a79b168b97fef63e6c1 > files > 2

josql-2.2-10.mga7.src.rpm

--- build.xml	2010-12-04 14:43:27.000000000 +0100
+++ build.xml-gil	2012-08-29 01:00:26.860039250 +0200
@@ -11,7 +11,7 @@
   <property name="srcDir" value="./src" />
   <property name="jarName" value="${projectName}-${currVersion}.jar" />
   <property name="docsDir" value="./docs" />
-  <property name="jars" value="./3rd-party-jars/gentlyWEB-utils-1.1.jar" />
+  <property name="jars" value="/usr/share/java/gentlyweb-utils.jar" />
   <property name="binDistTarFileName" value="${projectName}-bin-stable-${currVersion}.tar" />
   <property name="docsDistTarFileName" value="${projectName}-docs-stable-${currVersion}.tar" />
   <property name="docsDistZipFileName" value="${docsDistTarFileName}.gz" />
@@ -44,7 +44,7 @@
 
   <target name="javacc" depends="init">
     <javacc target="data/josql.jj"
-            javacchome="${pathStart}/reference/java/javacc/javacc-4.0"
+            javacchome="/usr/share/java/"
             outputdirectory="src/org/josql/parser" />
   </target>
 
@@ -82,6 +82,8 @@
            debug="on"
            deprecation="on"
            nowarn="on"
+           source="1.5"
+           target="1.5"
            excludes="**/cvs/**,**/gui/**,**/contrib/**">
       <classpath path="${jars}" />
     </javac>
@@ -94,6 +96,8 @@
            debug="on"
            deprecation="on"
            nowarn="on"
+           source="1.5"
+           target="1.5"
            includes="**/contrib/**"
            excludes="**/cvs/**,**/gui/**">
       <classpath path="$(jarName};${jars};${contrib-jars}" />
@@ -110,6 +114,8 @@
            destdir="${buildDir}"
            debug="on"
            deprecation="on"
+           source="1.5"
+           target="1.5"
            excludes="**/cvs/**"
            includes="**/gui/**">
       <classpath path="${jars};${pathStart}/java/jars/gentlyWEB.jar;${pathStart}/java/jars/jdom-1.0.jar;${pathStart}/java/jars/looks-all.jar;${pathStart}/java/jars/looks-win.jar;${pathStart}/java/jars/forms-1.0.5.jar;${pathStart}/java/jars/plastic.jar" />
@@ -129,6 +135,7 @@
              sourcepath="${srcDir}"
              packagenames="${packages}"
              failonerror="true"
+             source="1.5"
              windowtitle="${projectName} ${currVersion} - SQL for Java Objects"
              use="true"
              doctitle="${projectName} ${currVersion}"
@@ -139,7 +146,7 @@
              bottom="&lt;center>&lt;dd>&lt;a href='http://sourceforge.net'>&lt;img border='0' height='31' width='88' title='SourceForge' src='http://sourceforge.net/sflogo.php?group_id=josql&amp;type=1' />&amp;#160;&amp;#160;&lt;/a>Copyright &amp;#169; ${year} Gary Bentley. All Rights Reserved.&lt;/dd>&lt;/center>"
              classpath="${jars}">
 
-       <link href="http://java.sun.com/j2se/1.4.2/docs/api" />
+       <link href="/usr/share/javadoc/java" />
 <!--
        <link href="http://jasperreports.sourceforge.net/api/index.html" />
 
@@ -225,6 +232,8 @@
            deprecation="on"
            nowarn="on"
            includes="Test.java"
+           source="1.5"
+           target="1.5"
            excludes="**/cvs/**,**/gui/**">
       <classpath path="${jars}:${jarName}" />
     </javac>