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

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

Downloading junit.jar automatically when needed sounds like a useful 
improvement. If I understand the patch correctly, it will install junit.jar 
when running the junit-all target, which is the target that runs the tests. But 
before running the tests, one would have to build the tests, which also 
requires junit.jar. So it is very likely that junit.jar is already there when 
junit-all is invoked, otherwise the test couldn't have been built. Should 
perhaps the testing target (the target that builds the tests) also depend on 
install_junit?

> [patch] embellish build.xml to automatically install junit.jar in the correct 
> directory if it doesn't exist.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5200
>                 URL: https://issues.apache.org/jira/browse/DERBY-5200
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.1.3
>
>         Attachments: auto_download_junit.diff
>
>
> if tools/java/junit.jar doesn't exist, automatically install it from the 
> central maven repository (location overrideable in local.properties) when 
> running junit.

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

Reply via email to