ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4119] New: - need to be able to specify process name for javac
Date Fri, 12 Oct 2001 12:00:23 GMT
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=4119>.
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=4119

need to be able to specify process name for javac

           Summary: need to be able to specify process name for javac
           Product: Ant
           Version: 1.4
          Platform: Alpha
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: samjoyce@iona.com
                CC: samjoyce@iona.com


Hi,

I'm working on porting IONA's application server to OpenVMS and so far I've 
been using ant quite successfully. 

The enhancement I would like to see is to be able to specify the javac process 
name directly in the ant build script when using fork="yes". This functionality 
is currently available with the java task where I can use the jvm attribute to 
specify the VM process name.

On openVMS javac is really called java$javac.exe in the same way that java is 
really called java$java.exe. I specifically need to have the javac tasks forked 
because there appears to be a bug in the openVMS implementation of javac which 
causes it to leak memory all over the place :(

The specific problem is being caused in 
org.apache.tools.ant.compilers.JavacExternal.java line 75 where the execute cmd 
is set to 'javac'.  

For the moment I intend to workaround the problem by implementing a custom 
CompilerAdapter which sets the javac proccess name correctly.

Mime
View raw message