Revision 4813
Added by daigle almost 16 years ago
build.properties | ||
---|---|---|
70 | 70 |
# Flag to install ecogird or not. Possible values are true or false |
71 | 71 |
install.ecogrid=true |
72 | 72 |
|
73 |
# Flag to make perl code or not. Possible values are true or false |
|
74 |
make.perl.code=true |
|
75 |
|
|
73 | 76 |
ecogrid.hostname=localhost |
74 | 77 |
|
75 | 78 |
# The metacat current dir's abolute value. If you set install.ecogrid=false, this variable |
build.xml | ||
---|---|---|
35 | 35 |
|
36 | 36 |
|
37 | 37 |
|
38 |
<!-- Determine if installed ecogrid -->
|
|
38 |
<!-- Determine if ecogrid should be installed-->
|
|
39 | 39 |
<condition property="enable.ecogrid"> |
40 | 40 |
<equals arg1="${install.ecogrid}" arg2="true" /> |
41 | 41 |
</condition> |
42 |
|
|
43 |
<!-- Determine if perl should be built--> |
|
44 |
<condition property="build.perl"> |
|
45 |
<equals arg1="${make.perl.code}" arg2="true" /> |
|
46 |
</condition> |
|
42 | 47 |
|
43 | 48 |
<target name="config"> |
44 | 49 |
<property name="jsdk" value="${build.tomcat.dir}/common/lib/servlet-api.jar"/> |
... | ... | |
842 | 847 |
</copy> |
843 | 848 |
</target> |
844 | 849 |
|
845 |
<target name="cgiPrepare"> |
|
850 |
<target name="cgiPrepare" if="build.perl">
|
|
846 | 851 |
<exec dir="src/perl/Metacat/" command="perl" > |
847 | 852 |
<arg value="Makefile.PL" /> |
848 | 853 |
</exec> |
Also available in: Unified diff
add a build property "make.perl.code" so the cgi make can be turned off in build.xml on machines without make.