Differences between revisions 13 and 16 (spanning 3 versions)
Revision 13 as of 2006-08-29 11:40:04
Size: 5905
Editor: ?MarcusBetter
Comment:
Revision 16 as of 2006-08-30 17:02:00
Size: 6357
Editor: ?MarcusBetter
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
|| apache-addressing || http://ws.apache.org/ws-fx/addressing/ || cvsbuild-7-19 ||
|| apache-avalon || http://www.apache.org/dist/avalon/avalon-framework/ || 4.1.5 ||
|| apache-avalon-logkit || http://www.apache.org/dist/avalon/logkit/ || 1.2 ||
|| apache-bcel || http://jakarta.apache.org/bcel/index.html || 5.1 ||
|| apache-beanutils || http://jakarta.apache.org/commons/beanutils/ || 1.6.0 ||
|| apache-bsf || http://jakarta.apache.org/bsf/ || 2.3.0 ||
|| apache-codec || http://jakarta.apache.org/commons/codec/ || 1.2.0 ||
|| apache-collections || http://jakarta.apache.org/commons/collections/ || 2.1 ||
|| apache-crimson || http://jakarta.apache.org/commons/digester/ || 1.1.1 ||
|| apache-digester || http://jakarta.apache.org/commons/digester/ || 1.6 ||
|| apache-discovery || http://jakarta.apache.org/commons/discovery/ || 0.2 ||
|| apache
-fileupload || http://jakarta.apache.org/commons/fileupload/ || 1.0 ||
|| apache-addressing || http://ws.apache.org/ws-fx/addressing/ || cvsbuild-7-19 || || ||
|| apache-avalon || http://www.apache.org/dist/avalon/avalon-framework/ || 4.1.5 || libavalon-framework-java || 4.2.0-3 ||
|| apache-avalon-logkit || http://www.apache.org/dist/avalon/logkit/ || 1.2 || liblogkit-java || 1.2.2-8 ||
|| apache-bcel || http://jakarta.apache.org/bcel/index.html || 5.1 || libbcel-java || 5.1-6 ||
|| apache-beanutils || http://jakarta.apache.org/commons/beanutils/ || 1.6.0 || libcommons-beanutils-java || 1.7.0-4 ||
|| apache-bsf || http://jakarta.apache.org/bsf/ || 2.3.0 || libbsf-java || 2.3.0+cvs20050308a-1 ||
|| apache-codec ||  http://jakarta.apache.org/commons/codec/ || 1.2.0 || libcommons-codec-java || 1.3-4 ||
|| apache-collections || http://jakarta.apache.org/commons/collections/ || 2.1 || libcommons-collections-java || 2.1.1-6 ||
|| apache-crimson || http://xml.apache.org/crimson/ || 1.1.1 || libcrimson-java || 1.1.3-8 ||
|| apache-digester || http://
jakarta.apache.org/commons/digester/ || 1.6 ||libcommons-digester-java || 1.7-2 ||
|| apache-discovery || http://jakarta.apache.org/commons/discovery/ || 0.2 || libcommons-discovery-java || 0.2-9 ||
|| apache-fileupload || http://jakarta.apache.org/commons/fileupload/ || 1.0 || libcommons-fileupload-java || 1.0-14 ||
Line 95: Line 95:
 * use Debian versions of thirdparty packages, where available

JBoss in Debian

?TableOfContents

Thirdparty JARs

The JBoss 4.0.4rc1 source tarball contains several thirdparty packages under thirdparty/ which need to be compiled from source for Debian. This list tries to keep track of the current status:

Package

URL

Version

Debian Package

Debian Version

antlr

http://www.antlr.org/

2.7.6.rc1

antlr

2.7.6

apache-addressing

http://ws.apache.org/ws-fx/addressing/

cvsbuild-7-19

apache-avalon

http://www.apache.org/dist/avalon/avalon-framework/

4.1.5

libavalon-framework-java

4.2.0-3

apache-avalon-logkit

http://www.apache.org/dist/avalon/logkit/

1.2

liblogkit-java

1.2.2-8

apache-bcel

http://jakarta.apache.org/bcel/index.html

5.1

libbcel-java

5.1-6

apache-beanutils

http://jakarta.apache.org/commons/beanutils/

1.6.0

libcommons-beanutils-java

1.7.0-4

apache-bsf

http://jakarta.apache.org/bsf/

2.3.0

libbsf-java

2.3.0+cvs20050308a-1

apache-codec

http://jakarta.apache.org/commons/codec/

1.2.0

libcommons-codec-java

1.3-4

apache-collections

http://jakarta.apache.org/commons/collections/

2.1

libcommons-collections-java

2.1.1-6

apache-crimson

http://xml.apache.org/crimson/

1.1.1

libcrimson-java

1.1.3-8

apache-digester

http://jakarta.apache.org/commons/digester/

1.6

libcommons-digester-java

1.7-2

apache-discovery

http://jakarta.apache.org/commons/discovery/

0.2

libcommons-discovery-java

0.2-9

apache-fileupload

http://jakarta.apache.org/commons/fileupload/

