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

cvsadmin
Powered by
ViewCVS 0.9.2