diff --git a/docs/manual/platform.html b/docs/manual/platform.html index ff75b54e8..174dc351c 100644 --- a/docs/manual/platform.html +++ b/docs/manual/platform.html @@ -15,9 +15,10 @@ if you have downloaded this as a tar file.
  • Ant does not preserve file permissions when a file is copied, moved or -archived. Use <chmod> to set permissions, and when creating a +archived, because Java does not let it read or write the permissions. + Use <chmod> to set permissions, and when creating a tar archive, use the mode attribute of <tarfileset> -to set the permissions in the tar file. +to set the permissions in the tar file, or <apply> the real tar program.
  • Ant is not symbolic link aware in moves, deletes and when recursing down a tree of directories to build up a list of files. Unexpected things can happen. @@ -40,6 +41,31 @@ Ant can often not delete a directory which is open in an Explorer window. There is nothing we can do about this short of spawning a program to kill the shell before deleting directories. +

    Cygwin

    + +Cygwin is not really an operating system; rather it is an application suite +running under Windows and providing some UNIX like functionality. AFAIK, Sun did +not create any specific Java Development Kit or Java Runtime Environment for +cygwin. See this link : +http://www.inonit.com/cygwin/faq/ . +Only Windows path +names are supported by JDK and JRE tools under Windows or cygwin. Relative path +names such as "src/org/apache/tools" are supported, but Java tools do not +understand /cygdrive/c to mean c:\. +

    +The utility cygpath (used industrially in the ant script to support cygwin) can +convert cygwin path names to Windows. +You can use the task in ant to convert cygwin paths to Windows path, for +instance like that : +

    +<property name="some.cygwin.path" value="/cygdrive/h/somepath"/>
    +<exec executable="cygpath" outputproperty="windows.pathname">
    +   <arg value="--windows"/>
    +   <arg value="${some.cygwin.path}"/>
    +</exec>
    +<echo message="${windows.pathname}"/>
    +
    +

    Apple MacOS X

    MacOS X is the first of the Apple platforms that Ant supports completely;