FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian Java

 
 
LinkBack Thread Tools
 
Old 07-16-2008, 06:10 PM
Florian Grandel
 
Default Question concerning patched jars

Hi everybody,

in jbossas we have got lots of jars that are built from source by the
JBoss people upstream with patches applied to them. So they are nearly
the same as the ones we have in our own packages except for the patches
which are needed for the jars to work with jbossas.


The JPackage people have the following solution: They include the JBoss
patches into their source and produce two independent non-conflicting
binary packages from the same source package:

- one unpatched for general use (that goes into /usr/share/java) and
- one for jbossas (which goes into
/usr/share/java/repository.jboss.com/) together with some metadata about
the jar that is used by jbossas and the patch applied (for documentation).


IMO maintainability is ok with this solution as both binaries are built
from the same source package. This however comes at the price of some
wasted space and largely redundant files being installed on the system.


What do you think about that? Could I follow the JPackage solution
(which would allow me to reuse much of their work) or do you see
difficulties with this?


Florian


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-16-2008, 06:53 PM
Florian Grandel
 
Default Question concerning patched jars

Hi again,

The JPackage people have the following solution: They include the JBoss
patches into their source and produce two independent non-conflicting
binary packages from the same source package:

- one unpatched for general use (that goes into /usr/share/java) and
- one for jbossas (which goes into
/usr/share/java/repository.jboss.com/) together with some metadata about
the jar that is used by jbossas and the patch applied (for documentation).


I have just discussed this with the JPackage people who answered my
question.


JPackage enable different build and runtime setups for the moment being
as there are conflicting (gjc-compiled) versions of jars in
/usr/share/java in the Fedora 9 base install that cannot be used for
jboss build but work in a runtime setup. So the different versions
really come from different source packages. It is not at all intended to
produce different binaries from one source package.


JPackage is working on merging the conflicting source packages to get
one and only one binary.


So this is what I'll work on as well. No need for any "workaround".

Florian


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 06:35 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org