Subversion Repositories SmartDukaan

Rev

Rev 1068 | Rev 1082 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1068 Rev 1081
Line 9... Line 9...
9
	<property name="compilemessage" 
9
	<property name="compilemessage" 
10
			value="Compiling ContentCreation.war"/>
10
			value="Compiling ContentCreation.war"/>
11
	
11
	
12
	<property name="thirdparty.location" value="../lib"/>
12
	<property name="thirdparty.location" value="../lib"/>
13
	
13
	
14
	<path id="Web App Libraries.libraryclasspath"/>
-
 
15
		    <path id="EAR Libraries.libraryclasspath"/>
-
 
16
		    <path id="thirdparty.classpath">
14
		    <path id="thirdparty.classpath">
17
		        <pathelement location="build/classes"/>
15
		        <pathelement location="build/classes"/>
18
		        <path refid="Web App Libraries.libraryclasspath"/>
-
 
19
		        <path refid="EAR Libraries.libraryclasspath"/>
-
 
20
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
16
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-collections-3.2.1/commons-collections-3.2.1.jar"/>
21
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-fileupload-1.2.1/commons-fileupload-1.2.1.jar"/>
17
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-fileupload-1.2.1/commons-fileupload-1.2.1.jar"/>
22
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-io-1.3.2/commons-io-1.3.2.jar"/>
18
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-io-1.3.2/commons-io-1.3.2.jar"/>
23
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.4/commons-lang-2.4.jar"/>
19
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-lang-2.4/commons-lang-2.4.jar"/>
24
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-logging-1.0.4/commons-logging-1.0.4.jar"/>
20
		        <pathelement location="${thirdparty.location}/readonly/apache/commons-logging-1.0.4/commons-logging-1.0.4.jar"/>
Line 65... Line 61...
65
	<target name="compile" depends="clean">
61
	<target name="compile" depends="clean">
66
		<echo>
62
		<echo>
67
			${compilemessage}
63
			${compilemessage}
68
		</echo>
64
		</echo>
69
		<mkdir dir="bin"/>
65
		<mkdir dir="bin"/>
70
		<javac srcdir="src"
66
		<javac srcdir="src/main/java"
71
						destdir="bin"
67
			destdir="bin"
72
						deprecation="${compile.deprecation}"
68
			deprecation="${compile.deprecation}"
73
						optimize="${compile.optimize}"
69
			optimize="${compile.optimize}"
74
					    source="1.6" target="1.6">
70
		    source="1.6" target="1.6">
75
			<classpath refid="thirdparty.classpath"/>			
71
			<classpath refid="thirdparty.classpath"/>			
76
		</javac>
72
		</javac>
77
	</target>
73
	</target>
78
	<target name="local" depends="clean, compile, compress">
74
	<target name="local" depends="clean, compile, compress">
79
		<echo>
75
		<echo>