buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ittay Dror (JIRA)" <j...@apache.org>
Subject [jira] Created: (BUILDR-333) buildr does not repackage when working with eclipse that compiles to target/classes
Date Mon, 26 Oct 2009 15:28:59 GMT
buildr does not repackage when working with eclipse that compiles to target/classes
-----------------------------------------------------------------------------------

                 Key: BUILDR-333
                 URL: https://issues.apache.org/jira/browse/BUILDR-333
             Project: Buildr
          Issue Type: Bug
          Components: Compilers
            Reporter: Ittay Dror


Many java developers set the project's output in Eclipse to target/classes to save compilation
time of BuildR.

Say I change a file:
* jar task depends on compile.target
* compile.target depends on compile task
* compile task's needed? method checks Base#needed? 
* Base#needed? compares sources, classes and dependencies timestamps
  ==> since eclipse compiled the source, Base#needed? returns fals
  ==> nothing is done (jar is not repackaged)

Suggestion: Jar task should compare jar and classes timestamp. if there are newer classes,
it is needed to be executed

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message