[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2770) exploded-archives\{project}.ear\lib was not created if lib.dir is overridden
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Mar 20 05:34:50 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2770?page=all ]
Pete Muir updated JBSEAM-2770:
------------------------------
Fix Version/s: 2.0.2.GA
2.1.0.GA
> 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
> Fix For: 2.0.2.GA, 2.1.0.GA
>
> 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