Size: 11970
Comment:
|
Size: 11286
Comment: clean up a bit
|
Deletions are marked like this. | Additions are marked like this. |
Line 91: | Line 91: |
== javacc == * see https://jira.jboss.org/jira/browse/JBAS-6240 |
|
Line 107: | Line 103: |
== libjboss-web-services-java == * very minimal package from old upstream code * package should be updated |
|
Line 220: | Line 211: |
=== 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/ |
|
Line 242: | Line 215: |
* use Debian's ''ant'' instead of the one shipped with JBoss * fix building with gcj |
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) 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