-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (32 loc) · 1.36 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="US-ASCII" ?>
<project name="Portal" default="all" basedir=".">
<!-- initialize properties for use by the build -->
<property environment="env"/>
<property file="build.properties"/>
<tstamp/>
<!-- define the ojdeploy ant task -->
<taskdef name="ojdeploy"
classname="oracle.jdeveloper.deploy.ant.OJDeployAntTask"
uri="oraclelib:OJDeployAntTask"
classpath="${oracle.jdeveloper.ant.library}"/>
<target name="all" depends="deploy"/>
<target name="clean">
<delete includeemptydirs="true">
<fileset dir="${oracle.jdeveloper.workspace.dir}" includes="**/deploy/**/*"/>
<fileset dir="${oracle.jdeveloper.workspace.dir}" includes="**/classes/**/*"/>
</delete>
</target>
<target name="deploy">
<ora:ojdeploy xmlns:ora="oraclelib:OJDeployAntTask"
executable="${oracle.jdeveloper.ojdeploy.path}"
ora:buildscript="${oracle.jdeveloper.deploy.dir}/ojdeploy-build.xml"
ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml">
<ora:deploy>
<ora:parameter name="workspace"
value="${oracle.jdeveloper.workspace.path}"/>
<ora:parameter name="profile"
value="${oracle.jdeveloper.deploy.profile.name}"/>
</ora:deploy>
</ora:ojdeploy>
</target>
</project>