-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
executable file
·28 lines (24 loc) · 1.21 KB
/
build.xml
File metadata and controls
executable file
·28 lines (24 loc) · 1.21 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
<project name="3dEngine" default="upload" basedir=".">
<description>
ant build for 3d engine
</description>
<!-- set global properties for this build -->
<property name="src" location="src" />
<property name="build" location="build" />
<property name="dist" location="dist" />
<property name="ftp-server" value="vantagepointsolutions.co.uk" />
<property name="ftp-remotedir" value="3d2" />
<property name="ftp-userid" value="ftp@vantagepointsolutions.co.uk" />
<property name="ftp-password" value="7BdaTAR56G" />
<!-- Upload the JS src files and test html file for mobile testing -->
<target name="upload" description="ftp to web hosting (for mobile testing)">
<echo message="Sending all files from ${src}/main/js/"/>
<ftp server="${ftp-server}" remotedir="${ftp-remotedir}/src/main/js" userid="${ftp-userid}" password="${ftp-password}" action="put" verbose="yes" depends="yes" newer="false">
<fileset dir="${src}/main/js" />
</ftp>
<echo message="Sending test.html"/>
<ftp server="${ftp-server}" remotedir="${ftp-remotedir}" userid="${ftp-userid}" password="${ftp-password}" action="send" verbose="yes" depends="yes" newer="false">
<fileset file="./test.html" />
</ftp>
</target>
</project>