svnno****@sourc*****
svnno****@sourc*****
2009年 11月 5日 (木) 17:24:28 JST
Revision: 34 http://sourceforge.jp/projects/ngms/svn/view?view=rev&revision=34 Author: osiire Date: 2009-11-05 17:24:28 +0900 (Thu, 05 Nov 2009) Log Message: ----------- add build.xml Added Paths: ----------- trunk/source/NMTree/build.xml Added: trunk/source/NMTree/build.xml =================================================================== --- trunk/source/NMTree/build.xml (rev 0) +++ trunk/source/NMTree/build.xml 2009-11-05 08:24:28 UTC (rev 34) @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- WARNING: Eclipse auto-generated file. + Any modifications will be overwritten. + To include a user specific buildfile here, simply create one in the same + directory with the processing instruction <?eclipse.ant.import?> + as the first entry and export the buildfile again. --> +<project basedir="." default="build" name="NMTree"> + <property environment="env"/> + <property name="ECLIPSE_HOME" value="../../../../../../../Applications/eclipse"/> + <property name="NMNetWalker.location" value="../NMNetWalker"/> + <property name="NMShell.location" value="../NMShell"/> + <property name="debuglevel" value="source,lines,vars"/> + <property name="target" value="1.5"/> + <property name="source" value="1.5"/> + <path id="Scala Library version 2.7.7.final.libraryclasspath"> + <pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/197/1/.cp/lib/scala-library.jar"/> + <pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/197/1/.cp/lib/scala-dbc.jar"/> + <pathelement location="${ECLIPSE_HOME}/configuration/org.eclipse.osgi/bundles/197/1/.cp/lib/scala-swing.jar"/> + </path> + <path id="NMTree.classpath"> + <pathelement location="bin"/> + <path refid="Scala Library version 2.7.7.final.libraryclasspath"/> + </path> + <target name="init"> + <mkdir dir="bin"/> + <copy includeemptydirs="false" todir="bin"> + <fileset dir="src"> + <exclude name="**/*.launch"/> + <exclude name="**/*.java"/> + </fileset> + </copy> + </target> + <target name="clean"> + <delete dir="bin"/> + </target> + <target depends="clean" name="cleanall"/> + <target depends="build-subprojects,build-project" name="build"/> + <target name="build-subprojects"/> + <target depends="init" name="build-project"> + <echo message="${ant.project.name}: ${ant.file}"/> + <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}"> + <src path="src"/> + <classpath refid="NMTree.classpath"/> + </javac> + </target> + <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"> + <ant antfile="${NMNetWalker.location}/build.xml" dir="${NMNetWalker.location}" inheritAll="false" target="clean"/> + <ant antfile="${NMNetWalker.location}/build.xml" dir="${NMNetWalker.location}" inheritAll="false" target="build"> + <propertyset> + <propertyref name="build.compiler"/> + </propertyset> + </ant> + <ant antfile="${NMShell.location}/build.xml" dir="${NMShell.location}" inheritAll="false" target="clean"/> + <ant antfile="${NMShell.location}/build.xml" dir="${NMShell.location}" inheritAll="false" target="build"> + <propertyset> + <propertyref name="build.compiler"/> + </propertyset> + </ant> + </target> + <target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"> + <copy todir="${ant.library.dir}"> + <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/> + </copy> + <unzip dest="${ant.library.dir}"> + <patternset includes="jdtCompilerAdapter.jar"/> + <fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/> + </unzip> + </target> + <target description="compile project with Eclipse compiler" name="build-eclipse-compiler"> + <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/> + <antcall target="build"/> + </target> +</project>