<commit_before>
<project name="jME" default="compile" basedir=".">
	<description>
        Ant Build File for the jME API.
    </description>

    <import file="build-import.xml"/>

	<property name="class" location="${build}" />
	<property name="jars" location="${release}" />
	<property name="webstart" location="${seg}/jnlp" />

    <property file="build.properties"/>
<!--    defaults for build.properties:-->
    <property name="keyStore" value="jmeKeyStore"/>
    <property name="storepass" value="..."/>
    <property name="ftpuser" value="..."/>
    <property name="ftppassword" value="..."/>
    <property name="ftphost" value="ftp.jmonkeyengine.com"/>
    <!--    end of defaults -->

    <path id="classpath">
        <fileset dir="${libs}">
            <include name="*.jar"/>
        </fileset>
        <pathelement path="${class}"/>
    </path>

	<target name="init">
        <echo message="${keyStore}"/>
		<mkdir dir="${src}" />
		<mkdir dir="${class}" />
		<mkdir dir="${data}" />
		<mkdir dir="${doc}" />
	</target>

	<!-- Compiles all the jME classes, including com.jmex.* -->
	<target name="compile" depends="init" description="generate jme classes">
		<mkdir dir="${class}" />
		<mkdir dir="${class}/com" />
		<copy todir="${class}/com">
			<fileset dir="${src}/com">
				<exclude name="**/*.java" />
			</fileset>
		</copy>
		<javac source="1.5" target="1.5"
		       srcdir="${src}/com"
		       destdir="${class}"
		       classpathref="classpath"
			   listfiles="no"
               fork="true"
               memoryMaximumSize="256m"
        />
	</target>

    <target name="run-testchooser" depends="compile-test" description="Runs the TestChooser">
        <java classname="jmetest.TestChooser"
              fork="true"
              classpathref="classpath">
            <jvmarg value="-Djava.library.path=${libs}"/>
        </java>
    </target>

	<!-- Jar files for different parts of the jME API -->

	<target name="dist-core" depends="compile" description="generate jme jar file">
		<jar jarfile="${jars}/jme.jar" basedir="${class}" update="no" compress="false" includes="**/com/jme/**/*.class, **/com/jme/**/*.tga, **/com/jme/**/*.png, **/com/jme/**/*.glf" />
	</target>
	<target name="dist-awt" depends="compile" description="generate jme jar file (awt)">
		<jar jarfile="${jars}/jme-awt.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/awt/**/*.class" />
	</target>
	<target name="dist-editors" depends="compile" description="generate jme jar file (editors)">
		<jar jarfile="${jars}/jme-editors.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/editors/**/*.class" />
	</target>
	<target name="dist-effects" depends="compile" description="generate jme jar file (effects)">
		<jar jarfile="${jars}/jme-effects.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/effects/**/*.class, **/com/jmex/effects/**/data/*.*" />
	</target>
	<target name="dist-font" depends="compile" description="generate jme jar file (font)">
		<jar jarfile="${jars}/jme-font.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/font2d/**/*.class,**/com/jmex/font3d/**/*.class" />
	</target>
	<target name="dist-gamestates" depends="compile" description="generate jme jar file (gamestates)">
		<jar jarfile="${jars}/jme-gamestates.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/game/**/*.class" />
	</target>
	<target name="dist-model" depends="compile" description="generate jme jar file (model)">
		<jar jarfile="${jars}/jme-model.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/model/**/*.class" excludes="**/com/jmex/model/collada/**"/>
	</target>
	<target name="dist-collada" depends="compile" description="generate jme jar file (collada)">
		<jar jarfile="${jars}/jme-collada.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/model/collada/**/*.class"/>
	</target>
	<target name="dist-scene" depends="compile" description="generate jme jar file (scene)">
		<jar jarfile="${jars}/jme-scene.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/scene/**/*.class" />
	</target>
	<target name="dist-sound" depends="compile" description="generate jme jar file (sound)">
		<jar jarfile="${jars}/jme-sound.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/sound/**/*.class" />
	</target>
	<target name="dist-terrain" depends="compile" description="generate jme jar file (terrain)">
		<jar jarfile="${jars}/jme-terrain.jar" basedir="${class}" update="no" compress="false" includes="**/com/jmex/terrain/**/*.class" />
	</target>

	<!-- Creates all the jME jars -->
	<target name="dist-all" depends="dist-core, dist-terrain, dist-awt, dist-effects, dist-model, dist-collada, dist-sound, dist-editors, dist-font, dist-gamestates, dist-scene" description="Generate all jar files" />

	<target name="webdist-all" depends="dist-all" description="sign JARs for JNLP distribution">
		<signjar jar="${jars}/jme.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-awt.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-editors.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-effects.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-font.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-gamestates.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-model.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-collada.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-scene.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-sound.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-terrain.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
	</target>

	<!-- Generats javadoc -->
	<target name="doc" depends="compile" description="generate the javadoc documentation">
		<javadoc destdir="${doc}" useExternalFile="yes" author="true" version="true" use="true"
                 package="yes" windowtitle="jME API"
                 maxmemory="256m">
			<fileset dir="${src}/com">
				<include name="**/*.java" />
			</fileset>
		</javadoc>
	</target>

	<!-- Removes all compiled files and documentation, but leaves any created jars -->
	<target name="clean" description="clean up">
		<delete dir="${class}" />
		<delete dir="${doc}" />
		<delete>
			<fileset dir="${src}" includes="**/*.class" />
            <fileset dir="${release}" includes="jme*.jar"/>
            <fileset dir="${webstart}" includes="*.jar"/>
		</delete>
	</target>

	<target name="rebuild" depends="clean" description="build from clean">
		<ant />
	</target>

	<!-- *** jmetest-related build targets -->

	<target name="compile-test" depends="compile" description="generate jme test classes">
		<javac source="1.5" target="1.5"
		       srcdir="${src}/jmetest"
	           destdir="${class}"
	           classpathref="classpath"
               fork="true"
               memoryMaximumSize="256m"<commit_msg>excluded collada stuff from javadoc generation<commit_after>
