Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix build.xml for Windows #1959

Merged
merged 3 commits into from

2 participants

This page is out of date. Refresh to see the latest.
Showing with 29 additions and 15 deletions.
  1. +29 −15 build/build.xml
View
44 build/build.xml
@@ -103,13 +103,17 @@
<istrue value="${cfg.bz2}" />
</condition>
- <copy todir="${tmp_dir}/packages">
- <fileset dir="${project_dir}" />
- <firstmatchmapper>
- <mapper type="regexp" from="^libraries/(.*)$$" to="lib_\1"/>
- <mapper type="regexp" from="^media/([^/]*)/(.*)$$" to="\1_media/\2"/>
- <mapper type="glob" from="plugins/*" to="*"/>
- </firstmatchmapper>
+ <copy todir="${tmp_dir}/packages/lib_kunena" overwrite="true">
+ <fileset dir="${project_dir}/libraries/kunena"/>
+ </copy>
+ <copy todir="${tmp_dir}/packages/plg_system_kunena" overwrite="true">
+ <fileset dir="${project_dir}/plugins/plg_system_kunena"/>
+ </copy>
+ <copy todir="${tmp_dir}/packages/plg_quickicon_kunena" overwrite="true">
+ <fileset dir="${project_dir}/plugins/plg_quickicon_kunena"/>
+ </copy>
+ <copy todir="${tmp_dir}/packages/kunena_media" overwrite="true">
+ <fileset dir="${project_dir}/media/kunena"/>
</copy>
<copy todir="${tmp_dir}/packages/com_kunena">
<fileset dir="${project_dir}/${kunena.admin}">
@@ -131,16 +135,26 @@
<filter token="kunenaversionname" value="${xml.versionname}" />
<!-- Add version information to all xml files and forum.php -->
- <copy todir="${tmp_dir}/packages" overwrite="true" filtering="true">
- <fileset dir="${project_dir}">
- <include name="libraries/kunena/forum/forum.php"/>
+ <copy todir="${tmp_dir}/packages/lib_kunena" overwrite="true" filtering="true">
+ <fileset dir="${project_dir}/libraries/kunena">
+ <include name="forum/forum.php"/>
+ <include name="**/*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="${tmp_dir}/packages/plg_system_kunena" overwrite="true" filtering="true">
+ <fileset dir="${project_dir}/plugins/plg_system_kunena">
+ <include name="**/*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="${tmp_dir}/packages/plg_quickicon_kunena" overwrite="true" filtering="true">
+ <fileset dir="${project_dir}/plugins/plg_quickicon_kunena">
+ <include name="**/*.xml"/>
+ </fileset>
+ </copy>
+ <copy todir="${tmp_dir}/packages/kunena_media" overwrite="true" filtering="true">
+ <fileset dir="${project_dir}/media/kunena">
<include name="**/*.xml"/>
</fileset>
- <firstmatchmapper>
- <mapper type="regexp" from="^libraries/(.*)$$" to="lib_\1"/>
- <mapper type="regexp" from="^media/([^/]*)/(.*)$$" to="\1_media/\2"/>
- <mapper type="glob" from="plugins/*" to="*"/>
- </firstmatchmapper>
</copy>
<copy todir="${tmp_dir}/packages/com_kunena" overwrite="true" filtering="true">
<fileset dir="${project_dir}/${kunena.admin}">
Something went wrong with that request. Please try again.