Cross Reference: ant-deploy.xml
xref
: /
opengrok-sun
/
opengrok-web-nbproject
/
nbproject
/
ant-deploy.xml
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
949
N/A
<?
xml
version=
"1.0"
encoding=
"UTF-8"
?>
949
N/A
<
project
default=
"-deploy-ant"
basedir=
"."
>
949
N/A
<
target
name=
"-init"
if=
"
deploy.ant.enabled
"
>
949
N/A
<
property
file=
"${
deploy.ant.properties.file
}"
/>
949
N/A
<
tempfile
property=
"
temp.module.folder
"
prefix=
"tomcat"
destdir=
"${
java.io.tmpdir
}"
/>
949
N/A
<
unwar
src=
"${
deploy.ant.archive
}"
dest=
"${
temp.module.folder
}"
>
949
N/A
<
patternset
includes=
"
META-INF
/
context.xml
"
/>
949
N/A
</
unwar
>
949
N/A
<
xmlproperty
file=
"${
temp.module.folder
}/
META-INF
/
context.xml
"
/>
949
N/A
<
delete
dir=
"${
temp.module.folder
}"
/>
949
N/A
</
target
>
1274
N/A
<
target
name=
"-check-credentials"
if=
"
deploy.ant.enabled
"
depends=
"-init"
>
1274
N/A
<
fail
message=
"Tomcat password has to be passed as
tomcat.password
property."
>
1274
N/A
<
condition
>
1274
N/A
<
not
>
1274
N/A
<
isset
property=
"
tomcat.password
"
/>
1274
N/A
</
not
>
1274
N/A
</
condition
>
1274
N/A
</
fail
>
1274
N/A
</
target
>
1274
N/A
<
target
name=
"-deploy-ant"
if=
"
deploy.ant.enabled
"
depends=
"-init,-check-credentials"
>
949
N/A
<
echo
message=
"Deploying ${
deploy.ant.archive
} to ${Context(path)}"
/>
1315
N/A
<
taskdef
name=
"deploy"
classname=
"
org
.
apache
.
catalina
.
ant
.
DeployTask
"
>
1315
N/A
<
classpath
>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
lib
/
catalina-ant.jar
"
/>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
lib
/
tomcat-coyote.jar
"
/>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
lib
/
tomcat-util.jar
"
/>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
bin
/
tomcat-juli.jar
"
/>
1315
N/A
</
classpath
>
1315
N/A
</
taskdef
>
1274
N/A
<
deploy
url=
"${
tomcat.url
}/
manager
/
text
"
username=
"${
tomcat.username
}"
949
N/A
password=
"${
tomcat.password
}"
path=
"${Context(path)}"
949
N/A
war=
"${
deploy.ant.archive
}"
/>
949
N/A
<
property
name=
"
deploy.ant.client.url
"
value=
"${
tomcat.url
}${Context(path)}"
/>
949
N/A
</
target
>
1274
N/A
<
target
name=
"-undeploy-ant"
if=
"
deploy.ant.enabled
"
depends=
"-init,-check-credentials"
>
949
N/A
<
echo
message=
"Undeploying ${Context(path)}"
/>
1315
N/A
<
taskdef
name=
"undeploy"
classname=
"
org
.
apache
.
catalina
.
ant
.
UndeployTask
"
>
1315
N/A
<
classpath
>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
lib
/
catalina-ant.jar
"
/>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
lib
/
tomcat-coyote.jar
"
/>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
lib
/
tomcat-util.jar
"
/>
1315
N/A
<
pathelement
path=
"${
tomcat.home
}/
bin
/
tomcat-juli.jar
"
/>
1315
N/A
</
classpath
>
1315
N/A
</
taskdef
>
1274
N/A
<
undeploy
url=
"${
tomcat.url
}/
manager
/
text
"
username=
"${
tomcat.username
}"
949
N/A
password=
"${
tomcat.password
}"
path=
"${Context(path)}"
/>
949
N/A
</
target
>
949
N/A
</
project
>