[jboss-jira] [JBoss JIRA] Closed: (JBAS-3618) repository-zip target in build-release.xml doesn't consistently overwrite default config with all

Dimitris Andreadis (JIRA) jira-events at jboss.com
Sun Sep 17 06:09:38 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3618?page=all ]

Dimitris Andreadis closed JBAS-3618.
------------------------------------

    Resolution: Done
      Assignee: Dimitris Andreadis

Added the overwrite=true flag

> repository-zip target in build-release.xml doesn't consistently overwrite default config with all
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-3618
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3618
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Build System
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Alex Pinkin
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.0.5.GA
>
>
>    <target name="repository-zip"
>      description="Create a canonical binaries for the repository">
>      <mkdir dir="${version}/repository" />
>      <echo message="jboss.dist=${jboss.dist}" />
>      <!-- Create a unified server/lib directory -->
>      <copy todir="${jboss.dist}/server/lib">
>        <fileset dir="${jboss.dist}/server/minimal/lib" />
>        <fileset dir="${jboss.dist}/server/default/lib" />
>        <fileset dir="${jboss.dist}/server/all/lib" />
>        <!-- Include the prematurely added quartz stuff for ejb3 config -->
>        <fileset dir="${jboss.thirdparty}/quartz/lib" />
>      </copy>
>      <!-- Create a unified server/deploy directory -->
>      <copy todir="${jboss.dist}/server/deploy">
>        <fileset dir="${jboss.dist}/server/default/deploy" />
>        <fileset dir="${jboss.dist}/server/all/deploy">
>          <exclude name="jms/**" />
>        </fileset>
>        <!-- Include the prematurely added quartz stuff for ejb3 config -->
>        <fileset dir="${jboss.cvs.dir}/connector/output/lib">
>          <include name="quartz-ra.rar" />
>        </fileset>
>      </copy>
>      <copy todir="${jboss.dist}/server/deploy-ha">
>        <fileset dir="${jboss.dist}/server/all">
>          <include name="deploy/jms/**" />
>          <include name="deploy-hasingleton/**" />
>          <include name="farm/**" />
>        </fileset>
>      </copy>
> Ant's copy task only overwrites a file only if a file being copied has a newer timestamp. This causes inconsistent behavior depending on file timestamps.
> There is overwrite=true attribute which need to be added to force overwrites.

-- 
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 jboss-jira mailing list