| <?xml version="1.0" encoding="UTF-8"?> |
| <project default="generate" name="org.eclipse.mdht.report"> |
| <property name="ECLIPSE_HOME" value="../../../../../../../../Applications/Eclipse 4.app/Contents/Eclipse"/> |
| <property name="ECLIPSE_WORKSPACE" value="../../../../../../mdmi-workspace20181126"/> |
| |
| <!-- The classpath with only the dependencies used by the project --> |
| <path id="org.eclipse.mdht.report.libraryclasspath"> |
| <pathelement location="${ECLIPSE_WORKSPACE}/org.eclipse.mdht.report/bin"/> |
| </path> |
| |
| <path id="org.eclipse.mdht.report.classpath"> |
| <path refid="org.eclipse.mdht.report.libraryclasspath"/> |
| </path> |
| |
| <!-- The classpath with only the jars available in the plugin folder of Eclipse --> |
| <path id="org.eclipse.mdht.report.libraryclasspath.alljars"> |
| <pathelement location="../org.eclipse.mdht.report/bin"/> |
| <fileset dir="${ECLIPSE_HOME}/plugins/" includes="*.jar"/> |
| </path> |
| |
| <path id="org.eclipse.mdht.report.classpath.alljars"> |
| <path refid="org.eclipse.mdht.report.libraryclasspath.alljars"/> |
| </path> |
| |
| <!-- The default task with the jars used by this project --> |
| <target name="generate"> |
| <java classname="org.eclipse.mdht.report.common.Generate" classpathref="org.eclipse.mdht.report.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="generate.alljars"> |
| <java classname="org.eclipse.mdht.report.common.Generate" classpathref="org.eclipse.mdht.report.classpath"> |
| <arg value="${model}"/> |
| <arg value="${target}"/> |
| </java> |
| </target> |
| </project> |