blob: 43f608103fb16e25f7920688996af5033afd3262 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project default="generateJava" name="org.eclipse.acceleo.module.example.uml2java">
<property name="ECLIPSE_HOME" value="G:/development/eclipse_3.7_Acceleo"/>
<property name="ECLIPSE_WORKSPACE" value="G:/development/eclipse_3.7_Acceleo/workspace"/>
<!-- The classpath with only the dependencies used by the project -->
<path id="org.eclipse.acceleo.module.example.uml2java.libraryclasspath">
<pathelement location="${ECLIPSE_WORKSPACE}/org.eclipse.acceleo.module.example.uml2java/bin"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.7.0.v20110110.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.7.0.v20110613.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.6.0.v20110523.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.5.100.v20110404.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505/runtime_registry_compatibility.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.5.100.v20110502.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.4.0.v20110502.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_3.2.0.v201105231350.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.7.0.v20110605-0747.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.7.0.v20110605-0747.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.7.0.v20110520-1406.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_1.6.0.v201105021727.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.1.0.v20110606-1427.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.1.0.v20110510-2118.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.7.0.v20110606-0949.jar"/>
<pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.6.0.v20110606-0949.jar"/>
</path>
<path id="org.eclipse.acceleo.module.example.uml2java.classpath">
<path refid="org.eclipse.acceleo.module.example.uml2java.libraryclasspath"/>
</path>
<!-- The classpath with only the jars available in the plugin folder of Eclipse -->
<path id="org.eclipse.acceleo.module.example.uml2java.libraryclasspath.alljars">
<pathelement location="../org.eclipse.acceleo.module.example.uml2java/bin"/>
<fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/>
</path>
<path id="org.eclipse.acceleo.module.example.uml2java.classpath.alljars">
<path refid="org.eclipse.acceleo.module.example.uml2java.libraryclasspath.alljars"/>
</path>
<!-- The default task with the jars used by this project -->
<target name="generateJava">
<java classname="org.eclipse.acceleo.module.example.uml2java.GenerateJava" classpathref="org.eclipse.acceleo.module.example.uml2java.classpath">
<arg value="${model}"/>
<arg value="${target}"/>
</java>
</target>
<!--
In case of problem you can also try with all the jar available in your Eclipse
Keep in mind that having two versions of the same jar can create problems
-->
<target name="generateJava.alljars">
<java classname="org.eclipse.acceleo.module.example.uml2java.GenerateJava" classpathref="org.eclipse.acceleo.module.example.uml2java.classpath">
<arg value="${model}"/>
<arg value="${target}"/>
</java>
</target>
</project>