[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1311) build.xml: Target explode: Copying of EAR doesn't work when the source-EAR already exists
Gavin King (JIRA)
jira-events at lists.jboss.org
Fri May 18 22:02:02 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1311?page=all ]
Gavin King closed JBSEAM-1311.
------------------------------
Resolution: Rejected
We don't want to do that, since we want changes to be deployed incrementally. I don't think there is a problem here.
> build.xml: Target explode: Copying of EAR doesn't work when the source-EAR already exists
> -----------------------------------------------------------------------------------------
>
> Key: JBSEAM-1311
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1311
> Project: JBoss Seam
> Issue Type: Bug
> Affects Versions: 1.2.1.GA
> Environment: Mac Tiger, Eclipse 3.2.2, Eclipse 3.3M6, Eclipse 3.3M7
> Reporter: Mark Schmatz
> Original Estimate: 1 minute
> Remaining Estimate: 1 minute
>
> During the explode target the EAR is not copied to the deploy-dir if ithe source-EAR already exists. Below if pasted the original target source code produced by Seam-gen 1.2.1 with my little bug fix.
> The bug fix is enclosed with the "NEW NEW NEW..." comment and just deletes the source-EAR after copying.
> <target name="explode" depends="jar,war,ear,datasource"
> description="Deploy the exploded archive">
> <fail unless="jboss.home">jboss.home not set</fail>
>
> <mkdir dir="${jar.deploy.dir}"/>
> <mkdir dir="${war.deploy.dir}"/>
>
> <copy todir="${jar.deploy.dir}">
> <fileset dir="${jar.dir}"/>
> </copy>
> <copy todir="${war.deploy.dir}">
> <fileset dir="${war.dir}"/>
> </copy>
> <copy todir="${ear.deploy.dir}">
> <fileset dir="${ear.dir}"/>
> </copy>
> <!-- NEW NEW NEW NEW -->
> <delete dir="${ear.dir}" />
> <!-- end - NEW -->
> </target>
--
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