Skip to content
Newer
Older
100644 116 lines (93 sloc) 4.72 KB
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
1 <?xml version="1.0"?>
2
9290cda @brianchandotcom LEP-2010
brianchandotcom authored Jan 15, 2007
3 <project name="common" xmlns:antelope="antlib:ise.antelope.tasks">
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
4 <property name="project.dir" value=".." />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
5
6 <property environment="env" />
1d76c57 @brianchandotcom LEP-2981 LEP-2990
brianchandotcom authored Jun 19, 2007
7 <property name="env.COMPUTERNAME" value="${env.HOST}" />
8 <property name="env.COMPUTERNAME" value="${env.HOSTNAME}" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
9
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
10 <property file="${project.dir}/app.server.${user.name}.properties" />
11 <property file="${project.dir}/app.server.${env.COMPUTERNAME}.properties" />
12 <property file="${project.dir}/app.server.properties" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
13
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
14 <property file="${project.dir}/build.${user.name}.properties" />
15 <property file="${project.dir}/build.${env.COMPUTERNAME}.properties" />
16 <property file="${project.dir}/build.properties" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
17
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
18 <property file="${project.dir}/release.${user.name}.properties" />
19 <property file="${project.dir}/release.${env.COMPUTERNAME}.properties" />
20 <property file="${project.dir}/release.properties" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
21
34bda9c @brianchandotcom LEP-1429
brianchandotcom authored Oct 13, 2006
22 <property file="${project.dir}/sql/sql.${user.name}.properties" />
23 <property file="${project.dir}/sql/sql.${env.COMPUTERNAME}.properties" />
24 <property file="${project.dir}/sql/sql.properties" />
25
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
26 <path id="lib.classpath">
27 <fileset dir="${project.dir}/lib/development" includes="*.jar" />
28 <fileset dir="${project.dir}/lib/global" includes="*.jar" />
29 <fileset dir="${project.dir}/lib/portal" includes="*.jar" />
30 </path>
31
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
32 <path id="project.classpath">
33 <pathelement path="${classpath}" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
34 <path refid="lib.classpath" />
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
35 </path>
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
36
515c1a2 @brianchandotcom LEP-1250
brianchandotcom authored Sep 6, 2006
37 <path id="web.classpath">
38 <pathelement location="${project.dir}/portal-kernel/classes" />
5d5a7ef @brianchandotcom LEP-1695
brianchandotcom authored Nov 29, 2006
39 <pathelement location="${project.dir}/portal-service/classes" />
9fb4caf @brianchandotcom Major refactor, rename *-ejb to *-impl
brianchandotcom authored May 24, 2007
40 <fileset dir="${project.dir}/lib/development" includes="mail.jar,servlet.jar" />
9550062 @brianchandotcom Source formatting
brianchandotcom authored Nov 30, 2006
41 <fileset dir="${project.dir}/lib/global" includes="*.jar" />
515c1a2 @brianchandotcom LEP-1250
brianchandotcom authored Sep 6, 2006
42 <path refid="web-lib.classpath" />
43 </path>
44
92c2dc5 @brianchandotcom LEP-2482
brianchandotcom authored Mar 29, 2007
45 <taskdef classpathref="lib.classpath" resource="net/sf/antcontrib/antlib.xml" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
46 <taskdef classpathref="lib.classpath" resource="axis-tasks.properties" />
9290cda @brianchandotcom LEP-2010
brianchandotcom authored Jan 15, 2007
47 <taskdef classpathref="lib.classpath" resource="ise/antelope/tasks/antlib.xml" uri="antlib:ise.antelope.tasks" />
ae294f1 @brianchandotcom LEP-2757
brianchandotcom authored May 15, 2007
48 <taskdef classpathref="lib.classpath" resource="com/orangevolt/tools/ant/taskdefs.properties" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
49
50 <property name="java2html.dir" value="${project.dir}/api/${ant.project.name}" />
51 <property name="javadoc.dir" value="${project.dir}/api/${ant.project.name}" />
52
7b82665 @brianchandotcom LEP-2990
brianchandotcom authored Jun 15, 2007
53 <propertycopy name="app.server.version" from="app.server.${app.server.type}.version" silent="true" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
54 <propertycopy name="app.server.dir" from="app.server.${app.server.type}.dir" />
55 <propertycopy name="app.server.bin.dir" from="app.server.${app.server.type}.bin.dir" />
56 <propertycopy name="app.server.classes.global.dir" from="app.server.${app.server.type}.classes.global.dir" />
57 <propertycopy name="app.server.classes.portal.dir" from="app.server.${app.server.type}.classes.portal.dir" />
58 <propertycopy name="app.server.deploy.dir" from="app.server.${app.server.type}.deploy.dir" />
4714cd1 @brianchandotcom LEP-2305
brianchandotcom authored Mar 16, 2007
59 <propertycopy name="app.server.instance.dir" from="app.server.${app.server.type}.instance.dir" silent="true" />
1d76c57 @brianchandotcom LEP-2981 LEP-2990
brianchandotcom authored Jun 19, 2007
60 <propertycopy name="app.server.lib.endorsed.dir" from="app.server.${app.server.type}.lib.endorsed.dir" silent="true" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
61 <propertycopy name="app.server.lib.global.dir" from="app.server.${app.server.type}.lib.global.dir" />
62 <propertycopy name="app.server.lib.portal.dir" from="app.server.${app.server.type}.lib.portal.dir" />
1d76c57 @brianchandotcom LEP-2981 LEP-2990
brianchandotcom authored Jun 19, 2007
63 <propertycopy name="app.server.lib.support.dir" from="app.server.${app.server.type}.lib.support.dir" silent="true" />
13389d1 Redo core build scripts to allow for tomcat
rajesh kumar authored Jul 11, 2006
64 <propertycopy name="app.server.portal.dir" from="app.server.${app.server.type}.portal.dir" />
65 <propertycopy name="app.server.log.dir" from="app.server.${app.server.type}.log.dir" />
66 <propertycopy name="app.server.temp.dir" from="app.server.${app.server.type}.temp.dir" />
67 <propertycopy name="app.server.work.dir" from="app.server.${app.server.type}.work.dir" />
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
68
69 <target name="setproxy" if="setproxy.proxy.host">
70 <setproxy proxyhost="${setproxy.proxy.host}" proxyport="${setproxy.proxy.port}" />
71 </target>
ae294f1 @brianchandotcom LEP-2757
brianchandotcom authored May 15, 2007
72
8f1d620 @brianchandotcom LEP-2757
brianchandotcom authored May 15, 2007
73 <condition property="correct.ant.version">
74 <antversion atleast="1.7.0" />
75 </condition>
ae294f1 @brianchandotcom LEP-2757
brianchandotcom authored May 15, 2007
76
77 <if>
78 <not>
79 <equals arg1="${correct.ant.version}" arg2="true" />
80 </not>
81 <then>
b5295ed @brianchandotcom LEP-4273
brianchandotcom authored Nov 22, 2007
82 <fail>
83 .
84
85 Please use Ant 1.7.0 or above.
86 </fail>
87 </then>
88 </if>
89
90 <whichresource resource="/org/eclipse/jdt/core/JDTCompilerAdapter.class" property="ecj.compiler" />
91
92 <if>
93 <not>
94 <isset property="ecj.compiler" />
95 </not>
96 <then>
97 <copy file="${project.dir}/lib/development/ecj.jar" todir="${ant.home}/lib" />
98
99 <fail>
100 .
101
102 Taks cannot continue because ECJ is not installed.
103
104 ECJ was automatically installed. Please rerun your task.
105 </fail>
ae294f1 @brianchandotcom LEP-2757
brianchandotcom authored May 15, 2007
106 </then>
107 </if>
6777903 @brianchandotcom LEP-3433
brianchandotcom authored Aug 2, 2007
108
109 <target name="print-current-time">
110 <tstamp>
111 <format property="current.time" pattern="MMMM d, yyyy 'at' hh:mm aa" />
112 </tstamp>
113
114 <echo message="${current.time}" />
115 </target>
e155b92 @brianchandotcom Move to trunk
brianchandotcom authored Apr 21, 2006
116 </project>
Something went wrong with that request. Please try again.