Size: 5900
Comment: Update for 4.0.4
|
Size: 5901
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 105: | Line 105: |
(4) tar zxf jboss-4.0.4.GA-src.tar.gz | (4) tar zvxf jboss-4.0.4.GA-src.tar.gz |
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 |
2.7.6.rc1 |
antlr |
2.7.6 |
|
apache-addressing |
cvsbuild-7-19 |
|||
apache-avalon |
4.1.5 |
|||
apache-avalon-logkit |
1.2 |
|||
apache-bcel |
5.1 |
|||
apache-beanutils |
1.6.0 |
|||
apache-bsf |
2.3.0 |
|||
apache-codec |
1.2.0 |
|||
apache-collections |
2.1 |
|||
apache-crimson |
1.1.1 |
|||
apache-digester |
1.6 |
|||
apache-discovery |
0.2 |
|||
apache-fileupload |
1.0 |
|||
apache-httpclient |
2.0.2 |
|||
apache-jaxme |
0.2-cvs |
|||
apache-lang |
1.0 |
|||
apache-log4j |
1.2.8 |
|||
apache-logging |
1.0.4jboss |
|||
apache-modeler |
1.1patch |
|||
apache-myfaces |
1.1.1 |
|||
apache-pool |
1.0.1 |
|||
apache-scout |
1.0 |
|||
apache-slide |
1.0.16 |
|||
apache-tomcat |
5.5.12 |
tomcat5 |
5.0.30 |
|
apache-velocity |
1.4jboss |
|||
apache-wss4j |
cvs-7-19 |
|||
apache-xalan |
j_2.6.0 |
|||
apache-xerces |
2.7.0 |
|||
apache-xmlsec |
1.2 |
|||
asm |
3.0_beta |
|||
beanshell |
1.3.0 |
|||
cglib |
2.1.3 |
|||
commons-el |
1.0 |
|||
dom4j |
1.6.1jboss |
|||
gjt-jpl-util |
1.0 |
|||
gnu-getopt |
1.0.10 |
|||
gnu-regexp |
1.1.14 |
|||
hibernate-annotations |
3.1beta8 |
|||
hibernate |
3.1.2 |
|||
hibernate-entitymanager |
3.1beta6 |
|||
hsqldb |
1.8.0.2 |
|||
ibm-wsdl4j |
1.5.1 |
|||
jacorb |
2.2.1jboss |
|||
jaxen |
1.1beta4 |
|||
jfreechart |
0.9.20 |
|||
jgroups |
2.2.7 |
|||
joesnmp |
0.3.3 |
|||
juddi |
0.9RC4 |
|||
junit |
3.8.1 |
|||
junitejb |
1.4 |
|||
objectweb-joramtests |
|
1.1 |
||
odmg |
3.0 |
|||
oswego-concurrent |
http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html |
1.3.4 |
||
qdox |
1.4 |
|||
retrotranslator |
0.9.6jboss |
|||
sleepycat |
1.5.2 |
|||
sun-jaf |
1.0.2 |
|||
sun-javacc |
3.2 |
|||
sun-javamail |
1.3.1 |
|||
sun-servlet |
|
|
||
trove |
2.1.1 |
|||
wutka-dtdparser |
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.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
- Create a build dir
- Checkout debian package source
Get JBoss 4.0.4 from http://labs.jboss.com/portal/jbossas/download
- Unpack the upstream source
- Copy (actually hardlink) the upstream source into the Debian package source
- Build the package