Differences between revisions 34 and 35
Revision 34 as of 2008-11-20 16:50:19
Size: 9871
Comment:
Revision 35 as of 2008-11-20 16:52:43
Size: 9848
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
post_upload_command = ssh alioth.debian.org mini-dinstall -b -c /home/groups/pkg-jboss/.mini-dinstall.conf post_upload_command = ssh alioth.debian.org /home/groups/pkg-jboss/mini-dinstall.sh

?TableOfContents

package and git repository

Use the following snippet for your sources.list:

deb http://pkg-jboss.alioth.debian.org unstable/i386/
deb http://pkg-jboss.alioth.debian.org unstable/all/
deb-src http://pkg-jboss.alioth.debian.org unstable/source/

If you are member of the group pkg-jboss you can upload with the following dput configuration:

[pkg-jboss]
method = scp
fqdn = alioth.debian.org
incoming = /home/groups/pkg-jboss/htdocs/incoming/
post_upload_command = ssh alioth.debian.org /home/groups/pkg-jboss/mini-dinstall.sh

A git repo has been requested.

JBoss 5 TODOs/plan

jboss/hibernate related packages (only)

jbossas5

  • not yet started
  • define the layout of the binary packages FIRST
  • create a inofficial package jbossas5-libs with all jar files that are not packaged for Debian but needed for the app server
  • create a transitional package jbossas5 that (Build-)Depends: jbossas5-libs
  • build a minimal package that can be uploaded to main

The following packages might be needed for jbossas5 but the list must be checked again.

jacorb

xmlsec

  • preliminary package available at p.d.o/~twerner

libjboss-web-services-java

  • very minimal package from old upstream code
  • package should be updated

istack-commons

rngom

txw

xsom

jaxb

  • the JAXB API is already in Debian: libjaxme-java
  • https://jaxb.dev.java.net/

  • blocked by codemodel, com.sun.xml.dtdparser?, istack-commons-runtime, istack-commons-tools, rngom, txw, xsom
  • Build-Depends: glassfish-activation, xml-commons-resolver1.1

jpl

Information about jboss 4

Open bugs

