[JBoss-dev] Re: Library dependencies/updates for jboss-4.0.5.GA

Dimitris Andreadis dimitris at jboss.org
Tue Sep 19 08:00:17 EDT 2006


What about Hibernate usage of dom4j?

If I make the jmx/system code use the jarjard version, hibernate will
need to include it seperately.

> -----Original Message-----
> From: jboss-development-bounces at lists.jboss.org 
> [mailto:jboss-development-bounces at lists.jboss.org] On Behalf 
> Of Scott M Stark
> Sent: Monday, September 18, 2006 8:02 PM
> To: JBoss.org development list
> Subject: Re: [JBoss-dev] Re: Library dependencies/updates for 
> jboss-4.0.5.GA
> 
> I have put the jarjard dom4j jar into the repository here:
> http://repository.jboss.com/dom4j/1.6.1.jarjar
> 
> It contains the dom4j-jarjar.jar (which uses an 
> org.jboss.dom4j root package namespace), and the jarjar build script:
> <project name="Jarjar dom4j" default="patchdom4j">
>    <!--
>    A jarjar ant build script to create the jarjard dom4j jar.
>    -->
>    <target name="patchdom4j">
>        <taskdef name="jarjar" 
> classname="com.tonicsystems.jarjar.JarJarTask" 
> classpath="dist/jarjar-0.7.jar"/>
>         <mkdir dir="output" />
>         <jarjar jarfile="output/dom4j-jarjar.jar">
>             <manifest>
>                <attribute name="Created-by"               
> value="${java.vm.version} ${java.vm.vendor}"/>
>                <attribute name="Specification-Title"      
> value="Dom4j 
> JarJar(org.jboss.dom4j)"/>
>                <attribute name="Specification-Version"    
> value="1.6.1"/>
>                <attribute name="Specification-Vendor"     
> value="http://dom4j.org/"/>
>                <attribute name="Implementation-Title"     
> value="JarJar 
> Dom4j"/>
>                <attribute name="Implementation-URL"       
> value="http://repository.jboss.com/dom4j/1.6.1.jarjar"/>
>                <attribute name="Implementation-Version"   
> value="1.6.1.jarjar"/>
>                <attribute name="Implementation-Vendor"    
> value="JBoss, 
> a division of Red Hat"/>
>                <attribute name="Implementation-Vendor-Id" 
> value="http://www.jboss.org"/>
>             </manifest>
>             <zipfileset src="dom4j.jar"/>
>             <rule pattern="org.dom4j.**" result="org.jboss.dom4j. at 1"/>
>             <zap pattern="org.dom4j.jaxb.**"/>
>             <zap pattern="org.dom4j.swing.**"/>
>             <zap pattern="org.dom4j.xpath.**"/>
>         </jarjar>
>     </target>
> </project>
> 
> All that is left is to update all the bootstrap modules which 
> use dom4j
> (jmx/j2se/system/system-jmx) to use the new namespace. The 
> dom4j jars could be embedded into one of these module output 
> jars as an implementation detail to reduce the number of 
> bootstrap jars if desired.
> 
> Scott M Stark wrote:
> > It would be kept in the server/default/lib for app 
> compatibility. It 
> > would just be embedded in the core jmx/system layer as an 
> impl detail 
> > and removed from the server bootstrap classpath.
> >
> > Emmanuel Bernard wrote:
> >> Keep Steve in the loop since Hibernate use dom4j
> >>
> >
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
> 




More information about the jboss-development mailing list