You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/08/08 12:25:11 UTC

DO NOT REPLY [Bug 22244] New: - Javadoc Task.. Don't use the JAVADOC exceutable from running VM

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=22244>.
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=22244

Javadoc Task.. Don't use the JAVADOC exceutable from running VM

           Summary: Javadoc Task.. Don't use the JAVADOC exceutable from
                    running VM
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: demeester_roel@yahoo.com


We are in a complex situation @ our company.

We have our own VM based on 1.1.8 running on a embedded device.
A lot of classes contain a <default> class import statement eg. 
import X;
import ReadOnly; 

We have written a doclet that creates a proxy representation sourcefile 
(SomeClassProxy.java) from an input sourcefile (SomeClass.java).

This al works nicely when using javadoc <= 1.3
But as of 1.4 you can not import a class from the default package.

So performing a javadoc with our doclet will fail.
So what .. you think, switch to 1.3 and problems will dissapear. That's true, 
but the problem is that we have set 1.4.2 as our VM so that we can use HotCode 
replace in our favorite IDE (eclipse). And we call the <javadoc> task from 
within an ant build.script, from within this IDE, running on 1.4.2, so we are 
forced to always run this task from the commandline.

So far, the problem.. Now the question..
Is there a way to use javadoc 1.3 command iso of the javadoc command from the 
currently running VM.? 
Or, since javadoc task is forked. Can I tell ANT to use an older VM?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org