We use [http://lists.debian.org/debian-devel-announce/2005/09/msg00002.html BTS usertags] with user pkg-jboss-maintainer@lists.alioth.debian.org to keep track of bugs.

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

Version

Debian Package

Version

[http://www.antlr.org/ antlr]

2.7.6.rc1

antlr

2.7.6

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

cvsbuild-7-19

[http://www.apache.org/dist/avalon/modeavalon-framework/ apache-avalon]

4.1.5

libavalon-framework-java

4.2.0-3

[http://www.apache.org/dist/avalon/logkit/ apache-avalon-logkit]

1.2

liblogkit-java

1.2.2-8

[http://jakarta.apache.org/bcel/index.html apache-bcel]

5.1

libbcel-java

5.1-6

[http://jakarta.apache.org/commons/beanutils/ apache-beanutils]

1.6.0

libcommons-beanutils-java

1.7.0-4

[http://jakarta.apache.org/bsf/ apache-bsf]

2.3.0

libbsf-java

2.3.0+cvs20050308a-1

[http://jakarta.apache.org/commons/codec/ apache-codec]

1.2.0

libcommons-codec-java

1.3-4

[http://jakarta.apache.org/commons/collections/ apache-collections]

2.1

libcommons-collections-java

2.1.1-6

[http://xml.apache.org/crimson/ apache-crimson]

1.1.1

libcrimson-java

1.1.3-8

[http://jakarta.apache.org/commons/digester/ apache-digester]

1.6

libcommons-digester-java

1.7-2

[http://jakarta.apache.org/commons/discovery/ apache-discovery]

0.2

libcommons-discovery-java

0.2-9

[http://jakarta.apache.org/commons/fileupload/ apache-fileupload]

1.0

libcommons-fileupload-java

1.0-14

[http://jakarta.apache.org/commons/httpclient/ apache-httpclient]

2.0.2

libcommons-httpclient-java

2.0.2-2

[http://ws.apache.org/jaxme/ apache-jaxme]

0.2-cvs

[http://jakarta.apache.org/commons/lang/ apache-lang]

1.0

libcommons-lang-java

2.1-1

[http://logging.apache.org/ apache-log4j]

1.2.8

liblog4j1.2-java

1.2.13-1

[http://jakarta.apache.org/commons/logging/ apache-logging]

1.0.5.GA-jboss

libcommons-logging-java

1.0.4-5

[http://jakarta.apache.org/commons/modeler/ apache-modeler]

1.1patch

libcommons-modeler-java

1.1-8

[http://myfaces.apache.org apache-myfaces]

1.1.1

[http://jakarta.apache.org/commons/pool/ apache-pool]

1.0.1

libcommons-pool-java

1.2-5

[http://ws.apache.org/scout/ apache-scout]

1.0

[http://jakarta.apache.org/slide/index.html apache-slide]

1.0.16

[http://tomcat.apache.org apache-tomcat]

5.5.12

tomcat5.5

5.5.15-1

[http://jakarta.apache.org/velocity apache-velocity]

1.4jboss

velocity

1.4-5

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

cvs-7-19

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

j_2.6.0

libxalan2-java

2.6.0-6

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

2.7.0

libxerces2-java

2.8.0-0

[http://xml.apache.org/security/index.html apache-xmlsec]

1.2

[http://asm.objectweb.org/ asm]

3.0_beta

libasm-java

1.5.3-4

[http://www.beanshell.org/ beanshell]

1.3.0

bsh

2.0b4-4

[http://cglib.sourceforge.net/ cglib]

2.1.3

[http://jakarta.apache.org/commons/el/ commons-el]

1.0

libcommons-el-java

1.0-3

[http://dom4j.org/ dom4j]

1.6.1jboss

libdom4j-java

1.6.1+dfsg-2

[http://www.gjt.org/pkgdoc/org/gjt/lindfors/util/ gjt-jpl-util]

1.0

[http://www.urbanophile.com/arenn/hacking/download.html gnu-getopt]

1.0.10

libgetopt-java

1.0.11-2

[http://freshmeat.net/projects/gnu.regexp/ gnu-regexp]

1.1.14

libgnu-regexp-java

1.4-3

[http://annotations.hibernate.org hibernate-annotations]

3.1beta8

[http://hibernate.org/ hibernate]

3.1.2

[http://entitymanager.hibernate.org/ hibernate-entitymanager]

3.1beta6

[http://hsqldb.org/ hsqldb]

1.8.0.2

libhsqldb-java

1.8.0.2-2

[http://sourceforge.net/projects/wsdl4j ibm-wsdl4j]

1.5.1

[http://www.jacorb.org jacorb]

2.2.1jboss

[http://jaxen.codehaus.org/ jaxen]

1.1beta4

libjaxen-java

1.0FCS-3

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

0.9.20

libjfreechart-java

1.0.1-1

[http://www.jgroups.org jgroups]

2.2.7

[http://sourceforge.net/projects/joesnmp joesnmp]

0.3.3

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

0.9RC4

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

3.8.1

junit

3.8.1.1-7

[http://sourceforge.net/projects/junitejb junitejb]

1.4

objectweb-joramtests

1.1

[http://www.odmg.org/ odmg]

3.0

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

1.3.4

[http://qdox.codehaus.org/ qdox]

1.4

[http://retrotranslator.sourceforge.net/ retrotranslator]

0.9.6jboss

[http://www.sleepycat.com sleepycat]

1.5.2

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

1.0.2

[https://javacc.dev.java.net/ sun-javacc]

3.2

javacc

3.2+0-3

[http://java.sun.com/products/javamail/index.jsp sun-javamail]

1.3.1

sun-servlet

libservlet2.4-java

[http://trove4j.sourceforge.net/ trove]

2.1.1

[http://www.wutka.com/dtdparser.html wutka-dtdparser]

1.2.1

[http://xdoclet.sourceforge.net/ 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 -us -uc
  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