This repository was archived by the owner on Jan 5, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathappsforyourdomain.xml
More file actions
139 lines (121 loc) · 6.63 KB
/
Copy pathappsforyourdomain.xml
File metadata and controls
139 lines (121 loc) · 6.63 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<project name="appsforyourdomain" default="build.appsforyourdomain" basedir=".">
<!-- Path containing appsforyourdomain.xml -->
<dirname property="build_dir" file="${ant.file.appsforyourdomain}"/>
<import file="${build_dir}/core.xml"/>
<import file="${build_dir}/calendar.xml"/>
<property name="gdata-appsforyourdomain.jar"
value="${build.jars}/gdata-appsforyourdomain-${appsforyourdomain.spec.version}.jar"/>
<!-- ===================================================================== -->
<!-- Build the GData AppsForYourDomain samples. -->
<!-- ===================================================================== -->
<!-- samples build Properties -->
<property name="sample.appsforyourdomain.basedir"
value="${build}/sample/appsforyourdomain"/>
<property name="sample.appsforyourdomain.src.home"
value="${sample.appsforyourdomain.basedir}"/>
<property name="sample.appsforyourdomain.build.classes"
value="${sample.appsforyourdomain.basedir}/classes"/>
<property name="sample.appsforyourdomain.build.lib"
value="${sample.appsforyourdomain.basedir}/lib"/>
<property name="sample.appsforyourdomain.jar"
value="${sample.appsforyourdomain.build.lib}/AppsForYourDomainClient.jar"/>
<property name="sample.appsforyourdomain.main"
value="sample.appsforyourdomain.AppsForYourDomainClient"/>
<property name="sample.appsforyourdomain.migration.main"
value="sample.appsforyourdomain.migration.AppsForYourDomainMigrationClient"/>
<property name="sample.appsforyourdomain.gmailsettings.AppsForYourDomainGmailFilterClient"
value="sample.appsforyourdomain.gmailsettings.AppsForYourDomainGmailFilterClient"/>
<property name="sample.appsforyourdomain.gmailsettings.GmailSettingsClient"
value="sample.appsforyourdomain.gmailsettings.GmailSettingsClient"/>
<property name="sample.appsforyourdomain.gmailsettings.gui.GmailSettingsClient"
value="sample.appsforyourdomain.gmailsettings.gui.GmailSettingsClient"/>
<!-- dependency check -->
<target name="sample.appsforyourdomain.dependencies">
<antcall target="template.require.service.jar">
<param name="template.service.name" value="appsforyourdomain"/>
<param name="template.service.version" value="${appsforyourdomain.spec.version}"/>
</antcall>
</target>
<!-- samples build -->
<path id="sample.appsforyourdomain.compile.classpath">
<path refid="build.service.media.classpath"/>
<pathelement location="${gdata-appsforyourdomain.jar}"/>
<pathelement location="${sample-util.jar}"/>
</path>
<target name="sample.appsforyourdomain.build"
depends="sample.appsforyourdomain.dependencies,core.sample.core.util.build">
<mkdir dir="${sample.appsforyourdomain.build.lib}"/>
<mkdir dir="${sample.appsforyourdomain.build.classes}"/>
<javac srcdir="${sample.appsforyourdomain.src.home}"
destdir="${sample.appsforyourdomain.build.classes}"
debug="${javac.debug}" debuglevel="${javac.debuglevel}"
deprecation="false"
optimize="true">
<classpath refid="sample.appsforyourdomain.compile.classpath"/>
</javac>
<jar jarfile="${sample.appsforyourdomain.jar}"
basedir="${sample.appsforyourdomain.build.classes}">
<manifest>
<attribute name="Main-Class" value="${sample.appsforyourdomain.main}"/>
</manifest>
</jar>
</target>
<target name="sample.appsforyourdomain.clean">
<delete dir="${sample.appsforyourdomain.build.classes}"/>
</target>
<!-- samples run -->
<target name="sample.appsforyourdomain.run"
depends="sample.appsforyourdomain.build"
description="Runs the AppsForYourDomain sample">
<java fork="true" classname="${sample.appsforyourdomain.main}">
<arg line="--admin_email ${sample.appsforyourdomain.admin_email} --admin_password ${sample.appsforyourdomain.admin_password} --domain ${sample.appsforyourdomain.domain}"/>
<classpath>
<path refid="sample.appsforyourdomain.compile.classpath"/>
<path location="${sample.appsforyourdomain.jar}"/>
</classpath>
</java>
</target>
<target name="sample.appsforyourdomain.migration.run"
depends="sample.appsforyourdomain.build"
description="Runs the AppsForYourDomain Migration sample">
<java fork="true" classname="${sample.appsforyourdomain.migration.main}">
<arg line="--username ${sample.appsforyourdomain.migration.username} --password ${sample.appsforyourdomain.migration.password} --domain ${sample.appsforyourdomain.migration.domain}"/>
<classpath>
<path refid="sample.appsforyourdomain.compile.classpath"/>
<path location="${sample.appsforyourdomain.jar}"/>
</classpath>
</java>
</target>
<target name="sample.appsforyourdomain.gmailsettings.filter.run"
depends="sample.appsforyourdomain.build"
description="Runs the AppsForYourDomain Gmail filter sample">
<java fork="true" classname="${sample.appsforyourdomain.gmailsettings.AppsForYourDomainGmailFilterClient}">
<arg line="--username ${sample.appsforyourdomain.admin_email} --password ${sample.appsforyourdomain.admin_password} --domain ${sample.appsforyourdomain.domain} --destination_user ${sample.appsforyourdomain.user_email}"/>
<classpath>
<path refid="sample.appsforyourdomain.compile.classpath"/>
<path location="${sample.appsforyourdomain.jar}"/>
</classpath>
</java>
</target>
<target name="sample.appsforyourdomain.gmailsettings.run"
depends="sample.appsforyourdomain.build"
description="Runs the AppsForYourDomain Gmail settings sample">
<java fork="true" classname="${sample.appsforyourdomain.gmailsettings.GmailSettingsClient}">
<arg line="--username ${sample.appsforyourdomain.admin_email} --password ${sample.appsforyourdomain.admin_password} --domain ${sample.appsforyourdomain.domain} --destination_user ${sample.appsforyourdomain.user_email} --setting pop"/>
<classpath>
<path refid="sample.appsforyourdomain.compile.classpath"/>
<path location="${sample.appsforyourdomain.jar}"/>
</classpath>
</java>
</target>
<target name="sample.appsforyourdomain.gmailsettings.gui.run"
depends="sample.appsforyourdomain.build"
description="Runs the AppsForYourDomain Gmail filter GUI sample">
<java fork="true" classname="${sample.appsforyourdomain.gmailsettings.gui.GmailSettingsClient}">
<classpath>
<path refid="sample.appsforyourdomain.compile.classpath"/>
<path location="${sample.appsforyourdomain.jar}"/>
</classpath>
</java>
</target>
</project>