mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
22.19.2007 008e68d9eeda7be0363145ac91391ef0978cfe8c
Add a new srczip target that will generate a src.zip file from all the server
source. This target is included in the nightly, weekly, and all targets.
1 files modified
24 ■■■■■ changed files
opends/build.xml 24 ●●●●● patch | view | raw | blame | history
opends/build.xml
@@ -154,7 +154,7 @@
  <!-- The build target that should be used for nightly builds. -->
  <target name="nightly"
       depends="checkstyle,dsml,javadoc,coverage,testall"
       depends="checkstyle,dsml,srczip,javadoc,coverage,testallwithcoverage"
       description="Perform all processing needed for nightly builds.">
  </target>
@@ -171,7 +171,7 @@
  <!-- The build target that should be used to build everything. -->
  <target name="all"
       depends="checkstyle,clean,checkprecommit,dsml,javadoc,testallwithcoverage"
       depends="checkstyle,clean,checkprecommit,dsml,srczip,javadoc,testallwithcoverage"
       description="Build using all defined targets.">
  </target>
@@ -1532,6 +1532,26 @@
  <!-- Generate a src.zip file containing all the server source. -->
  <target name="srczip" depends="compileadmin"
       description="Generate a src.zip file with all the server source.">
    <zip destfile="${build.dir}/src.zip">
      <zipfileset dir="${src.dir}" excludes="**/.svn" filemode="644"
           dirmode="755" />
      <zipfileset dir="${admin.src.dir}" excludes="**/.svn" filemode="644"
           dirmode="755" />
      <zipfileset dir="${ads.src.dir}" excludes="**/.svn" filemode="644"
           dirmode="755" />
      <zipfileset dir="${quicksetup.src.dir}" excludes="**/.svn" filemode="644"
           dirmode="755" />
      <zipfileset dir="${statuspanel.src.dir}" excludes="**/.svn" filemode="644"
           dirmode="755" />
    </zip>
  </target>
  <!-- Generate example plugin package. -->
  <target name="example-plugin" if="pdir">
    <!-- Create folder hierarchy in temporary directory. -->