Differences between revisions 2 and 8 (spanning 6 versions)
Revision 2 as of 2006-03-14 11:32:02
Size: 4569
Editor: ?Guido Günther
Comment:
Revision 8 as of 2006-06-26 09:35:41
Size: 5850
Editor: ?Guido Günther
Comment: update build instructions
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== JBoss in Debian == = JBoss in Debian =
Line 3: Line 3:
=== Thirdparty JARs === == Thirdparty JARs ==
Line 71: Line 71:


== 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
 * 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.2-src.tar.gz
 (4) tar zxf jboss4-4.0.2-src.tar.gz
 (5) cd jboss4 && cp -rl ../jboss4-4.0.2-src/* .
 (6) debuild
}}}
 1. Create a build dir
 2. Checkout debian package source
 3. Get JBoss 4.0.2 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

JBoss in Debian

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

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-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.0.30

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
  • 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.2-src.tar.gz
 (4) tar zxf jboss4-4.0.2-src.tar.gz
 (5) cd jboss4 && cp -rl ../jboss4-4.0.2-src/* .
 (6) debuild
  1. Create a build dir
  2. Checkout debian package source
  3. Get JBoss 4.0.2 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