<project name="jME" default="compile" basedir=".">
	<description>
        Ant Build File for the jME API.
    </description>

    <import file="build-import.xml"/>

	<property name="class" location="${build}" />
	<property name="jars" location="${release}" />
	<property name="webstart" location="${seg}/jnlp" />

    <property file="build.properties"/>
<!--    defaults for build.properties:-->
    <property name="keyStore" value="jmeKeyStore"/>
    <property name="storepass" value="..."/>
    <property name="ftpuser" value="..."/>
    <property name="ftppassword" value="..."/>
    <property name="ftphost" value="ftp.jmonkeyengine.com"/>
    <!--    end of defaults -->

    <path id="classpath">
        <fileset dir="${libs}">
            <include name="*.jar"/>
        </fileset>
        <pathelement path="${class}"/>
    </path>

	<target name="init">
        <echo message="${keyStore}"/>
		<mkdir dir="${src}" />
		<mkdir dir="${class}" />
		<mkdir dir="${data}" />
		<mkdir dir="${doc}" />
	</target>

	<!-- Compiles all the jME classes, including com.jmex.* -->
	<target name="compile" depends="init" description="generate jme classes">
		<mkdir dir="${class}" />
		<mkdir dir="${class}/com" />
		<copy todir="${class}/com">
			<fileset dir="${src}/com">
				<exclude name="**/*.java" />
			</fileset>
		</copy>
		<javac source="1.5" target="1.5"
		       srcdir="${src}/com"
		       destdir="${class}"
		       classpathref="classpath"
			   listfiles="no"
               fork="true"
               memoryMaximumSize="256m"
        />
	</target>

    <target name="run-testchooser" depends="compile-test" description="Runs the TestChooser">
        <java classname="jmetest.TestChooser"
              fork="true"
              classpathref="classpath">
            <jvmarg value="-Djava.library.path=${libs}"/>
        </java>
    </target>

	<!-- Jar files for different parts of the jME API -->

	<target name="dist-core" depends="compile" description="generate jme jar file">
		<jar jarfile="${jars}/jme.jar" basedir="${class}" update="no" compress="true" includes="**/com/jme/**/*.class, **/com/jme/**/*.tga, **/com/jme/**/*.png, **/com/jme/**/*.glf" />
	</target>
	<target name="dist-awt" depends="compile" description="generate jme jar file (awt)">
		<jar jarfile="${jars}/jme-awt.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/awt/**/*.class" />
	</target>
	<target name="dist-editors" depends="compile" description="generate jme jar file (editors)">
		<jar jarfile="${jars}/jme-editors.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/editors/**/*.class" />
	</target>
	<target name="dist-effects" depends="compile" description="generate jme jar file (effects)">
		<jar jarfile="${jars}/jme-effects.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/effects/**/*.class, **/com/jmex/effects/**/data/*.*" />
	</target>
	<target name="dist-font" depends="compile" description="generate jme jar file (font)">
		<jar jarfile="${jars}/jme-font.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/font2d/**/*.class,**/com/jmex/font3d/**/*.class" />
	</target>
	<target name="dist-gamestates" depends="compile" description="generate jme jar file (gamestates)">
		<jar jarfile="${jars}/jme-gamestates.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/game/**/*.class" />
	</target>
	<target name="dist-model" depends="compile" description="generate jme jar file (model)">
		<jar jarfile="${jars}/jme-model.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/model/**/*.class" excludes="**/com/jmex/model/collada/**"/>
	</target>
	<target name="dist-collada" depends="compile" description="generate jme jar file (collada)">
		<jar jarfile="${jars}/jme-collada.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/model/collada/**/*.class"/>
	</target>
	<target name="dist-scene" depends="compile" description="generate jme jar file (scene)">
		<jar jarfile="${jars}/jme-scene.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/scene/**/*.class" />
	</target>
	<target name="dist-sound" depends="compile" description="generate jme jar file (sound)">
		<jar jarfile="${jars}/jme-sound.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/sound/**/*.class" />
	</target>
	<target name="dist-terrain" depends="compile" description="generate jme jar file (terrain)">
		<jar jarfile="${jars}/jme-terrain.jar" basedir="${class}" update="no" compress="true" includes="**/com/jmex/terrain/**/*.class" />
	</target>

	<!-- Creates all the jME jars -->
	<target name="dist-all" depends="dist-core, dist-terrain, dist-awt, dist-effects, dist-model, dist-collada, dist-sound, dist-editors, dist-font, dist-gamestates, dist-scene" description="Generate all jar files" />

	<target name="webdist-all" depends="dist-all" description="sign JARs for JNLP distribution">
		<signjar jar="${jars}/jme.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-awt.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-editors.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-effects.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-font.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-gamestates.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-model.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-collada.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-scene.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-sound.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
		<signjar jar="${jars}/jme-terrain.jar" alias="jme" keystore="${webstart}/${keyStore}" storepass="${storepass}" />
	</target>

	<!-- Generats javadoc -->
	<target name="doc" depends="compile" description="generate the javadoc documentation">
		<javadoc destdir="${doc}" useExternalFile="yes" author="true" version="true" use="true"
                 package="yes" windowtitle="jME API"
                 maxmemory="256m">
			<fileset dir="${src}/com">
                <include name="**/*.java" />
                <exclude name="**/jmex/model/collada/schema/**" />
                <exclude name="**/jmex/model/collada/types/**" />
                <exclude name="**/jmex/model/collada/xml/**" />
			</fileset>
		</javadoc>
	</target>

	<!-- Removes all compiled files and documentation, but leaves any created jars -->
	<target name="clean" description="clean up">
		<delete dir="${class}" />
		<delete dir="${doc}" />
		<delete>
			<fileset dir="${src}" includes="**/*.class" />
            <fileset dir="${release}" includes="jme*.jar"/>
            <fileset dir="${webstart}" includes="*.jar"/>
		</delete>
	</target>

	<target name="rebuild" depends="clean" description="build from clean">
		<ant />
	</target>

	<!-- *** jmetest-related build targets -->

	<target name="compile-test" depends="compile" description="generate jme test classes">
		<javac source="1.5" target="1.5"
		       srcdir="${src}/jmetest"
	           destdir="${class}"
	           classpathref="classpath"
               fork="true"
               memoryMaximumSize="256m"
{'fraction_non_alphanumeric': 0.22682782631544374, 'fraction_numerical': 0.0024962228207317874, 'mean_word_length': 4.273294076896432, 'pattern_counts': {'":': 0, '<': 240, '<?xml version=': 0, '>': 238, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '159899', 'n_tokens_mistral': 5191, 'n_tokens_neox': 4888, 'n_words': 944}