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

Alex Pinkin (JIRA) jira-events at jboss.com
Fri Sep 1 17:07:43 EDT 2006


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)
            Reporter: Alex Pinkin


   <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