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 2002/10/08 16:30:54 UTC

DO NOT REPLY [Bug 13409] New: - javac fails on first compilation and succeds on second

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

javac fails on first compilation and succeds on second

           Summary: javac fails on first compilation and succeds on second
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: miha@softhome.net


The <javac> task fails to compile java file, when running same target again - 
it completes succesfully.

- The classpath contains openide.jar which contains "org\openide\util\Task" 
class.

- The NbMainExplorer.java is located in src dir and in core.jar file which is
located in classpath too. The NbMainExplorer is overloading the one from jar 
file.

When running same target again - it completes succesfully.


Here is target output:

D:\development\song\dev\song\src\org\netbeans\core\NbMainExplorer.java:905: cann
ot access org.openide.util.Task
file org\openide\util\Task.class not found
            if (t != null) {
                  ^
1 error
Compile failed; see the compiler error output for details.

do_compile:
Since fork is true, ignoring compiler setting.
Compiling 10 source files to D:\development\song\dev\song\classes
Since fork is true, ignoring compiler setting.
D:\development\song\dev\song\src\org\netbeans\core\NbMainExplorer.java:905: cann
ot access org.openide.util.Task
file org\openide\util\Task.class not found
            if (t != null) {
                  ^
1 error

BUILD FAILED
file:D:/development/song/dev/song/build.xml:156: Compile failed; see the compile

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>