Code Search for Developers
 
 
  

server.xml from Negest at Krugle


Show server.xml syntax highlighted

<?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<project name="Negest-Server" default="make_ear">

  <property file="./negest.properties"/>
  <property file="./server.properties"/>

  <property name="classpath" value="${openejb};${extra};${j2ee};${jfreereport};${skinlf}"/>

	<target name="init">
		<!-- Create the build directory structure used by compile -->
	    <mkdir dir="${build}"/>
	    <mkdir dir="${dist}"/>
	</target>

	<target name="compile" depends="init">
	    <!-- Compile the java code from ${src} into ${dest} -->
	    <mkdir dir="${build}"/>
	    <javac srcdir="${src}" destdir="${build}" includes="${list}" excludes="${exlist}" debug="on">
	       <classpath path="${classpath}"/>
	    </javac>
	</target>

	<target name="clean">
	    <!-- Delete the ${dest} and ${dist} directory tree -->
	    <delete dir="${build}"/>
	    <delete dir="${dist}"/>
	</target>

	<target name="make_jar" depends="">
	    <mkdir dir="${tmp}/${jar}"/>
	    <mkdir dir="${tmp}/${jar}/${metainf}"/>
	    <copy todir="${tmp}/${jar}/${metainf}" includeEmptyDirs="yes" verbose="yes">
	    	<fileset dir="${conf}" includes="${jarConfigFiles}" excludes="" casesensitive="yes"/>
	    </copy>
		<jar destfile="${dist}/${jarname}">
			<fileset dir="${build}" includes="${entityList},${ifList},${bsnList},${utilList}" excludes="${exjarlist}"/>
			<fileset dir="${tmp}/${jar}" includes="**/META-INF/*"/>
		</jar>
		<delete dir="${src}/${tmp}"/>
	</target>
	
	<target name="make_war" depends="">
	    <mkdir dir="${tmp}/${war}"/>
	    <mkdir dir="${tmp}/${war}/${webinf}"/>
		<mkdir dir="${tmp}/${war}/lib"/>

		<copy todir="${tmp}/${war}/${webinf}" includeEmptyDirs="yes" verbose="yes">
	    	<fileset dir="${conf}/${webinf}" includes="${warConfigFiles}" excludes="" casesensitive="yes"/>
	    </copy>
<!--
		<copy todir="${tmp}/${war}/lib" includeEmptyDirs="yes" verbose="yes">
	    	<fileset dir="${libdir}" includes="**/*" excludes="" casesensitive="yes"/>
	    </copy>
-->		
		<jar destfile="${dist}/${warname}">
			<fileset dir="${webapp}" includes="${warlist}" excludes="${exwarlist}"/>
			<fileset dir="${tmp}/${war}" includes="**/WEB-INF/*"/>
			<fileset dir="${tmp}/${war}" includes="**/lib/*"/>
		</jar>
		<delete dir="${src}/${tmp}/${war}"/>
		
	</target>
	
	<target name="make_ear" depends="make_jar,make_war">
		<mkdir dir="${tmp}/${ear}"/>
		<mkdir dir="${tmp}/${ear}/${metainf}"/>
	    <copy todir="${tmp}/${ear}" includeEmptyDirs="yes" verbose="yes">
	    	<fileset dir="${dist}" includes="${jarname},${warname}" excludes="" casesensitive="yes"/>
	    </copy>
	    <copy todir="${tmp}/${ear}/${metainf}" includeEmptyDirs="yes" verbose="yes">
	    	<fileset dir="${conf}/${metainf}" includes="${earConfigFiles}" excludes="" casesensitive="yes"/>
	    </copy>
		<jar destfile="${dist}/${earname}">
			<fileset dir="${tmp}/${ear}" includes="**/*"/>
		</jar>
		<delete dir="${src}/${tmp}/${ear}"/>
	</target>

	<target name="deploy" depends="make_ear">
			<copy todir="${jarDeployDir}" verbose="yes">
				<fileset dir="${dist}" includes="${earname}"/>
				<fileset dir="${conf}" includes="${DSConfigFile}"/>
			</copy>
			
			<delete file="${dist}/${earname},${dist}/${jarname},${dist}/${warname}"/>
	</target>
	

  <target name="rebuild" depends="clean, compile"/>
</project>




See more files for this project here

Negest

This project aims to offer the SOHO integrated platform to track their customers, the events generated by/with them, the orders and billing, warehouses, customer locations and equipment. Its a CMP/ERP, with its focus on water treatment business, for this

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

  negest.properties
  packageEJB.xml
  server.properties
  server.xml