build.xml revision 2b88c50634cecd0c1564bcc740b368b3c0d7e58f
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCDDL HEADER START
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeThe contents of this file are subject to the terms of the
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCommon Development and Distribution License (the "License").
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeYou may not use this file except in compliance with the License.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeSee LICENSE.txt included in this distribution for the specific
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyelanguage governing permissions and limitations under the License.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeWhen distributing Covered Code, include this CDDL HEADER in each
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyefile and include the License file at LICENSE.txt.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeIf applicable, add the following below this CDDL HEADER, with the
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyefields enclosed by brackets "[]" replaced with your own identifying
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyeinformation: Portions Copyright [yyyy] [name of copyright owner]
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCDDL HEADER END
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeCopyright 2005 Sun Microsystems, Inc. All rights reserved.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond NorbyeUse is subject to license terms.
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbyeident "%Z%%M% %I% %E% SMI"
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <taskdef classname="JFlex.anttask.JFlexTask" name="jflex"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <property name="outputjar" value="opengrok.jar"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <property name="classdir" value="${builddir}/classes"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <property name="gensrcdir" value="${builddir}/src"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <property name="webapp" value="${builddir}/webapp"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/c/CSymbolTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/c/CXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/java/JavaSymbolTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/java/JavaXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/lisp/LispSymbolTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/lisp/LispXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainFullTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainSymbolTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/plain/XMLXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/document/TroffXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/document/TroffFullTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/sh/ShSymbolTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/analysis/sh/ShXref.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <jflex file="src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.lex" destdir="${gensrcdir}"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <javac destdir="${classdir}" deprecation="true" debug="true" optimize="on" >
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <fileset dir="${classdir}" excludes="**/test/"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <fileset dir="src" includes="org/opensolaris/opengrok/index/*.png"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <fileset dir="src" includes="org/opensolaris/opengrok/search/scope/*.gif"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <attribute name="Main-Class" value="org.opensolaris.opengrok.index.Indexer"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <attribute name="Class-Path" value="lib/lucene-core-1.9.1.jar
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <javadoc sourcepath="src" destdir="${builddir}/api" packagenames="org.opensolaris.opengrok.*">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <war destfile="source.war" webxml="conf/default/web.xml">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <lib dir="lib" includes="*.jar" excludes="servlet-api.jar"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <target name="polished" depends="compile,build">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <war destfile="source.war" webxml="conf/polished/web.xml">
2e3888b9e322264fa8a5bd5c8b52df231f2eededTrond Norbye <lib dir="lib" includes="*.jar" excludes="servlet-api.jar"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <target name="offwhite" depends="compile,build">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <war destfile="source.war" webxml="conf/offwhite/web.xml">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <lib dir="lib" includes="*.jar" excludes="servlet-api.jar"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <target name="os-webapp" depends="compile,build">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <war destfile="source.war" webxml="conf/opensolaris/web.xml">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <lib dir="lib" includes="*.jar" excludes="servlet-api.jar"/>
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <tar destfile="${distdir}/${distname}-${version}.tar">
96c1ae30d032621b47c4ac375b151ddaef5f1507Trond Norbye <tarfileset dir="." username="ant" group="ant" prefix="${distname}-${version}/">
<gzip zipfile="${distdir}/${distname}-${version}.tar.gz" src="${distdir}/${distname}-${version}.tar"/>
<gzip zipfile="${distdir}/${distname}-${version}-src.tar.gz" src="${distdir}/${distname}-${version}-src.tar"/>