Size: 10371
Comment: add link to javacc related bug
|
← Revision 64 as of 2010-05-22 20:22:48 ⇥
Size: 12105
Comment: Add a note about local maven mirror
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
[[TableOfContents]] | <<TableOfContents>> |
Line 11: | Line 11: |
To install the JBoss application server run {{{ apt-get install jbossas5 }}} Please report bugs at the Tracker at [[http://alioth.debian.org/projects/pkg-jboss/]]. There is a mailing list that can be subscribed at [[http://lists.alioth.debian.org/mailman/listinfo/pkg-jboss-maintainer]]. |
|
Line 23: | Line 30: |
= JBoss 5 TODOs/plan = == jbossas5 == * 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 == joesnmp/opennms == * old upstream code shipped with jbossas5 is available at http://sourceforge.net/projects/joesnmp/ * but current upstream is http://sourceforge.net/projects/opennms/ but incompatible with jboss * see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191158#4191158 for more info * there is some packaging of opennms by the pkg-java project but this package has not been uploaded yet The following packages might be needed for jbossas5 but the list must be checked again. == javacc == * see https://jira.jboss.org/jira/browse/JBPAPP-1443 == jacorb == * existing ITP: [http://bugs.debian.org/349540 #349540] * http://www.jacorb.org/ == 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 == * https://istack-commons.dev.java.net/ == rngom == * https://rngom.dev.java.net/ * easy == txw == * https://txw.dev.java.net/ * easy == xsom == * https://xsom.dev.java.net/ * easy == 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 == * http://sourceforge.net/projects/jpl/ and http://www.swi-prolog.org/ * part of swi-prolog * requested jpl addition: [http://bugs.debian.org/449437 #449437] = 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. * ITPs and bugs concerning the [http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=jboss-packaging;users=pkg-jboss-maintainer@lists.alioth.debian.org packaging] effort. == 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 == |
= Building the packages from vcs = == Building the Debian Package (jbossas5_5.1.0.GA-0.1) from GIT == * This package uses the original ''build.sh'' script from the JBoss source tarball. It also uses maven do download a lot of dependencies. The downloaded maven artifacts are saved in /tmp/maven-repo . If you want to use a local network mirror of repo1.maven.org and/or repository.jboss.org please activate the ''0002-Use-a-local-network-maven-mirror.patch'' in ''debian/series'' and adjust the uri of the mirror in the patch. * Clone the repository {{{ git clone git://git.debian.org/pkg-jboss/jbossas5.git }}} * Set up the needed branches {{{ git co upstream_jboss.org git co master-5.1 }}} * Build the package {{{ git-buildpackage --git-debian-branch=master-5.1 --git-upstream-branch=upstream_jboss.org --git-no-pristine }}} == Building the Debian Package (jbossas5) from GIT == * Clone the archives with {{{git clone}}} or better with {{{gbp-clone}}} {{{ gbp-clone git://git.debian.org/pkg-jboss/jbossas5-libs.git gbp-clone git://git.debian.org/pkg-jboss/jbossas5.git }}} * Build the jbossas5-libs package {{{ gbp-sid }}} * Install the jbossas5-libs package in your buildsystem. With a local repository add the repo to /var/cache/pbuilder/case-sid.cow/etc/apt/sources.list. and do {{{ sudo cowbuilder --update --basepath=/var/cache/pbuilder/base-sid.cow }}} * The jbossas5 package is an evil beast a the moment. First install openjdk-6-jre and ant that the sanity check in debian/rules has it's peace. {{{ apt-get install openjdk-6-jre ant }}} * Build the package. If you use git-buildpackage and friends (as i do like described [[MatthiasSchmitz|here]]) run {{{ gbp-sid }}} otherwise install all Build-Depends and run {{{ git-buildpackage }}} == Building the Debian Package (jboss4) from Alioth SVN == |
Line 207: | Line 93: |
= Older (maybe obsolete) JBoss 5 TODOs/plan = == jbossas5 == * create a inofficial package jbossas5-libs with all jar files that are not packaged for Debian but needed for the app server - DONE * create a transitional package jbossas5 that (Build-)Depends: jbossas5-libs - partially DONE * build a minimal package that can be uploaded to main == joesnmp/opennms == * old upstream code shipped with jbossas5 is available at http://sourceforge.net/projects/joesnmp/ * but current upstream is http://sourceforge.net/projects/opennms/ but incompatible with jboss * see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191158#4191158 for more info * there is some packaging of opennms by the pkg-java project but this package has not been uploaded yet == Apache scout == * http://ws.apache.org/scout/source-repository.html * http://svn.apache.org/repos/asf/webservices/scout/branches/v1.0rc2/ * there is one file with no license information: etc/uddi_v2.xsd The following packages might be needed for jbossas5 but the list must be checked again. == jacorb == * existing ITP: [[DebianBug:349540|#349540]] * http://www.jacorb.org/ == istack-commons == * https://istack-commons.dev.java.net/ == rngom == * https://rngom.dev.java.net/ * easy == txw == * https://txw.dev.java.net/ * easy == xsom == * https://xsom.dev.java.net/ * easy == 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 == * http://sourceforge.net/projects/jpl/ and http://www.swi-prolog.org/ * part of swi-prolog * requested jpl addition: [[DebianBug:449437|#449437]] == 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. * ITPs and bugs concerning the [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=jboss-packaging;users=pkg-jboss-maintainer@lists.alioth.debian.org|packaging]] effort. == Thirdparty JARs == The JBoss source tarball contains several thirdparty packages under common/lib/ 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.7 || antlr || 2.7.7-11 || || [[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.4.0 || libbsf-java || 2.4.0-2 || || [[http://jakarta.apache.org/commons/codec/|apache-codec]] || 1.3 || 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.4.0 GA || libhibernate-annotations-java || 3.4.0.GA+dak1-1 || || [[http://hibernate.org/|hibernate]] || 3.3.1 GA || libhibernate3-java || 3.3.1.GA+dak1-3 || || [[http://entitymanager.hibernate.org/|hibernate-entitymanager]] || 3.4.0 GA || libhibernate-entitymanager-java || 3.4.0.GA+dak1-1 || || [[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 other free tools == == 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 |
Contents
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/
To install the JBoss application server run
apt-get install jbossas5
Please report bugs at the Tracker at http://alioth.debian.org/projects/pkg-jboss/. There is a mailing list that can be subscribed at http://lists.alioth.debian.org/mailman/listinfo/pkg-jboss-maintainer.
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/mini-dinstall/incoming/ post_upload_command = ssh alioth.debian.org /home/groups/pkg-jboss/mini-dinstall.sh
The git repos can be found at http://git.debian.org/?p=pkg-jboss/jbossas5.git;a=summary and http://git.debian.org/?p=pkg-jboss/jbossas5-libs.git;a=summary .
Building the packages from vcs
Building the Debian Package (jbossas5_5.1.0.GA-0.1) from GIT
This package uses the original build.sh script from the JBoss source tarball. It also uses maven do download a lot of dependencies. The downloaded maven artifacts are saved in /tmp/maven-repo . If you want to use a local network mirror of repo1.maven.org and/or repository.jboss.org please activate the 0002-Use-a-local-network-maven-mirror.patch in debian/series and adjust the uri of the mirror in the patch.
- Clone the repository
git clone git://git.debian.org/pkg-jboss/jbossas5.git
- Set up the needed branches
git co upstream_jboss.org git co master-5.1
- Build the package
git-buildpackage --git-debian-branch=master-5.1 --git-upstream-branch=upstream_jboss.org --git-no-pristine
Building the Debian Package (jbossas5) from GIT
Clone the archives with git clone or better with gbp-clone
gbp-clone git://git.debian.org/pkg-jboss/jbossas5-libs.git gbp-clone git://git.debian.org/pkg-jboss/jbossas5.git
- Build the jbossas5-libs package
gbp-sid
- Install the jbossas5-libs package in your buildsystem. With a local repository add the repo to /var/cache/pbuilder/case-sid.cow/etc/apt/sources.list. and do
sudo cowbuilder --update --basepath=/var/cache/pbuilder/base-sid.cow
- The jbossas5 package is an evil beast a the moment. First install openjdk-6-jre and ant that the sanity check in debian/rules has it's peace.
apt-get install openjdk-6-jre ant
Build the package. If you use git-buildpackage and friends (as i do like described here) run
gbp-sid
otherwise install all Build-Depends and run
git-buildpackage
Building the Debian Package (jboss4) 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
- 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
Older (maybe obsolete) JBoss 5 TODOs/plan
jbossas5
- create a inofficial package jbossas5-libs with all jar files that are not packaged for Debian but needed for the app server - DONE
- create a transitional package jbossas5 that (Build-)Depends: jbossas5-libs - partially DONE
- build a minimal package that can be uploaded to main
joesnmp/opennms
old upstream code shipped with jbossas5 is available at http://sourceforge.net/projects/joesnmp/
but current upstream is http://sourceforge.net/projects/opennms/ but incompatible with jboss
see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191158#4191158 for more info
- there is some packaging of opennms by the pkg-java project but this package has not been uploaded yet
Apache scout
http://svn.apache.org/repos/asf/webservices/scout/branches/v1.0rc2/
- there is one file with no license information: etc/uddi_v2.xsd
The following packages might be needed for jbossas5 but the list must be checked again.
jacorb
existing ITP: #349540
istack-commons
rngom
txw
xsom
jaxb
- the JAXB API is already in Debian: libjaxme-java
- 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
http://sourceforge.net/projects/jpl/ and http://www.swi-prolog.org/
- part of swi-prolog
requested jpl addition: #449437
Open bugs
We use BTS usertags with user pkg-jboss-maintainer@lists.alioth.debian.org to keep track of bugs.
ITPs and bugs concerning the packaging effort.
Thirdparty JARs
The JBoss source tarball contains several thirdparty packages under common/lib/ which need to be compiled from source for Debian. This list tries to keep track of the current status:
Package |
Version |
Debian Package |
Version |
2.7.7 |
antlr |
2.7.7-11 |
|
cvsbuild-7-19 |
|
|
|
4.1.5 |
libavalon-framework-java |
4.2.0-3 |
|
1.2 |
liblogkit-java |
1.2.2-8 |
|
5.1 |
libbcel-java |
5.1-6 |
|
1.6.0 |
libcommons-beanutils-java |
1.7.0-4 |
|
2.4.0 |
libbsf-java |
2.4.0-2 |
|
1.3 |
libcommons-codec-java |
1.3-4 |
|
2.1 |
libcommons-collections-java |
2.1.1-6 |
|
1.1.1 |
libcrimson-java |
1.1.3-8 |
|
1.6 |
libcommons-digester-java |
1.7-2 |
|
0.2 |
libcommons-discovery-java |
0.2-9 |
|
1.0 |
libcommons-fileupload-java |
1.0-14 |
|
2.0.2 |
libcommons-httpclient-java |
2.0.2-2 |
|
0.2-cvs |
|
|
|
1.0 |
libcommons-lang-java |
2.1-1 |
|
1.2.8 |
liblog4j1.2-java |
1.2.13-1 |
|
1.0.5.GA-jboss |
libcommons-logging-java |
1.0.4-5 |
|
1.1patch |
libcommons-modeler-java |
1.1-8 |
|
1.1.1 |
|
|
|
1.0.1 |
libcommons-pool-java |
1.2-5 |
|
1.0 |
|
|
|
1.0.16 |
|
|
|
5.5.12 |
tomcat5.5 |
5.5.15-1 |
|
1.4jboss |
velocity |
1.4-5 |
|
cvs-7-19 |
|
|
|
j_2.6.0 |
libxalan2-java |
2.6.0-6 |
|
2.7.0 |
libxerces2-java |
2.8.0-0 |
|
1.2 |
|
|
|
3.0_beta |
libasm-java |
1.5.3-4 |
|
1.3.0 |
bsh |
2.0b4-4 |
|
2.1.3 |
|
|
|
1.0 |
libcommons-el-java |
1.0-3 |
|
1.6.1jboss |
libdom4j-java |
1.6.1+dfsg-2 |
|
1.0 |
|
|
|
1.0.10 |
libgetopt-java |
1.0.11-2 |
|
1.1.14 |
libgnu-regexp-java |
1.4-3 |
|
3.4.0 GA |
libhibernate-annotations-java |
3.4.0.GA+dak1-1 |
|
3.3.1 GA |
libhibernate3-java |
3.3.1.GA+dak1-3 |
|
3.4.0 GA |
libhibernate-entitymanager-java |
3.4.0.GA+dak1-1 |
|
1.8.0.2 |
libhsqldb-java |
1.8.0.2-2 |
|
1.5.1 |
|
|
|
2.2.1jboss |
|
|
|
1.1beta4 |
libjaxen-java |
1.0FCS-3 |
|
0.9.20 |
libjfreechart-java |
1.0.1-1 |
|
2.2.7 |
|
|
|
0.3.3 |
|
|
|
0.9RC4 |
|
|
|
3.8.1 |
junit |
3.8.1.1-7 |
|
1.4 |
|
|
|
objectweb-joramtests |
1.1 |
|
|
3.0 |
|
|
|
1.3.4 |
|
|
|
1.4 |
|
|
|
0.9.6jboss |
|
|
|
1.5.2 |
|
|
|
1.0.2 |
|
|
|
3.2 |
javacc |
3.2+0-3 |
|
1.3.1 |
|
|
|
sun-servlet |
|
libservlet2.4-java |
|
2.1.1 |
|
|
|
1.2.1 |
|
|
|
1.2b3 |
|
|
|
xml-sax |
2.0.x |
|
|
Building with other free tools
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