[ 
https://issues.apache.org/jira/browse/DERBY-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998479#comment-12998479
 ] 

Knut Anders Hatlen commented on DERBY-4845:
-------------------------------------------

One improvement we could make, is changing the ant javac targets so that they 
don't compile java files that are not explicitly added to the list of files to 
compile. The way to do this is described here: 
http://ant.apache.org/manual/Tasks/javac.html#srcdirnote (basically, just add 
sourcepath="" to the javac targets). If we take that approach, the build will 
fail when it comes across a dependency that we haven't specified in the build 
script.

> Improve the dependency tracking for our build targets
> -----------------------------------------------------
>
>                 Key: DERBY-4845
>                 URL: https://issues.apache.org/jira/browse/DERBY-4845
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.8.0.0
>            Reporter: Rick Hillegas
>         Attachments: check-build.ksh, derby-4845-01-aa-removeParserPrep, 
> derby-4845-02-aa-flipUtilsAndTypes.diff, tools-i18n.diff
>
>
> Derby is supposed to have an incremental build. That is, if you change a 
> file, then the following command should recompile the file:
>    ant all
> There are several places in the graph of Derby build targets where this is 
> not true. If you change a file in certain packages, a subsequent "ant all" 
> won't notice the change. This issue is a place where we can track these bugs.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to