I found a possible solution here:
https://bz.apache.org/bugzilla/show_bug.cgi?id=36658

Can you try if the attached diff helps?

> Gesendet: Dienstag, 28. Juli 2015 um 12:39 Uhr
> Von: "Michael T. Pope" <mp...@computer.org>
> An: freecol-developers@lists.sourceforge.net
> Betreff: Re: [Freecol-developers] Installer fail
>
> On Mon, 27 Jul 2015 21:24:09 +0930
> "Michael T. Pope" <mp...@computer.org> wrote:
> > The mac bundling does seem to be odd.  "ant distclean" is failing to
> > remove the dist directory, probably because of a dangling symlink in the
> > macos subdirectory.
> 
> Yep, there is a bug open against ant for this.  Annoying but not our
> problem.
> 
> Cheers,
> Mike Pope
diff --git a/build.xml b/build.xml
index b77a6d5..9c852ea 100644
--- a/build.xml
+++ b/build.xml
@@ -542,7 +542,7 @@
 
     <target name="distclean" depends="init,clean"
             description="Cleans the directories and removes the distribution directory.">
-        <delete quiet="true" includeEmptyDirs="true">
+        <delete quiet="true" includeEmptyDirs="true" followsymlinks="false" removeNotFollowedSymlinks="true">
             <fileset dir="${freecol.release.dir}" />
         </delete>
     </target>
------------------------------------------------------------------------------
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to