svn-gvsig-desktop / tags / v1_0_2_Build_892 / libraries / libIverUtiles / xmlEntity.xml
History | View | Annotate | Download (1013 Bytes)
1 | 496 | vcaballero | <project name="MyProject" default="generate-config-classes" basedir="."> |
---|---|---|---|
2 | <!-- set global properties for this build -->
|
||
3 | <property name="bin" location="bin" /> |
||
4 | <property name="src" location="src" /> |
||
5 | <property name="lib" location="lib" /> |
||
6 | <property name="schemas" location="schemas" /> |
||
7 | |||
8 | <target name="init"> |
||
9 | <!-- Create the time stamp -->
|
||
10 | <tstamp /> |
||
11 | </target>
|
||
12 | |||
13 | <!-- Genera las clases a partir de los esquemas -->
|
||
14 | <target name="generate-config-classes"> |
||
15 | <delete>
|
||
16 | <fileset dir="${src}" includes="com/iver/utiles/xmlEntity/generate/**" /> |
||
17 | </delete>
|
||
18 | <java classname="org.exolab.castor.builder.SourceGenerator"> |
||
19 | <classpath>
|
||
20 | <pathelement path="../GVSIG/lib/castor-0.9.5.3-xml.jar" /> |
||
21 | <pathelement path="../GVSIG/lib/xercesImpl.jar" /> |
||
22 | </classpath>
|
||
23 | <arg value="-i" /> |
||
24 | <arg value="${schemas}/xml-entity.xsd" /> |
||
25 | <arg value="-package" /> |
||
26 | <arg value="com.iver.utiles.xmlEntity.generate" /> |
||
27 | <arg value="-dest" /> |
||
28 | <arg value="${src}" /> |
||
29 | </java>
|
||
30 | </target>
|
||
31 | |||
32 | </project> |