Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Support for 1.8.3? #67

Closed
mcintyre94 opened this issue May 13, 2012 · 1 comment
Closed

Support for 1.8.3? #67

mcintyre94 opened this issue May 13, 2012 · 1 comment

Comments

@mcintyre94
Copy link

When I had problems with Winant, I installed Ant myself manually. I installed Ant 1.8.3 (the latest version) from ant.apache.org and had problems with the build script. Specifically the problem was this error message:
"All features of the build script require Ant version 1.8.2. Please upgrade to 1.8.2 or remove all instances of 'overwrite=no' (and this fail task) from the build script to continue"

Which I believe is caused by this snippet in build.xml (Initializr) :

<fail message="All features of the build script require Ant version 1.8.2. Please upgrade to 1.8.2 or remove all        instances    of 'overwrite=no' (and this fail task) from the build script to continue">
<condition>
<not>
<contains string="${ant.version}" substring="1.8.2"/>
</not>
</condition>
</fail>
@roblarsen
Copy link
Member

That's way out of date code. I fixed that so long ago I don't remember when I fixed it. In the old repo, maybe.

https://github.com/h5bp/ant-build-script/blob/master/build.xml#L28-34

    <!-- Test for Ant Version Delete this task and all instances of overwrite='no' if you can't upgrade to latest-->
    <fail message="All features of the build script require Ant version 1.8.2 or greater. Please upgrade to the latest version or remove all instances of 'overwrite=no' (and this fail task) from the build script to continue">
        <condition>
            <not>
                 <antversion atleast="1.8.2"/>
            </not>
        </condition>
    </fail>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants