Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2006 18:51:58 +0300 (EEST)
From:      Anton Yudin <toha@toha.org.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96922: solve jdk1.5 incompatibility in jakarta-commons-pool
Message-ID:  <200605071551.k47Fpwpw002364@pandemonium.toha.org.ua>
Resent-Message-ID: <200605071600.k47G0Zop070654@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96922
>Category:       ports
>Synopsis:       solve jdk1.5 incompatibility in jakarta-commons-pool
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 07 16:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anton Yudin
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD pandemonium.toha.org.ua 6.1-RC FreeBSD 6.1-RC #0: Mon Apr 17 21:40:22 EEST 2006 root@pandemonium.toha.org.ua:/obj/obj/usr/src/sys/NKERNEL i386


>Description:
	Solve jdk1.5 incompatibility in jakarta-commons-pool.
>How-To-Repeat:
>Fix:
pub patch-build.xml file into files directory.
patch-build.xml:
--- build.xml.orig	Sun Mar 19 13:45:07 2006
+++ build.xml	Sun Mar 19 13:45:41 2006
@@ -93,7 +93,8 @@
                noindex="false"
                nohelp="true"
                nonavbar="false"
-               serialwarn="false">
+               serialwarn="false"
+               source="1.2">
           <link href="http://java.sun.com/j2se/1.4.2/docs/api"/>;
       </javadoc>
    </target>
@@ -107,7 +108,8 @@
              classpath="${classpath}"
              debug="${javac.debug}"
              deprecation="${javac.deprecation}"
-             optimize="${javac.optimize}"/>
+             optimize="${javac.optimize}"
+             source="1.2"/>
    </target>
    
    <target name="compile-test" depends="compile">
@@ -116,7 +118,8 @@
              srcdir="${src.test.dir}"
              debug="${javac.debug}"
              deprecation="${javac.deprecation}"
-             optimize="${javac.optimize}">
+             optimize="${javac.optimize}"
+             source="1.2">
         <classpath>
           <pathelement location="${build.classes.dir}" /> 
           <pathelement location="${build.test-classes.dir}" /> 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605071551.k47Fpwpw002364>