Project

General

Profile

« Previous | Next » 

Revision 4372

Added by daigle about 16 years ago

Created a distbin target that creates a binary zip and tar.gz which has the war file and supporting install files.

View differences:

build.xml
1124 1124
      <delete file="./${name}-${release}.tar" />
1125 1125
  </target>
1126 1126

  
1127
	<target name="distbin" depends="war" description="prepares a binary distribution">
1128
		<copy todir="${dist.dir}">
1129
			<fileset dir="./bin/install"  />
1130
		</copy>	
1131
		<delete file="./${name}-bin-${release}.zip" />
1132
		<zip zipfile="./${name}-bin-${release}.zip" 
1133
			basedir="${dist.dir}"
1134
			excludes="metacat-*/**"/>	
1135
		<delete file="./${name}-bin-${release}.tar.gz" />
1136
		<tar tarfile="./${name}-bin-${release}.tar" 
1137
			basedir="${dist.dir}" 
1138
			excludes="metacat-*/**"/>
1139
		<gzip zipfile="./${name}-bin-${release}.tar.gz" src="./${name}-bin-${release}.tar" />
1140
		<delete file="./${name}-bin-${release}.tar" />
1141
		<delete dir="${dist.dir}" />
1142
	</target>
1143
	
1127 1144
  <target name="distsrc" depends="dist"
1128 1145
            description="prepares a source distribution">
1129 1146
      <mkdir dir="${ver.src}"/>

Also available in: Unified diff