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 43665] - dependset complaints about files from the future when they are 0.5s old
Date Mon, 22 Oct 2007 09:35:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43665





------- Additional Comments From peterreilly@apache.org  2007-10-22 02:35 -------
I do not think that this is due to mounted file systems.
(despite the /mnt/crypt in the bug report).
The follows gives me with trunk ant.

src/example/Hello.java: |-
  package example; 
  public class Hello{}
build.xml:  |-
  <project name="d" default="run">
    <target name="run">
      <delete dir="classes"/>
      <mkdir dir="classes"/>
      <javac srcdir="src" destdir="classes" debug="yes"/>
      <dependset>
        <sources>
          <fileset dir="src" includes="**/*.java"/>
        </sources>
        <targets>
          <fileset dir="classes" includes="**/*.class"/>
        </targets>
      </dependset>
    </target>
  </project>

Result:
run:
Created dir: /work/reilly/learning/a/dependset/classes
Compiling 1 source file to /work/reilly/learning/a/dependset/classes
Warning: /work/reilly/learning/a/dependset/classes/example/Hello.class modified
in the future.

~/learning/a/dependset> ls -lR
.:
total 12
-rw-r--r--  1 reilly ccgrp01  393 Oct 22 09:44 build.xml
drwxr-xr-x  3 reilly ccgrp01 4096 Oct 22 09:46 classes
drwxr-xr-x  3 reilly ccgrp01 4096 Oct 22 09:41 src

./classes:
total 4
drwxr-xr-x  2 reilly ccgrp01 4096 Oct 22 09:46 example

./classes/example:
total 4
-rw-r--r--  1 reilly ccgrp01 256 Oct 22 09:46 Hello.class

./src:
total 4
drwxr-xr-x  2 reilly ccgrp01 4096 Oct 22 09:41 example

./src/example:
total 4
-rw-r--r--  1 reilly ccgrp01 41 Oct 22 09:41 Hello.java


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message