diff options
Diffstat (limited to 'build.xml')
| -rw-r--r-- | build.xml | 21 |
1 files changed, 19 insertions, 2 deletions
@@ -8,7 +8,7 @@ <property name="srcAuth" value="src/YalpAuth"/>
<property name="srcServer" value="src/YalpServer"/>
<property name="srcClients" value="src/YalpClients"/>
-
+ <property name="srcPgSqlInputIndexer" value="${srcInputs}/YalpPGSqlInput/YalpPGSQLIndexer"/>
<property name="srcVlcTelnetOutput" value="${srcOutputs}/YalpVlcTelnetOutput"/>
<property name="srcPGSqlInput" value="${srcInputs}/YalpPGSqlInput"/>
<property name="srcPGSqlAuth" value="${srcAuth}/YalpPGSqlAuth"/>
@@ -26,6 +26,7 @@ <property name="log4jLibs" value="lib/log4j-1.2.15.jar"/>
<property name="vlctelnetLibs" value="lib/commons-net-1.4.1.jar"/>
<property name="swtLibs" value="/usr/share/swt-3/lib/swt.jar /usr/lib/java/swt.jar"/>
+ <property name="indexerLibs" value="lib/yajil-0.3.3.jar"/>
<property name="dbLibs" value="lib/postgresql-8.1-404.jdbc3.jar"/>
<property name="idlj" value="../idlj.sh"/>
@@ -37,7 +38,7 @@ <pathelement path="${additional.path}"/>
</path>
- <target name="all" depends="vlctelnetoutput, pgsqlinput, pgsqlauth, server, swtclient" description="builds server and client">
+ <target name="all" depends="vlctelnetoutput, pgsqlinput, pgsqlindexer, pgsqlauth, server, swtclient" description="builds server and client">
<echo>Doing all</echo>
</target>
@@ -104,6 +105,22 @@ </jar>
</target>
+ <target name="pgsqlindexer" description="indexer for pgsqlinputplugin">
+ <javac debug="true" srcdir="${srcPgSqlInputIndexer}" destdir="${build}/indexer"/>
+ <jar destfile="yalpPGSqlIndexer.jar" basedir="${build}">
+ <path id="project.class.path">
+ <pathelement location="${lib}"/>
+ <pathelement path="${java.class.path}"/>
+ <pathelement path="${additional.path}"/>
+ </path>
+ <manifest>
+ <attribute name="Built-By" value="${user.name}"/>
+ <attribute name="Main-Class" value="YalpInputs.YalpPGSqlInput.YalpPGSQLIndexer.YalpPGSQLIndexer"/>
+ <attribute name="Class-Path" value="${indexerLibs}"/>
+ </manifest>
+ </jar>
+ </target>
+
<target name ="auth" description="builds auth base files">
<javac debug="true" srcdir="${srcAuth}" destdir="${build}"/>
</target>
|
