Revision 1522
Added by berkley over 21 years ago
build.xml | ||
---|---|---|
44 | 44 |
<target name="postgresql"> |
45 | 45 |
<!-- Customize these properties if you are using postgres --> |
46 | 46 |
<property name="jdbc-connect" |
47 |
value="jdbc:postgresql://localhost/exp"/>
|
|
47 |
value="jdbc:postgresql://localhost/metacat"/>
|
|
48 | 48 |
<property name="dbDriver" value="org.postgresql.Driver"/> |
49 | 49 |
<property name="dbAdapter" |
50 | 50 |
value="edu.ucsb.nceas.dbadapter.PostgresqlAdapter"/> |
51 |
<property name="jdbc" value="lib/jdbc7.1-1.2.jar" />
|
|
51 |
<property name="jdbc" value="/usr/share/pgsql/jdbc7.1-1.2.jar" />
|
|
52 | 52 |
</target> |
53 | 53 |
|
54 | 54 |
<target name="config" depends="postgresql"> |
... | ... | |
57 | 57 |
|
58 | 58 |
<!-- Customize these properties for your system --> |
59 | 59 |
<property name="tomcat" value="/usr/local/devtools/jakarta-tomcat" /> |
60 |
<property name="webapps" value="/usr/local/devtools/jakarta-tomcat/webapps" />
|
|
61 |
<property name="context" value="tao" />
|
|
62 |
<property name="user" value="tao"/>
|
|
63 |
<property name="password" value="tdataint"/>
|
|
64 |
<property name="server" value="pine.nceas.ucsb.edu:8443"/>
|
|
65 |
<property name="systemidserver" value="http://pine.nceas.ucsb.edu:8080" />
|
|
66 |
<property name="datafilepath" value="/usr/local/devtools/jakarta-tomcat/data/tao/data" />
|
|
67 |
<property name="inlinedatafilepath" value="/usr/local/devtools/jakarta-tomcat/data/tao/inlinedata" />
|
|
68 |
<property name="debuglevel" value="35" />
|
|
60 |
<property name="webapps" value="/opt/tomcat/webapps" />
|
|
61 |
<property name="context" value="metacat" />
|
|
62 |
<property name="user" value="berkley"/>
|
|
63 |
<property name="password" value=""/> |
|
64 |
<property name="server" value="dev.nceas.ucsb.edu"/>
|
|
65 |
<property name="systemidserver" value="http://dev.nceas.ucsb.edu" />
|
|
66 |
<property name="datafilepath" value="/opt/data/metacat" />
|
|
67 |
<property name="inlinedatafilepath" value="${datafilepath}/inlinedata" />
|
|
68 |
<property name="debuglevel" value="32" />
|
|
69 | 69 |
<property name="forcereplicationwaitingtime" value="30000"/> |
70 | 70 |
<property name="web-base-url" |
71 | 71 |
value="http://knb.ecoinformatics.org"/> |
72 | 72 |
<property name="default-style" value="knb" /> |
73 |
<property name="morphosourcedir" value="morpho" /> |
|
73 |
<property name="morphosourcedir" value="../morpho" />
|
|
74 | 74 |
<property name="defaultcontenttype" value="text/plain" /> |
75 | 75 |
|
76 | 76 |
<!-- Make sure these paths match the location of the jar files |
77 | 77 |
on your system, the defaults should usually work --> |
78 | 78 |
<property name="jsdk" |
79 |
value="${tomcat}/lib/common/servlet.jar" />
|
|
79 |
value="${tomcat}/common/lib/servlet.jar" />
|
|
80 | 80 |
<property name="xmlp" |
81 | 81 |
value="lib/xercesImpl.jar" /> |
82 | 82 |
<property name="srb" |
... | ... | |
122 | 122 |
<property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6_REV1" /> |
123 | 123 |
<property name="eml2-tag" value="XALAN_STYLESHEET_CHANGES" /> |
124 | 124 |
<property name="cvsroot" |
125 |
value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
|
|
125 |
value=":ext:berkley@cvs.ecoinformatics.org:/cvs" />
|
|
126 | 126 |
|
127 | 127 |
<property name="cpath" |
128 | 128 |
value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}:${emlparser}"/> |
... | ... | |
152 | 152 |
<filter token="debuglevel" value="${debuglevel}" /> |
153 | 153 |
<filter token="datafilepath" value="${datafilepath}" /> |
154 | 154 |
<filter token="inlinedatafilepath" value="${inlinedatafilepath}" /> |
155 |
<filter token="defaultcontenttype" value="${defaultcontenttype}" />
|
|
155 |
<filter token="defaultcontenttype" value="${defaultcontenttype}" /> |
|
156 | 156 |
|
157 | 157 |
<property name="srcdir" value="./src" /> |
158 | 158 |
<property name="junittestsdir" value="./test/edu/ucsb/nceas/metacattest" /> |
... | ... | |
235 | 235 |
<mapper type="glob" from="eml-*.dtd" to="eml-*-${eml-version}.dtd" /> |
236 | 236 |
</copy> |
237 | 237 |
</target> |
238 |
|
|
238 |
|
|
239 | 239 |
<target name="getschema" depends="prepare"> |
240 | 240 |
<echo>Enter CVS password: </echo> |
241 | 241 |
<cvs cvsRoot="${cvsroot}" |
... | ... | |
253 | 253 |
<include name="*.xsl"/> |
254 | 254 |
</fileset> |
255 | 255 |
</copy> |
256 |
</target>
|
|
256 |
</target> |
|
257 | 257 |
|
258 | 258 |
<target name="dtdsql" depends="prepare"> |
259 | 259 |
<echo/> |
... | ... | |
280 | 280 |
<copy file="${apis}" |
281 | 281 |
tofile="${installdir}/WEB-INF/lib/xml-apis.jar" /> |
282 | 282 |
<copy file="${jdbc}" |
283 |
tofile="${installdir}/WEB-INF/lib/oracle-jdbc111.jar" />
|
|
283 |
tofile="${installdir}/WEB-INF/lib/jdbc.jar" />
|
|
284 | 284 |
<copy file="${cos}" |
285 | 285 |
tofile="${installdir}/WEB-INF/lib/cos.jar" /> |
286 | 286 |
<copy file="${morpho}" |
287 | 287 |
tofile="${installdir}/WEB-INF/lib/morpho.jar" /> |
288 | 288 |
<copy file="${emlparser}" |
289 |
tofile="${installdir}/WEB-INF/lib/eml.jar" />
|
|
289 |
tofile="${installdir}/WEB-INF/lib/eml.jar" /> |
|
290 | 290 |
<copy file="${configxml}" |
291 | 291 |
tofile="${installdir}/WEB-INF/lib/configxml.jar" /> |
292 | 292 |
<copy file="lib/web.xml" |
... | ... | |
372 | 372 |
|
373 | 373 |
<batchtest fork="yes" todir="${build.dir}"> |
374 | 374 |
<fileset dir="${build.metacattest}"> |
375 |
|
|
375 |
|
|
376 | 376 |
<include name="**/${testtorun}.class" /> |
377 | 377 |
</fileset> |
378 | 378 |
</batchtest> |
... | ... | |
422 | 422 |
</junit> |
423 | 423 |
</target> |
424 | 424 |
|
425 |
<target name="servletclean" depends="clean"> |
|
426 |
<delete dir="${installdir}" /> |
|
427 |
</target> |
|
428 |
|
|
429 |
|
|
425 | 430 |
<target name="clean" depends="init"> |
426 | 431 |
<delete dir="${build.dir}" /> |
427 | 432 |
</target> |
Also available in: Unified diff
added target to clean the servlet install directory