1.0

libcommons-fileupload-java

1.0-14

apache-httpclient

http://jakarta.apache.org/commons/httpclient/

2.0.2

apache-jaxme

http://ws.apache.org/jaxme/

0.2-cvs

apache-lang

http://jakarta.apache.org/commons/lang/

1.0

apache-log4j

http://logging.apache.org/

1.2.8

apache-logging

http://jakarta.apache.org/commons/logging/

1.0.4jboss

apache-modeler

http://jakarta.apache.org/commons/modeler/

1.1patch

apache-myfaces

http://myfaces.apache.org

1.1.1

apache-pool

http://jakarta.apache.org/commons/logging/

1.0.1

apache-scout

http://ws.apache.org/scout/

1.0

apache-slide

http://jakarta.apache.org/slide/index.html

1.0.16

apache-tomcat

http://tomcat.apache.org

5.5.12

tomcat5.5

5.5.15-1

apache-velocity

http://jakarta.apache.org/velocity

1.4jboss

apache-wss4j

http://ws.apache.org/ws-fx/wss4j/

cvs-7-19

apache-xalan

http://xml.apache.org/xalan-j/

j_2.6.0

apache-xerces

http://xml.apache.org/xerces2-j/index.html

2.7.0

apache-xmlsec

http://xml.apache.org/security/index.html

1.2

asm

http://asm.objectweb.org/

3.0_beta

beanshell

http://www.beanshell.org/

1.3.0

cglib

http://cglib.sourceforge.net/

2.1.3

commons-el

http://jakarta.apache.org/commons/el/

1.0

dom4j

http://dom4j.org/

1.6.1jboss

gjt-jpl-util

http://www.gjt.org/pkgdoc/org/gjt/lindfors/util/

1.0

gnu-getopt

http://www.urbanophile.com/arenn/hacking/download.html

1.0.10

gnu-regexp

http://freshmeat.net/projects/gnu.regexp/

1.1.14

hibernate-annotations

http://annotations.hibernate.org

3.1beta8

hibernate

http://hibernate.org/

3.1.2

hibernate-entitymanager

http://entitymanager.hibernate.org/

3.1beta6

hsqldb

http://hsqldb.org/

1.8.0.2

ibm-wsdl4j

http://sourceforge.net/projects/wsdl4j

1.5.1

jacorb

http://www.jacorb.org

2.2.1jboss

jaxen

http://jaxen.codehaus.org/

1.1beta4

jfreechart

http://www.jfree.org/jfreechart/

0.9.20

jgroups

http://www.jgroups.org

2.2.7

joesnmp

http://sourceforge.net/projects/joesnmp

0.3.3

juddi

http://ws.apache.org/juddi/

0.9RC4

junit

http://www.junit.org/index.htm

3.8.1

junitejb

http://sourceforge.net/projects/junitejb

1.4

objectweb-joramtests

1.1

odmg

http://www.odmg.org/

3.0

oswego-concurrent

http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html

1.3.4

qdox

http://qdox.codehaus.org/

1.4

retrotranslator

http://retrotranslator.sourceforge.net/

0.9.6jboss

sleepycat

http://www.sleepycat.com

1.5.2

sun-jaf

http://java.sun.com/products/javabeans/glasgow/jaf.html

1.0.2

sun-javacc

https://javacc.dev.java.net/

3.2

sun-javamail

http://java.sun.com/products/javamail/index.jsp

1.3.1

sun-servlet

trove

http://trove4j.sourceforge.net/

2.1.1

wutka-dtdparser

http://www.wutka.com/dtdparser.html

1.2.1

xdoclet

1.2b3

xml-sax

2.0.x

Building with free tools

java-gcj-compat-dev

Calling build/build.sh (which in turn calls ant) fails very early with:

{{{ init:

_buildmagic:modules:most: BUILD FAILED

java.lang.?NoClassDefFoundError: while resolving class: org.jboss.util.Objects }}} Any hints on why this happens would be appreciated. Nevertheless the build succeeds in these subdirecories:

  • common/
  • jmx/
  • j2ee/
  • naming/

TODO

  • complete the above table
  • use Debian versions of thirdparty packages, where available
  • package missing thirdparty stuff from the above table, that isn't already in Debian
  • use Debian's ant instead of the one shipped with JBoss

  • fix building with a free java compiler

Building the Debian Package from Alioth SVN

 (1) mkdir jboss && cd jboss
 (2) svn co svn://svn.debian.org/pkg-jboss/jboss4/trunk jboss4
 (3) wget http://switch.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.GA-src.tar.gz
 (4) tar zvxf jboss-4.0.4.GA-src.tar.gz
 (5) cd jboss4 && cp -rl ../jboss-4.0.4.GA-src/* .
 (6) debuild
  1. Create a build dir
  2. Checkout debian package source
  3. Get JBoss 4.0.4 from http://labs.jboss.com/portal/jbossas/download

  4. Unpack the upstream source
  5. Copy (actually hardlink) the upstream source into the Debian package source
  6. Build the package


CategoryJava