-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.xml
More file actions
73 lines (68 loc) · 2.74 KB
/
Copy pathdeploy.xml
File metadata and controls
73 lines (68 loc) · 2.74 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<project name="Rhythmyx 6 Install Extensions" default="dist" basedir=".">
<description>
Install extensions on a Rhythmyx 6 server
The RHYTHMYX_HOME environment variable must be set
</description>
<property environment="env"/>
<!-- base directory of Rhythmyx installation -->
<property name="rhythmyx.home" location="${env.RHYTHMYX_HOME}"/>
<property name="rhythmyx.WEB-INF" value="${rhythmyx.home}/AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF"/>
<property name="rhythmyx.lib" value="${rhythmyx.WEB-INF}/lib"/>
<!-- relative paths -->
<property name="lib" location="lib"/>
<target name="jarcopy" description="copy the jar file" >
<fail unless="env.RHYTHMYX_HOME" message="You must set the RHYTHMYX_HOME environment variable"/>
<copy todir="${rhythmyx.lib}" verbose="true">
<fileset dir="${lib}">
<include name="PSOFeedImporter-6.7.jar" />
</fileset>
</copy>
<copy todir="${rhythmyx.WEB-INF}" verbose="true">
<fileset dir="WEB-INF" />
</copy>
</target>
<target name="installExtensions">
<fail unless="env.RHYTHMYX_HOME" message="You must set the RHYTHMYX_HOME environment variable"/>
<java classname="com.percussion.util.PSExtensionInstallTool" fork="true">
<arg value="${rhythmyx.home}"/>
<arg value="${basedir}"/>
<classpath>
<fileset dir="${rhythmyx.lib}">
<include name="rxserver.jar"/>
<include name="rxclient.jar"/>
<include name="rxbusiness.jar"/>
<include name="rxutils.jar" />
<include name="rxservices.jar" />
<include name="commons-lang*.jar"/>
<include name="commons-jexl*.jar"/>
<include name="jcr*.jar" />
<include name="commons-logging*.jar" />
<include name="commons-collections*.jar" />
<include name="commons-httpclient*.jar" />
</fileset>
<fileset dir="${rhythmyx.home}/AppServer/lib/endorsed" >
<include name="xml-apis.jar" />
</fileset>
<fileset dir="${rhythmyx.home}/AppServer/server/rx/lib">
<include name="javax.servlet.jar" />
</fileset>
</classpath>
</java>
</target>
<target name="javadoc">
<fail unless="env.RHYTHMYX_HOME" message="You must set the RHYTHMYX_HOME environment variable"/>
<copy todir="${rhythmyx.home}/Docs/Rhythmyx/PSOFeedImporter">
<fileset dir="javadoc" />
</copy>
<copy todir="${rhythmyx.home}" overwrite="true">
<fileset dir="${basedir}/Rhythmyx" />
</copy>
</target>
<target name="dist">
<fail unless="env.RHYTHMYX_HOME" message="You must set the RHYTHMYX_HOME environment variable"/>
<echo>Installing PSOFeedImporter to ${rhythmyx.home}</echo>
<antcall target="jarcopy"/>
<antcall target="installExtensions"/>
<antcall target="javadoc" />
</target>
</project>