tags 304167 +patch
retitle 304167 xml-soap: FTBFS: 'activation.jar' missing
thanks

I finally found a patch which allows to build the package with
dpkg-buildpackage.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xml-soap-2.3.1/debian/README.Debian ./debian/README.Debian
--- ../tmp-orig/xml-soap-2.3.1/debian/README.Debian     2005-04-11 
15:11:20.833537531 +0200
+++ ./debian/README.Debian      2005-04-11 15:11:18.964887885 +0200
@@ -4,8 +4,13 @@
 - Currently, SOAP is compiled with BSF and EJB, POP3, SMTP, SSL.
   XMI are disabled. 
 
-- You must set CLASSPATH to mailapi.jar which is gotten from 
-  http://java.sun.com/products/javamail/.
+- To build the package you must obtain the files
+
+   mailapi.jar    (http://java.sun.com/products/javamail/) and
+   activation.jar (http://java.sun.com/products/javabeans/jaf/)
+
+   and install those files in /usr/local/share/java.
+
 
-- soap.war is placesed at /usr/share/java/webapps/soap.war
+- soap.war is placed at /usr/share/java/webapps/soap.war
 
diff -urN ../tmp-orig/xml-soap-2.3.1/debian/control ./debian/control
--- ../tmp-orig/xml-soap-2.3.1/debian/control   2005-04-11 15:11:20.831537905 
+0200
+++ ./debian/control    2005-04-11 15:08:29.106815731 +0200
@@ -2,7 +2,7 @@
 Section: contrib/libs
 Priority: optional
 Maintainer: Takashi Okamoto <[EMAIL PROTECTED]>
-Build-Depends-Indep: 
debhelper(>>3.0.0),ant,junit,libxerces-java,libbsf-java,libservlet2.2-java,j2sdk1.3
 | j2sdk1.2
+Build-Depends-Indep: debhelper, j2sdk1.4, ant, junit, libxerces-java, 
libbsf-java, libservlet2.2-java
 Standards-Version: 3.5.2
 
 Package: libsoap-java
diff -urN ../tmp-orig/xml-soap-2.3.1/debian/rules ./debian/rules
--- ../tmp-orig/xml-soap-2.3.1/debian/rules     2005-04-11 15:11:20.832537718 
+0200
+++ ./debian/rules      2005-04-11 15:08:29.107815542 +0200
@@ -11,22 +11,17 @@
 
 version=2.2
 
-# Uncomment the next line to build a Java 2 version
-export JAVA_HOME=/usr/local/j2sdk1.4.0_01
-export JAVA=${JAVA_HOME}/bin/java
-export JAR=${JAVA_HOME}/bin/jar
-# write about optional jar here.
+JAVA_HOME_DIRS=/usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm 
/usr/lib/j2sdk1.4-blackdown
+export JAVA_HOME ?= $(shell for j in $(JAVA_HOME_DIRS); do if [ -d "$$j" ]; 
then echo $$j; exit 0; fi; done)
 export 
CLASSPATH=${JAVA_HOME}/jre/lib/rt.jar:/usr/share/java/ant.jar:/usr/share/java/xerces.jar:/usr/share/java/servlet-2.2.jar:/usr/share/java/bsf.jar:/usr/share/java/junit.jar:/usr/local/share/java/activation.jar:/usr/local/share/java/mail.jar:/usr/local/share/java/mailapi.jar:/usr/local/share/java/pop3.jar:/usr/local/share/java/smtp.jar:/usr/local/share/java/ejb.jar:/usr/local/share/java/jsse.jar:/usr/local/share/java/jnet.jar:/usr/local/share/java/jsse.jar:${JAVA_HOME}/lib/tools.jar:.
 
 
-
-
 build: build-stamp
 build-stamp:
        dh_testdir
 
        # Add here commands to compile the package.
-       ${JAVA} org.apache.tools.ant.Main compile buildwar javadocs
+       ant compile buildwar javadocs
 
        touch build-stamp
 
@@ -36,8 +31,7 @@
        rm -f build-stamp
        rm -f TEST-test.encoding.soapenc.PackageTests.txt 
        # Add here commands to clean up after the build process.
-       ${JAVA} org.apache.tools.ant.Main clean
-#      ant clean
+       ant clean
 
        dh_clean
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to