Code Search for Developers
 
 
  

build.xml from Kneobase at Krugle


Show build.xml syntax highlighted

<?xml version="1.0"?>

<project name="Core"  default="jars" basedir=".">

	<property file="../KneobaseCommons/kneobase.properties"/>
	<property file="project.properties"/>

	<target name="init">
		<echo>Building Core module ....</echo>
	</target>
	
    <target name="finish">
		<echo>Core built sucessfully!!</echo>
	</target>

	<path id="all-libs">
		<fileset dir="${lib.dir}">
			<include name="**/*.jar"/>
		</fileset>
	</path>

	<target name="clean" description="Clean all output dirs (dist, javadocs, classes, etc.)">
		<delete dir="${dist.dir}" failonerror="false"/>
		<delete dir="${javadocs.dir}" failonerror="false"/>

		<delete dir="${target.classes.dir}" failonerror="false"/>

		<!-- just kill target dir (it's safer). No need at this point to keep it -->
		<delete dir="${target.dir}" failonerror="false"/>
	</target>

	<target name="javadoc" description="Generate framework Javadocs.">
		<mkdir dir="${javadocs.dir}"/>

		<javadoc sourcepath="${src.dir}" 
			destdir="${javadocs.dir}" 
			windowtitle="Kneobase Core"
			defaultexcludes="yes"
			author="true" version="true" use="true">
				<doctitle><![CDATA[<h1>Kneobase Core</h1>]]></doctitle>
				<bottom><![CDATA[<i>Copyright (C) 2004 Colaborativa.net</i>]]></bottom>
				<classpath refid="all-libs"/>
				<packageset dir="${src.dir}">
					<include name="com/kneobase/**"/>
				</packageset>
		</javadoc>
	</target>

	<target name="build" description="Compile source java files into class files (no-jarring)">
		<mkdir dir="${target.classes.dir}"/>

		<javac destdir="${target.classes.dir}" target="1.4" source="1.4" debug="true"
			deprecation="false" optimize="false" failonerror="true">
			<src path="${src.dir}"/>
			<classpath refid="all-libs"/>
		</javac>
	</target>

	<target name="initdist" description="Initialize the distribution directory">
		<mkdir dir="${dist.dir}"/>
	</target>

	<target name="jars" depends="init,build,initdist,finish" description="Create module-specific JAR files">
		<jar jarfile="${dist.dir}/kneobase-core.jar">
			<fileset dir="${target.classes.dir}">
				<exclude name="**/*.ucd" />
			</fileset>
			<manifest>
				<attribute name="Kneobase-Version" value="${kneobase.version}"/>
			</manifest>
		</jar>
	</target>

	<target name="delete_dist_files" description="Delete .class and .jar files">
		<delete failonerror="false">
			<fileset dir="${target.classes.dir}">
				<include name="**/*"/>
			</fileset>
		</delete>
		<delete failonerror="false">
			<fileset dir="${dist.dir}">
				<include name="kneobase-*.jar"/>
			</fileset>
		</delete>
	</target>

</project>



See more files for this project here

Kneobase

Kneobase is an enterprise search engine, based upon the Lucene search engine and the Spring framework. It allows to perform full-text search across many different content sources. It is highly adaptable out-of-the-box and has a pluggable architecture.

Project homepage: http://sourceforge.net/projects/kneobase
Programming language(s): Java,XML
License: other

  classes/
  lib/
    colaborativa-analyzers.jar
    highlighter.jar
    kneobase-languageidentifier.jar
    log4j-1.2.8.jar
    lucene-1.4.3.jar
    snowball-1.1-dev.jar
  src/
    com/
      kneobase/
        document/
          Document.java
          Field.java
        driver/
          I_IndexData.java
        util/
          I_PathInfo.java
        I_KneobaseConstants.java
        KneobaseException.java
  .classpath
  .project
  build.xml
  project.properties