FAQ
Repository: ant
Updated Branches:
   refs/heads/master 3c37952d6 -> f44dd8255


<setpermission> requires Ant 1.10+. For the (nightly) build it is not that important.


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/f44dd825
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/f44dd825
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/f44dd825

Branch: refs/heads/master
Commit: f44dd8255fc2d600c6e7ccdaae552ca0eeee2725
Parents: 3c37952
Author: Jan Matèrne <jhm@apache.org>
Authored: Fri May 20 09:29:58 2016 +0200
Committer: Jan Matèrne <jhm@apache.org>
Committed: Fri May 20 09:29:58 2016 +0200

----------------------------------------------------------------------
  build.xml | 22 +++++++++++-----------
  1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/f44dd825/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 477a0be..32d17c8 100644
--- a/build.xml
+++ b/build.xml
@@ -16,7 +16,7 @@
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
-<project name="apache-ant" default="main" basedir=".">
+<project name="apache-ant" default="main" basedir="." xmlns:if="ant:if">

    <!-- Give user a chance to override without editing this file
         (and without typing -D on each invocation) -->
@@ -100,6 +100,7 @@
         ===================================================================
    -->
    <property name="debug" value="true"/>
+ <antversion property="ant1.10+" atleast="1.10"/>
    <property name="setpermissions.fail" value="true"/>
    <property name="deprecation" value="false"/>
    <property name="optimize" value="true"/>
@@ -121,7 +122,6 @@
    <property name="junit.collector.dir" value="${build.dir}/failingTests"/>
    <property name="junit.collector.class" value="FailedTests"/>

-
    <!--
         ===================================================================
           Set the paths used in the build
@@ -913,13 +913,13 @@
        <include name="*.pl"/>
      </fixcrlf>

- <setpermissions mode="755" failonerror="${setpermissions.fail}">
+ <setpermissions mode="755" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <dirset dir="${dist.dir}"/>
      </setpermissions>
- <setpermissions mode="644" failonerror="${setpermissions.fail}">
+ <setpermissions mode="644" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <fileset dir="${dist.dir}"/>
      </setpermissions>
- <setpermissions mode="755" failonerror="${setpermissions.fail}">
+ <setpermissions mode="755" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <fileset dir="${dist.bin}">
          <include name="**/ant"/>
          <include name="**/antRun"/>
@@ -1027,13 +1027,13 @@
        </fileset>
      </copy>

- <setpermissions mode="755" failonerror="${setpermissions.fail}">
+ <setpermissions mode="755" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <dirset dir="${dist.dir}"/>
      </setpermissions>
- <setpermissions mode="644" failonerror="${setpermissions.fail}">
+ <setpermissions mode="644" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <fileset dir="${dist.dir}"/>
      </setpermissions>
- <setpermissions mode="755" failonerror="${setpermissions.fail}">
+ <setpermissions mode="755" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <fileset dir="${dist.bin}">
          <include name="**/ant"/>
          <include name="**/antRun"/>
@@ -1147,13 +1147,13 @@
        <exclude name="${tests.etc.dir}/taskdefs/fixcrlf/input/Junk?.java"/>
      </fixcrlf>

- <setpermissions mode="755" failonerror="${setpermissions.fail}">
+ <setpermissions mode="755" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <dirset dir="${src.dist.dir}"/>
      </setpermissions>
- <setpermissions mode="644" failonerror="${setpermissions.fail}">
+ <setpermissions mode="644" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <fileset dir="${src.dist.dir}"/>
      </setpermissions>
- <setpermissions mode="755" failonerror="${setpermissions.fail}">
+ <setpermissions mode="755" failonerror="${setpermissions.fail}" if:set="ant1.10+">
        <fileset dir="${src.dist.dir}">
          <include name="**/*.sh"/>
          <include name="**/*.pl"/>

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupnotifications @
categoriesant
postedMay 20, '16 at 7:31a
activeMay 20, '16 at 7:31a
posts1
users1
websiteant.apache.org

1 user in discussion

Jhm: 1 post

People

Translate

site design / logo © 2018 Grokbase