build.xml
changeset 2 f4add19ab159
parent 0 e0dbaef72362
child 6 ad18534e08fd
equal deleted inserted replaced
1:930f3c241fa5 2:f4add19ab159
     4 	<property name="package.name" value="org.homelinux.largo" />
     4 	<property name="package.name" value="org.homelinux.largo" />
     5 	<property name="package.dir" value="org/homelinux/largo" />
     5 	<property name="package.dir" value="org/homelinux/largo" />
     6 	<property name="jar.file" value="bin/games.jar" />
     6 	<property name="jar.file" value="bin/games.jar" />
     7 	<property name="classpath.dir" value="/usr/local/lib/classes" />
     7 	<property name="classpath.dir" value="/usr/local/lib/classes" />
     8 	<property name="www.dir" value="/var/www/localhost/htdocs/classes" />
     8 	<property name="www.dir" value="/var/www/localhost/htdocs/classes" />
     9 	<property name="docs.dir" value="docs/" />
     9 	<property name="docs.dir" value="doc/" />
    10 	<property name="debug" value="simu" />
    10 	<property name="debug" value="simu" />
    11 
    11 
    12 	<property name="distributable.exts"
    12 	<property name="distributable.exts"
    13 		value="**/*.class,**/*.gif,**/*.html,**/*.jar,**/*.jnlp,**/*.jpg,**/*.png" />
    13 		value="**/*.class,**/*.gif,**/*.html,**/*.jar,**/*.jnlp,**/*.jpg,**/*.png" />
    14 	<path id="Schach.classpath">
    14 	<path id="Schach.classpath">
    28 
    28 
    29 	<target name="docs"
    29 	<target name="docs"
    30 	    depends="compile,docs-init"
    30 	    depends="compile,docs-init"
    31     	description="Generate JavaDocs.">
    31     	description="Generate JavaDocs.">
    32 
    32 
    33     <javadoc destdir="${docs.dir}"
    33 	    <javadoc destdir="${docs.dir}"
    34         author="true"
    34     	    author="true"
    35         version="true"
    35         	version="true"
    36         use="true"
    36 	        use="true"
    37         windowtitle="${ant.project.name}"
    37     	    windowtitle="${ant.project.name}"
    38         sourcepathref="Schach.classpath"
    38         	sourcepathref="Schach.classpath"
    39         packagenames="org.*"
    39 	        packagenames="org.*"
    40         verbose="false">
    40     	    verbose="false">
    41         <doctitle><![CDATA[<h1>${ant.project.name}</h1>]]></doctitle>
    41         	<doctitle><![CDATA[<h1>${ant.project.name}</h1>]]></doctitle>
    42         <bottom>
    42 	        <bottom>
    43             <![CDATA[<i>Developed by Largo Enterprises in 2008</i>]]>
    43     	        <![CDATA[<i>Developed by Largo Enterprises in 2008</i>]]>
    44         </bottom>
    44         	</bottom>
    45     </javadoc>
    45 	    </javadoc>
       
    46 	</target>
    46 
    47 
       
    48 	<target name="docs-init">
       
    49 	    <mkdir dir="${docs.dir}"/>
    47 	</target>
    50 	</target>
    48 		<target name="docs-init">
       
    49 		    <mkdir dir="${docs.dir}"/>
       
    50 		</target>
       
    51 
    51 
    52 	<target name="docs-clean">
    52 	<target name="docs-clean">
    53     	<delete dir="${docs.dir}"/>
    53     	<delete dir="${docs.dir}"/>
    54 	</target>
    54 	</target>
    55 
    55