-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathota.xml
51 lines (44 loc) · 1.73 KB
/
ota.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<project name="ODM Transformation Advisor" default="run-ota" basedir=".">
<property name="lib.dir" location="${basedir}/lib" />
<property name="res.dir" location="${basedir}/resources" />
<property name="rep.dir" location="${basedir}/repository" />
<property file="${basedir}/ota.properties"/>
<path id="run.classpath">
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
<fileset dir="${odm.dir}/teamserver/lib">
<include name="**/*.jar" />
<exclude name="jrules-engine.jar"/>
</fileset>
<pathelement path="${res.dir}"/>
</path>
<target name="test-ota">
<java classname="com.ibm.odm.ota.OTARunner" fork="yes">
<classpath refid="run.classpath" />
<jvmarg value="-Djava.util.logging.config.file=${res.dir}/logging.properties" />
<arg value="url=${ota.url}" />
<arg value="datasource=${ota.datasource}" />
<arg value="projects=${ota.projects}" />
<arg value="username=rtsAdmin" />
<arg value="password=rtsAdmin" />
<arg value="report=${ota.report}" />
<arg value="version=${ota.version}" />
</java>
</target>
<target name="run-ota">
<input message="Decision Center - Username:" addproperty="ota.username" />
<input message="Decision Center - Password:" addproperty="ota.password"/>
<java classname="com.ibm.odm.ota.OTARunner" fork="yes">
<classpath refid="run.classpath" />
<jvmarg value="-Djava.util.logging.config.file=${res.dir}/logging.properties" />
<arg value="url=${ota.url}" />
<arg value="datasource=${ota.datasource}" />
<arg value="projects=${ota.projects}" />
<arg value="username=${ota.username}" />
<arg value="password=${ota.password}" />
<arg value="report=${ota.report}" />
<arg value="version=${ota.version}" />
</java>
</target>
</project>