donaldp 01/10/12 18:53:37
Modified: src/main/org/apache/tools/ant/taskdefs Javadoc.java
Log:
Add comments regarding future netware integration.
Submitted by: "Jeff Tulley" <[EMAIL PROTECTED]>
Revision Changes Path
1.60 +5 -2
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
Index: Javadoc.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- Javadoc.java 2001/08/30 13:26:37 1.59
+++ Javadoc.java 2001/10/13 01:53:37 1.60
@@ -1145,12 +1145,15 @@
private String getJavadocExecutableName()
{
- // This is the most common extension case - exe for windows and OS/2,
+ // This is the most common extension case - exe for windows and
OS/2,
// nothing for *nix.
String os = System.getProperty("os.name").toLowerCase();
boolean dosBased =
os.indexOf("windows") >= 0 || os.indexOf("os/2") >= 0;
- String extension = dosBased? ".exe" : "";
+ // for NetWare, we do not want an extension either, so we will be
+ // "non dosBased". If this variable is ever used for other logic
+ // besides the extension, we may need to revisit this code.
+ String extension = dosBased? ".exe" : "";
// Look for javadoc in the java.home/../bin directory. Unfortunately
// on Windows java.home doesn't always refer to the correct location,