antlets/makeantlet/src xbuild.xml,NONE,1.1

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/antlets/makeantlet/src
In directory sc8-pr-cvs1:/tmp/cvs-serv26651/makeantlet/src

Added Files:
	xbuild.xml 
Log Message:
Initial try at makeantlet

--- NEW FILE: xbuild.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /cvsroot/metamorphosis/antlets/makeantlet/src/xbuild.xml,v 1.1 2003/10/31 08:09:34 chalko Exp $ -->

<project name="makeantlet.antlet" default="install-antlet">
	<description>Make antlets.</description>

	<!-- antlet custom props -->
	<!-- antlet name.  This allows for overriding by the antlet itself -->
	<property name="makeantlet.antlet.name" value="${project.name}"/>
	<property name="makeantlet.antlet.version" value="${project.version}"/>
	<property name="makeantlet.antlet.namedversion" value="${makeantlet.antlet.name}-${makeantlet.antlet.version}"/>
		
	<property name="antlet.dir" value="${ant.home}/tools/antlet"/>



	<!-- Sets some properties and mkae the the build dir. -->
	<target name="antlet-prep-makeantlet">
			<property name="makeantlet.antlet.src.dir"
				value="${basedir}/src"
				/>
		<property name="makeantlet.antlet.namedbuild.dir"
			value="${build.dir}/${makeantlet.antlet.name}"/>
		<mkdir dir="${makeantlet.antlet.namedbuild.dir}" />
	</target>

    <target name="makeantlet" depends="antlet-prep-makeantlet" >
        		<copy todir="${makeantlet.antlet.namedbuild.dir}">
			<fileset dir="${makeantlet.antlet.src.dir}">
				<include name="**/*"/>
			</fileset>
		</copy>
   </target>
        
	<target name="install-antlet" depends="makeantlet"
		description="Install the antlet in ${ant.home}/tools/antlets">
		<copy todir="${antlet.dir}/${makeantlet.antlet.namedversion}/">
			<fileset dir="${makeantlet.antlet.namedbuild.dir}">
				<include name="**/*"/>
			</fileset>
		</copy>
	</target>
    
      
</project>




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.