Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3618

repository-zip target in build-release.xml doesn't consistently overwrite default config with all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-4.0.5.GA
    • JBossAS-4.0.4.GA
    • Build System
    • None

    Description

      <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.

      Attachments

        Activity

          People

            dandread1@redhat.com Dimitrios Andreadis
            alex.pinkin Alex Pinkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: