[Pcsclite-cvs-commit] r296 - in /trunk/MCardApplet: Cflex.properties common.xml

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Dec 16 09:58:24 UTC 2009


Author: rousseau
Date: Wed Dec 16 09:58:24 2009
New Revision: 296

URL: http://svn.debian.org/wsvn/muscleplugins/?sc=1&rev=296
Log:
"The attached patch contains my modifications to the build process to do
a cross build for the ancient Java Virtual Machine required by my
Gemalto TOP IM FIPS CY2 (Cyberflex Access 64k v2) My experience is that
the old version of the java jdk no longer runs on recent versions of
Linux due to library incompatibilities.

I did the following changes to the common.xml ant build script:
- modify the ant build script to set "target" and "source" versions of
  the jvm
- add a bootclasspath variable that should point to the location of the
  low-level VM routines of the target JVM Modify Cflex.properties to use
  the debian-installed java jdk and set some new variables used by ant
  needed for the cross-build"

Alioth bug [#312146] Patch: Cross-build for ancient Java VM 

Modified:
    trunk/MCardApplet/Cflex.properties
    trunk/MCardApplet/common.xml

Modified: trunk/MCardApplet/Cflex.properties
URL: http://svn.debian.org/wsvn/muscleplugins/trunk/MCardApplet/Cflex.properties?rev=296&op=diff
==============================================================================
--- trunk/MCardApplet/Cflex.properties (original)
+++ trunk/MCardApplet/Cflex.properties Wed Dec 16 09:58:24 2009
@@ -1,6 +1,9 @@
 CARD_NAME=Cflex
-JAVA_BUILD_HOME=${basedir}/depends/jdk1.2.2
+JAVA_BUILD_HOME=/usr
 JC_HOME=${basedir}/depends/jc212
 API_JAR=${JC_HOME}/lib/api21.jar
 API_EXPORT_FILES=${JC_HOME}/api21_export_files
 CAPTRANS=${basedir}/depends/jc212/bin/captransf.jar
+VM_SOURCE_VERSION=1.2
+VM_TARGET_VERSION=1.1
+BOOTCLASSPATH=${basedir}/depends/jdk1.2.2/depends/jdk1.2.2/lib

Modified: trunk/MCardApplet/common.xml
URL: http://svn.debian.org/wsvn/muscleplugins/trunk/MCardApplet/common.xml?rev=296&op=diff
==============================================================================
--- trunk/MCardApplet/common.xml (original)
+++ trunk/MCardApplet/common.xml Wed Dec 16 09:58:24 2009
@@ -61,7 +61,12 @@
 	        fork="true"
 	        executable="${JAVA_BUILD_HOME}/bin/javac"
 	        srcdir="${APPLET_SRC}"
-			destdir="${OUTPUT_DIR}">
+	        destdir="${OUTPUT_DIR}"
+                target="${VM_TARGET_VERSION}"
+                source="${VM_SOURCE_VERSION}">
+                <bootclasspath>
+                    <pathelement location="${BOOTCLASSPATH}"/>
+                </bootclasspath>
 	        <classpath>
 	            <pathelement location="${API_JAR}"/>
 	            <pathelement location="."/>




More information about the Pcsclite-cvs-commit mailing list