Hi,

        Thanks for the help. Please do let me know what jar file that I
needed and where I can find them.

Regards,
Wooi Meng 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.18/586 - Release Date: 12/13/2006
6:13 PM
 
  


Disclaimer
----------------------------------------------------------------------------------------------------
This e-mail and any files transmitted with it are intended only for the 
use of the addressee. If it contains confidential information, the addressee 
is expressly prohibited from distributing the e-mail and legal action may be 
taken against you. Access by any other persons to this e-mail is unauthorized. 
If you are not the intended recipient, any disclosure, copying, use, or 
distribution is prohibited and may be unlawful. This e-mail and any files 
and/or 
attachments, shall not constitute binding legal obligation with the company. 
The company shall also not be responsible for any computer virus transmitted 
with this e-mail.
----------------------------------------------------------------------------------------------------
MCSB Systems (M) Berhad ([EMAIL PROTECTED])
<project name="docspace" default="all" basedir=".">
	<property name="src.dir" value="${basedir}/src"/>
	<property name="build.dir" value="${basedir}/build"/>
	<property name="src.conf" value="${basedir}/conf"/>
	<property name="src.jsp" value="${basedir}/web"/>
	<property name="deploy.dir" value="C:/Program Files/jboss-4.0.4.GA/server/default/deploy"/>
	
	<path id="build.classpath">
		<fileset dir="${basedir}/lib/">
			<include name="*.jar"/>
		</fileset>
	</path>
	
	<target name="prepare">
		<mkdir dir="${build.dir}"/>
		<mkdir dir="${build.dir}/classes"/>
		<mkdir dir="${build.dir}/jar"/>
		<mkdir dir="${build.dir}/docspace"/>
		<mkdir dir="${build.dir}/zip"/>
	</target>
	
	<target name="compile" depends="prepare">
		<javac destdir="${build.dir}/classes" classpathref="build.classpath">
			<src path="${src.dir}"/>
		</javac>
	</target>
	
	<target name="package-ejb">
		<jar jarfile="${build.dir}/jar/beans.jar">
			<fileset dir="${build.dir}/classes">
				<include name="**/*.*"/>				
			</fileset>
			
			<fileset dir="${src.conf}">
		        <include name="import.sql" />
			</fileset>
			
			<metainf dir="${src.conf}">
				<include name="persistence.xml"/>
			</metainf>
		</jar>
	</target>
	
	<target name="package-web">
		<war warfile="${build.dir}/jar/web.war" webxml="${src.conf}/web.xml">
			<fileset dir="${src.jsp}">
				<include name="**/*.*"/>
			</fileset>
			<webinf dir="${src.conf}">
				<include name="jboss-web.xml"/>
			</webinf>
		</war>
	</target>
	
	<target name="assemble-app" depends="package-ejb,package-web">
		<jar jarfile="${build.dir}/jar/DocSpace.ear">
			<metainf dir="${src.conf}">
				<include name="application.xml"/>
				<include name="jboss-app.xml"/>
			</metainf>
			<fileset dir="${src.conf}">
				<include name="property/*.properties"/>	
			</fileset>
			<fileset dir="${build.dir}/jar">
				<include name="*.jar"/>
				<include name="*.war"/>
			</fileset>
		</jar>
	</target>
	
	<target name="deploy">
		<copy file="${build.dir}/jar/DocSpace.ear" tofile="${deploy.dir}/DocSpace.ear" overwrite="true">			
		</copy>
	</target>
		
	<target name="all">
		<antcall target="package-ejb"></antcall>
		<antcall target="package-web"></antcall>
		<antcall target="assemble-app"></antcall>
		<antcall target="clean"></antcall>
		<antcall target="deploy"></antcall>
	</target>
	
	<target name="clean">
	</target>
	
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to