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 7312] New: - <javac> uptodate check failed on more classes in one src file
Date Thu, 21 Mar 2002 10:10:35 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=7312>.
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=7312

<javac> uptodate check failed on more classes in one src file

           Summary: <javac> uptodate check failed on more classes in one src
                    file
           Product: Ant
           Version: 1.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: vojta@idoox.com


file B.java:

package pkg;

public class B {

    public static String b(String s) {
        return s;
    }
}


file C.java:

package pkg;

public class C {

    public static void main(String[] argv) {
        System.out.println("Hello");
    }
}


class My {

    String nic(String s) {
        return B.b(s);
    }
}

file build.xml:

<project name="p" default="p">
  <target name="p">
    <depend cache="deps" closure="yes"
            destdir="classes"
            srcdir="src"
            />
    <javac srcdir="src"
           destdir="classes">
    </javac>
  </target>
</project>


If I change B.java depend task remove My.class file but javac do not compile it
again.

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


Mime
View raw message