/[volute]/trunk/projects/theory/snapdm/build_java.xml
ViewVC logotype

Diff of /trunk/projects/theory/snapdm/build_java.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 464 by gerard.lemson, Mon May 12 15:39:25 2008 UTC revision 465 by bourges.laurent, Mon May 12 16:19:59 2008 UTC
# Line 61  Line 61 
61    <echo>cleaning directory : ${build} ...</echo>    <echo>cleaning directory : ${build} ...</echo>
62        
63    <delete includeemptydirs="false" verbose="true">    <delete includeemptydirs="false" verbose="true">
64      <fileset dir="${build}" includes="**/*"/>      <fileset dir="${build}">
65          <exclude name="*.jdbc" />
66        </fileset>
67    </delete>    </delete>
68        
69    <echo>cleaned directory : ${build} : done.</echo>    <echo>cleaned directory : ${build} : done.</echo>
# Line 75  Line 77 
77    <echo>cleaning directory : ${dist} ...</echo>    <echo>cleaning directory : ${dist} ...</echo>
78        
79    <delete includeemptydirs="false" verbose="true">    <delete includeemptydirs="false" verbose="true">
80      <fileset dir="${dist}" includes="**/*"/>      <fileset dir="${dist}">
81          <exclude name="doc/**/*" />
82        </fileset>
83    </delete>    </delete>
84        
85    <echo>cleaned directory : ${dist} : done.</echo>    <echo>cleaned directory : ${dist} : done.</echo>
# Line 94  Line 98 
98    <mkdir dir="${build.src}"/>    <mkdir dir="${build.src}"/>
99    
100    <copy verbose="true" todir="${build.src}" preservelastmodified="true">    <copy verbose="true" todir="${build.src}" preservelastmodified="true">
101      <fileset dir="${output}" includes="${snap_source_intermediate}" />      <fileset file="${output}/${snap_source_intermediate}" />
102    </copy>    </copy>
103        
104    <!-- adds namespace to intermediateModel instance with m: prefix -->    <!-- adds namespace to intermediateModel instance with m: prefix -->
# Line 127  Line 131 
131        
132    <jar jarfile="${dist}/${build.file}" compress="true">    <jar jarfile="${dist}/${build.file}" compress="true">
133      <fileset dir="${build.src}" />      <fileset dir="${build.src}" />
134      <fileset file="${properties}/global.properties" />      <fileset dir="${properties}">
135      <fileset file="${properties}/log4j.*" />        <include name="global.properties"/>
136          <include name="log4j.*"/>
137        </fileset>
138            
139      <manifest>      <manifest>
140        <attribute name="Built-By" value="${build.by}"/>        <attribute name="Built-By" value="${build.by}"/>
# Line 192  Line 198 
198    <jar jarfile="${dist}/${build.gen.file}" compress="true">    <jar jarfile="${dist}/${build.gen.file}" compress="true">
199      <fileset dir="${build.gen}" />      <fileset dir="${build.gen}" />
200      <fileset dir="${outputJava}">      <fileset dir="${outputJava}">
201        <include name="META-INF/*.*"/>        <include name="META-INF/persistence.xml" />
202      </fileset>      </fileset>
203    
204      <manifest>      <manifest>
# Line 228  Line 234 
234  <target name="makeJavaDoc">  <target name="makeJavaDoc">
235    <echo>making generated Java classes javadoc ...</echo>    <echo>making generated Java classes javadoc ...</echo>
236        
237    <mkdir dir="${sources.gen.docs}"/>    <mkdir dir="${javadoc}"/>
238        
239    <javadoc  additionalparam="-notimestamp"    <javadoc  additionalparam="-notimestamp"
240              destdir="${sources.gen.docs}"              destdir="${javadoc}"
241              access="private"              access="private"
242              author="true"              author="true"
243              encoding="UTF-8"              encoding="UTF-8"
244              use="false"              source="1.5"
245                use="true"
246              windowtitle="${source} : ${gen.title}" >              windowtitle="${source} : ${gen.title}" >
247            
248      <classpath>      <classpath>
249        <path refid="project.class.path" />        <path refid="project.class.path" />
250      </classpath>      </classpath>
251            
252      <fileset dir="${sources}" defaultexcludes="yes" includes="**/*.java" />      <fileset dir="${sources}">
253      <fileset dir="${sources.gen}/src" defaultexcludes="yes" includes="**/*.java" />        <include name="**/*.java"/>
254      <fileset dir="${sources.test}" defaultexcludes="yes" includes="**/*.java" />      </fileset>
255            <fileset dir="${sources.gen}/src">
256          <include name="**/*.java"/>
257        </fileset>
258        <fileset dir="${sources.test}">
259          <include name="**/*.java"/>
260        </fileset>
261      
262    </javadoc>    </javadoc>
263        
264    <echo>generated Java classes javadoc : done.</echo>    <echo>generated Java classes javadoc : done.</echo>
# Line 268  Line 281 
281    
282          Don't forget to setup an include pattern as Jalopy truly expects          Don't forget to setup an include pattern as Jalopy truly expects
283          valid Java source files as input!          valid Java source files as input!
284              -->
           
       -->  
285    <jalopy fileformat="unix"    <jalopy fileformat="unix"
286            convention="${jalopyConvention}"            convention="${jalopyConvention}"
287            encoding="UTF-8"            encoding="UTF-8"

Legend:
Removed from v.464  
changed lines
  Added in v.465

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26