DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20144>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20144

Javadoc task running with cygwin

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-05-22 20:18 -------
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:\.
So I would resolve this as invalid, because the problem is not ant, but the 
absence of specific Java environment for cygwin.
The utility cygpath (used industrially in the ant script to support cygwin) can 
convert cygwin path names to Windows.
You can use the <exec/> task in ant to convert cygwin paths to Windows path, 
for 
instance like that :
<project name="cygpath">
<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}"/>
</project>
A request to create a task or to extend <pathconvert/> to support cygwin is 
thinkable, I am not sure though whether it would be OK.

Reply via email to