[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2770) exploded-archives\{project}.ear\lib was not created if lib.dir is overridden
Alexander Kosenkov (JIRA)
jira-events at lists.jboss.org
Wed Mar 19 20:55:50 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2770?page=all ]
Alexander Kosenkov updated JBSEAM-2770:
---------------------------------------
Description:
If one overrides lib.dir = ../common-seam/lib, resulting EAR is broken - it will contain no lib folder.
Incorrect seam-gen build.xml code relies on ${basedir}/lib folder.
Part of <target name="ear"> follows:
<copy todir="${ear.dir}">
<fileset dir="${basedir}">
<include name="lib/jbpm*.jar"/>
correct implementation:
<copy todir="${ear.dir}/lib">
<fileset dir="${lib.dir}">
<include name="jbpm*.jar"/>
I hope once it will save some time of debugging strange NoClassDefFoundError exceptions =)
was:
If one overrides lib.dir = ../common-seam/lib, resultin EAR is broken - it will contain no lib folder.
Incorrect seam-gen build.xml code relies on ${basedir}/lib folder under <target name="ear">:
<copy todir="${ear.dir}">
<fileset dir="${basedir}">
<include name="lib/jbpm*.jar"/>
correct implementation:
<copy todir="${ear.dir}/lib">
<fileset dir="${lib.dir}">
<include name="jbpm*.jar"/>
Affects: [Compatibility/Configuration] (was: [Interactive Demo/Tutorial, Compatibility/Configuration])
> exploded-archives\{project}.ear\lib was not created if lib.dir is overridden
> ----------------------------------------------------------------------------
>
> Key: JBSEAM-2770
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2770
> Project: JBoss Seam
> Issue Type: Patch
> Components: Tools
> Affects Versions: 2.0.1.GA
> Reporter: Alexander Kosenkov
> Priority: Minor
> Attachments: build.xml.patch
>
>
> If one overrides lib.dir = ../common-seam/lib, resulting EAR is broken - it will contain no lib folder.
> Incorrect seam-gen build.xml code relies on ${basedir}/lib folder.
> Part of <target name="ear"> follows:
> <copy todir="${ear.dir}">
> <fileset dir="${basedir}">
> <include name="lib/jbpm*.jar"/>
> correct implementation:
> <copy todir="${ear.dir}/lib">
> <fileset dir="${lib.dir}">
> <include name="jbpm*.jar"/>
> I hope once it will save some time of debugging strange NoClassDefFoundError exceptions =)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list