ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herman, Dave" <dher...@intrado.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdef s Javadoc.java
Date Mon, 16 Jul 2001 16:35:08 GMT
Is that the right path? I thought the JAVA_HOME variable was supposed to be
the root directory of the JDK, so the path would be java.home/bin/javadoc?

Dave

> -----Original Message-----
> From: glennm@apache.org [mailto:glennm@apache.org]
> Sent: Sunday, July 15, 2001 8:25 AM
> To: jakarta-ant-cvs@apache.org
> Subject: cvs commit: 
> jakarta-ant/src/main/org/apache/tools/ant/taskdefs
> Javadoc.java
> 
> 
> glennm      01/07/15 07:25:29
> 
>   Modified:    src/main/org/apache/tools/ant/taskdefs Javadoc.java
>   Log:
>   The javadoc task now looks for the javadoc executable
>   in the java.home/../bin directory.  That way if your
>   java installation isn't in your path, you can still
>   create javadocs.
>   
>   Revision  Changes    Path
>   1.55      +2 -1      
> 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/J
> avadoc.java,v
>   retrieving revision 1.54
>   retrieving revision 1.55
>   diff -u -r1.54 -r1.55
>   --- Javadoc.java	2001/07/08 06:21:45	1.54
>   +++ Javadoc.java	2001/07/15 14:25:28	1.55
>   @@ -734,7 +734,8 @@
>            }
>    
>            Commandline toExecute = (Commandline)cmd.clone();
>   -        toExecute.setExecutable("javadoc");
>   +        toExecute.setExecutable(System.getProperty("java.home") +
>   +            "/../bin/javadoc");
>    
>    // ------------------------------------------------ 
> general javadoc arguments
>            if (classpath == null)
>   
>   
>   
> 

Mime
View raw message