Code Search for Developers
 
 
  

build.xml from Re-searcher at Krugle


Show build.xml syntax highlighted

<?xml version="1.0" encoding="UTF-8"?>
<project name="Re-searcher" default="app-linux">

	<property name="src" location="src" />
	<property name="lib" location="lib" />
	<property name="build" location="build" />
	<property name="dist" location="dist" />
	<property name="linuxfiles" location="linux" />
	<property name="windowsfiles" location="windows" />
	<property name="app" location="app" />
	<property name="researcher" location="${app}/researcher" />
	
	<property environment="env"/>	

	<target name="init">
		<tstamp />
		<mkdir dir="${build}" />
	</target>

	<target name="compile" depends="init">
		<javac srcdir="${src}" destdir="${build}" compiler="javac1.5">
			<classpath>
				<fileset dir="${lib}">
					<include name="**/*.jar" />
				</fileset>
			</classpath>Cloak
		</javac>
	</target>
	
	<target name="init_dist">
		<mkdir dir="${dist}" />
	</target>

	<target name="init_app">
		<mkdir dir="${researcher}"/>
		<mkdir dir="${researcher}/lib" />
		<mkdir dir="${researcher}/db" />
		<mkdir dir="${researcher}/logs" />
		<mkdir dir="${researcher}/conf" />
		<mkdir dir="${researcher}/bin" />
	</target>
	
	<target name="jar" depends="clean_dist,init_dist,compile">
		<jar jarfile="${dist}/starter.jar" basedir="${build}" />
	</target>

	<target name="app" depends="clean,init_dist,jar">
		<copy file="researcher.jar" todir="${researcher}" />
		<copy file="${dist}/starter.jar" todir="${researcher}/lib"/>		
		<copy todir="${researcher}/lib">
			<fileset dir="lib" />
		</copy>
		<copy todir="${researcher}/doc">
			<fileset dir="doc"/>
		</copy>
		<copy todir="${researcher}/conf">
			<fileset dir="conf"/>
		</copy>		
		<mkdir dir="${researcher}/db" />
		<mkdir dir="${researcher}/logs" />
	</target>
	
	<target name="app-linux" depends="app">
		<copy todir="${researcher}">
			<fileset dir="${linuxfiles}"/>
		</copy>
		<chmod file="${researcher}/bin/researcher" perm="ug+rx"/>
		<chmod file="${researcher}/bin/wrapper" perm="ug+rx"/>
	</target>
	
	<target name="app-windows" depends="app">		
		<copy todir="${researcher}">
			<fileset dir="${windowsfiles}"/>
		</copy>		
	</target>

	
	<target name="clean_dist">
		<delete dir="${build}" />
		<delete dir="${dist}" />
	</target>
	
	<target name="clean_app">
		<delete dir="${app}" />
	</target>
	
	<target name="clean" depends="clean_dist, clean_app"/>
	
	<target name="archive-linux" depends="app-linux">
		  <tar tarfile="${dist}/researcher.tar"
		  	   basedir="${app}" />
		  <gzip zipfile="${dist}/researcher-linux.tar.gz"
		  	    src="${dist}/researcher.tar"/>
		  <delete file="${dist}/researcher.tar"/>
	</target>
	
	<target name="archive-windows" depends="app-windows">
		  <zip zipfile="${dist}/researcher-windows.zip" basedir="${app}"/>
	</target>

	<target name="distcopy" depends="jar">
		<copy file="${dist}/starter.jar" todir="/home/posu/projects/Starter/app/researcher/lib" />		
	</target>

</project>




See more files for this project here

Re-searcher

Re-searcher is the system for recurrent psiblast searches. It enables timely detection of new proteins on the protein sequence databases. Searches can be done on a local server or at NCBI. It has a user-friendly web interface.

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

  doc/
    license-gpl.txt
    license-wrapper.txt
    license.txt
    readme.txt
  lib/
    jetty-6.0.0rc2.jar
    jetty-util-6.0.0rc2.jar
    servlet-api-2.5-6.0.0rc2.jar
    wrapper.jar
  linux/
    bin/
      researcher
      wrapper
    lib/
      libwrapper.so
  log/
  src/
    starter/
      Config.java
      Start.java
      Utils.java
  windows/
    bin/
      install-service.bat
      researcher.bat
      start-service.bat
      stop-service.bat
      uninstall-service.bat
      wrapper.exe
    lib/
      wrapper.dll
  build.xml
  license.txt