(file) Return to build_deploy.xml CVS log (file) (dir) Up to [Development] / GWTAntTasks

File: [Development] / GWTAntTasks / build_deploy.xml (download) / (as text)
Revision: 1.2, Mon Jan 8 20:28:54 2007 UTC (15 years, 11 months ago) by pjaol
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -1 lines
Updated License, added a README

<?xml version="1.0"?>
<!-- ====================================================================== 
     Jan 5, 2007 10:36:57 PM                                                        

     GWTAntTaskDeploy    
     Compile the tasks def for GWT
                   
     pjaol@pjaol.com
     $Id: build_deploy.xml,v 1.2 2007/01/08 20:28:54 pjaol Exp $
     $Log: build_deploy.xml,v $
     Revision 1.2  2007/01/08 20:28:54  pjaol
     Updated License, added a README
                                                               
     ====================================================================== -->
<project name="GWTAntTaskDeploy" default="default">
    <description>
            Compile the tasks def for GWT
    </description>

	<property name="build.dir" value="build"/>
	<property name="deploy.dir" value="deploy"/>
	<property name="src.dir" value="src"/>
	
	<property file="properties/gwt.properties"/>

	<path id="gwt.path">
		<fileset dir="${gwt.home}">
			<include name="*.jar"/>
		</fileset>
	</path>
    
	<!-- ================================= 
          target: default              
         ================================= -->
    <target name="default" depends="depends, compile, createJar" description="--> Compile the tasks def for GWT">
        
    </target>

    <!-- - - - - - - - - - - - - - - - - - 
          target: depends                      
         - - - - - - - - - - - - - - - - - -->
    <target name="depends" depends="clean">
    	
    	<mkdir dir="${build.dir}"/>
    	<mkdir dir="${deploy.dir}"/>
    </target>

	<!-- - - - - - - - - - - - - - - - - - 
          target: clean                      
         - - - - - - - - - - - - - - - - - -->
    <target name="clean">
    	<delete dir="${build.dir}"/>
    	<delete dir="${deploy.dir}"/>    
    </target>
	
	
	<!-- - - - - - - - - - - - - - - - - - 
          target: compile                      
         - - - - - - - - - - - - - - - - - -->
    <target name="compile">
    	<javac srcdir="${src.dir}"
         destdir="${build.dir}"
         classpathref="gwt.path"
         debug="on"
		/>    
    </target>

	
	<!-- - - - - - - - - - - - - - - - - - 
          target: createJar                      
         - - - - - - - - - - - - - - - - - -->
    <target name="createJar">
    	<propertyfile file="${build.dir}/GWTAntTasks.properties">
    		<entry key="gwtcompile" value="com.pjaol.gwt.ant.GWTCompile"/>
    	</propertyfile>
    	<jar destfile="${deploy.dir}/ant-gwt-tasksdefs.jar" basedir="${build.dir}"/>
    </target>

	
</project>

cvsadmin
Powered by
ViewCVS 0.9.2