ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Nauta <barry.na...@switch.be>
Subject RE: TArball
Date Tue, 08 Aug 2000 14:20:37 GMT
Yes,

Here is some example code:

	<target name="release" depends="jar, doc">
		<mkdir dir="${core-dir}/release" />
		
		<tar basedir="${core-dir}/doc"
tarfile="${core-dir}/release/documentation.tar" />
		<copydir src="${core-dir}/lib" dest="${core-dir}/release" />
		
		<tar 
			basedir="${core-dir}/release" 
			tarfile="${core-dir}/release/core.tar" 
			includes="*.jar, documentation.tar"
		/>
		<gzip src="${core-dir}/release/core.tar"
zipfile="${core-dir}/release/core.tar.gz" />
		
		<delete dir="${core-dir}/release" includes="*.tar" />
		<delete dir="${core-dir}/release" includes="*.jar" />
	</target>

Might not be the perfect solution, but it works :O)

Barry

Anything you do will be insignificant, but it is very important that you do
it
-- Mahatma Gandhi

> -----Original Message-----
> From:	Rick Bosch [SMTP:rbosch@actv.com]
> Sent:	Tuesday 8 August 2000 16:41
> To:	ant-user@jakarta.apache.org
> Subject:	TArball
> 
> 
> 
> can ant build a tarball??????
> 
> thanks();
> rick

Mime
View raw message