forked from marcesher/org.mxunit.eclipseplugin.site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CleanupAndPublish.xml
44 lines (34 loc) · 1.4 KB
/
CleanupAndPublish.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
<project name="plugin cleanup and publish" default="cleanup">
<target name="cleanup">
<delete>
<fileset dir="C:\Inetpub\wwwroot\mxunitupdatesite\" includes="plugins/**,features/**" casesensitive="no" />
<fileset dir="C:\Inetpub\wwwroot\mxunitupdatesite\" includes="plugins/**,features/**" casesensitive="no" />
</delete>
</target>
<target name="SendToUpdateSite">
<property name="unames.file" value="../mxunit/buildprops/unames.properties" />
<property file="${unames.file}" />
<tstamp>
<format pattern="MM/dd/yyyy hh:mm aa" offset="-2" unit="day" property="jarFilter" />
</tstamp>
<ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" remotedir="update" verbose="true">
<fileset dir=".">
<include name="site.xml" />
<include name="features/*.jar" />
<include name="plugins/*.jar" />
<date datetime="${jarFilter}" when="after" />
</fileset>
</ftp>
</target>
<target name="SendToUpdate33Site">
<property name="unames.file" value="../mxunit/buildprops/unames.properties" />
<property file="${unames.file}" />
<ftp server="${ftp.site}" userid="${ftp.username}" password="${ftp.password}" remotedir="update33" verbose="true">
<fileset dir=".">
<include name="site.xml" />
<include name="features/*.jar" />
<include name="plugins/*.jar" />
</fileset>
</ftp>
</target>
</project>