Show build.xml syntax highlighted
<?xml version="1.0"?>
<project name="WindowsExecutable" default="build" basedir=".">
<import file="../KneobaseCommons/tasks.xml"/>
<property file="../Demo-EmbeddedServlet/project.properties"/> <!-- jar.name -->
<property file="../Demo-EmbeddedServletWindowed/project.properties"/> <!-- jar.name -->
<taskdef name="jsmooth" classpath="${lib}/jsmoothgen-ant.jar" classname="net.charabia.jsmoothgen.ant.JSmoothGen"/>
<target name="buildDependecies">
<ant dir="../Demo-EmbeddedServletWindowed" inheritall="false" target="build"/>
</target>
<property name="bundledJVMPath" value="..\build\temp\jre"/>
<property name="executableName-console" value="..\build\temp\kneobase.exe"/>
<property name="executableName-gui" value="..\build\temp\kneobase-gui.exe"/>
<property name="iconLocation" value="..\src\kneobase.png"/>
<property name="jarLocation-console" value="..\build\temp\${Demo-EmbeddedServlet.jar.name}"/>
<property name="jarLocation-gui" value="..\build\temp\${Demo-EmbeddedServletWindowed.jar.name}"/>
<property name="mainClassName-console" value="com.kneobase.demo.EmbeddedServlet"/>
<property name="mainClassName-gui" value="com.kneobase.demo.EmbeddedServletWindowed"/>
<target name="jsmooth">
<!-- FIXME there's a lot of hardcoded stuff -->
<mkdir dir="${build}/temp"/>
<copy todir="${build}/temp">
<fileset dir="../Demo-EmbeddedServlet/${build.dist}" />
<fileset dir="../Demo-EmbeddedServletWindowed/${build.dist}" />
</copy>
<copy file="${src}/kneobase.jsmooth" todir="${build}"/>
<copy file="${src}/kneobase-gui.jsmooth" todir="${build}"/>
<replace file="${build}/kneobase.jsmooth"
token="<bundledJVMPath>REPLACED DURNING BUILD</bundledJVMPath>"
value="<bundledJVMPath>${bundledJVMPath}</bundledJVMPath>"/>
<replace file="${build}/kneobase-gui.jsmooth"
token="<bundledJVMPath>REPLACED DURNING BUILD</bundledJVMPath>"
value="<bundledJVMPath>${bundledJVMPath}</bundledJVMPath>"/>
<replace file="${build}/kneobase.jsmooth"
token="<executableName>REPLACED DURNING BUILD</executableName>"
value="<executableName>${executableName-console}</executableName>"/>
<replace file="${build}/kneobase-gui.jsmooth"
token="<executableName>REPLACED DURNING BUILD</executableName>"
value="<executableName>${executableName-gui}</executableName>"/>
<replace file="${build}/kneobase.jsmooth"
token="<iconLocation>REPLACED DURNING BUILD</iconLocation>"
value="<iconLocation>${iconLocation}</iconLocation>"/>
<replace file="${build}/kneobase-gui.jsmooth"
token="<iconLocation>REPLACED DURNING BUILD</iconLocation>"
value="<iconLocation>${iconLocation}</iconLocation>"/>
<replace file="${build}/kneobase.jsmooth"
token="<jarLocation>REPLACED DURNING BUILD</jarLocation>"
value="<jarLocation>${jarLocation-console}</jarLocation>"/>
<replace file="${build}/kneobase-gui.jsmooth"
token="<jarLocation>REPLACED DURNING BUILD</jarLocation>"
value="<jarLocation>${jarLocation-gui}</jarLocation>"/>
<replace file="${build}/kneobase.jsmooth"
token="<mainClassName>REPLACED DURNING BUILD</mainClassName>"
value="<mainClassName>${mainClassName-console}</mainClassName>"/>
<replace file="${build}/kneobase-gui.jsmooth"
token="<mainClassName>REPLACED DURNING BUILD</mainClassName>"
value="<mainClassName>${mainClassName-gui}</mainClassName>"/>
<jsmooth project="${build}/kneobase.jsmooth" skeletonroot="jsmooth/skeletons" />
<jsmooth project="${build}/kneobase-gui.jsmooth" skeletonroot="jsmooth/skeletons" />
<copy file="${build}/temp/kneobase.exe" todir="${build.dist}"/>
<copy file="${build}/temp/kneobase-gui.exe" todir="${build.dist}"/>
</target>
<target name="build" depends="clean, buildDependecies, jsmooth"/>
</project>
See more files for this project here
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
docs/
project-info.txt
jsmooth/
skeletons/
console-wrapper/
consolewrapper.exe
description.skel
windowed-wrapper/
description.skel
jwrap.exe
lib/
jsmoothgen-ant.jar
src/
kneobase-gui.jsmooth
kneobase.jsmooth
kneobase.png
.classpath
.project
build.xml