-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
46 lines (40 loc) · 1.36 KB
/
build.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="AddFullAJAX for Joomla!" default="" basedir=".">
<!-- Copy destination; use -Ddestination="destination/path" instead -->
<property name="destination" value="." />
<!-- Fileset for plugin -->
<fileset dir="${project.basedir}/plg_addfullajax" id="plugin_files">
<include name="**" />
</fileset>
<!-- Fileset for Media files -->
<fileset dir="${project.basedir}/plg_addfullajax/media" id="media">
<include name="**/**" />
</fileset>
<!-- Fileset for template -->
<fileset dir="${project.basedir}/fullajax_tmpl" id="template_files">
<include name="**" />
</fileset>
<!-- copy_all Target -->
<target name="copy_all" description="copy all files to target">
<echo message="Copying files" />
<copy todir="${destination}">
<fileset refid="plugin_files" />
</copy>
<copy todir="${destination}">
<fileset refid="template_files" />
</copy>
</target>
<!-- install Target -->
<target name="install">
<echo message="Installing ..." />
<copy todir="${destination}/plugins/system/addfullajax/">
<fileset refid="plugin_files" />
</copy>
<copy todir="${destination}/media/plg_system_addfullajax">
<fileset refid="media" />
</copy>
<copy todir="${destination}/templates/fullajax_tmpl">
<fileset refid="template_files" />
</copy>
</target>
</project>