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

 1 pjaol 1.1 <?xml version="1.0"?>
 2           <!-- ====================================================================== 
 3                Jan 5, 2007 10:36:57 PM                                                        
 4           
 5                GWTAntTaskDeploy    
 6                Compile the tasks def for GWT
 7                              
 8 pjaol 1.2      pjaol@pjaol.com
 9                $Id: $
10                $Log: $                                                               
11 pjaol 1.1      ====================================================================== -->
12           <project name="GWTAntTaskDeploy" default="default">
13               <description>
14                       Compile the tasks def for GWT
15               </description>
16           
17           	<property name="build.dir" value="build"/>
18           	<property name="deploy.dir" value="deploy"/>
19           	<property name="src.dir" value="src"/>
20           	
21           	<property file="properties/gwt.properties"/>
22           
23           	<path id="gwt.path">
24           		<fileset dir="${gwt.home}">
25           			<include name="*.jar"/>
26           		</fileset>
27           	</path>
28               
29           	<!-- ================================= 
30                     target: default              
31                    ================================= -->
32 pjaol 1.1     <target name="default" depends="depends, compile, createJar" description="--> Compile the tasks def for GWT">
33                   
34               </target>
35           
36               <!-- - - - - - - - - - - - - - - - - - 
37                     target: depends                      
38                    - - - - - - - - - - - - - - - - - -->
39               <target name="depends" depends="clean">
40               	
41               	<mkdir dir="${build.dir}"/>
42               	<mkdir dir="${deploy.dir}"/>
43               </target>
44           
45           	<!-- - - - - - - - - - - - - - - - - - 
46                     target: clean                      
47                    - - - - - - - - - - - - - - - - - -->
48               <target name="clean">
49               	<delete dir="${build.dir}"/>
50               	<delete dir="${deploy.dir}"/>    
51               </target>
52           	
53 pjaol 1.1 	
54           	<!-- - - - - - - - - - - - - - - - - - 
55                     target: compile                      
56                    - - - - - - - - - - - - - - - - - -->
57               <target name="compile">
58               	<javac srcdir="${src.dir}"
59                    destdir="${build.dir}"
60                    classpathref="gwt.path"
61                    debug="on"
62           		/>    
63               </target>
64           
65           	
66           	<!-- - - - - - - - - - - - - - - - - - 
67                     target: createJar                      
68                    - - - - - - - - - - - - - - - - - -->
69               <target name="createJar">
70               	<propertyfile file="${build.dir}/GWTAntTasks.properties">
71               		<entry key="gwtcompile" value="com.pjaol.gwt.ant.GWTCompile"/>
72               	</propertyfile>
73               	<jar destfile="${deploy.dir}/ant-gwt-tasksdefs.jar" basedir="${build.dir}"/>
74 pjaol 1.1     </target>
75           
76           	
77           </project>

cvsadmin
Powered by
ViewCVS 0.9.2