[ https://issues.apache.org/jira/browse/LUCENE-4115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292402#comment-13292402 ]
Dawid Weiss commented on LUCENE-4115: ------------------------------------- I don't agree -- the current situation in which you need to remember about cleaning up jars and resolving again is confusing. It should be syncing automatically with respect to the contents of ivy files. If you need a temporary jar, oh well, modify the ivy file. Given the tradeoff between the two situations I'm opting for having an automagic sync that the need to remember to do cleanups manually every time. Currently we 'ant resolve' on ant test anyway so it's half-way to full syncing to me. A middle ground would be to have ant clean/eclipse/idea resync everything and 'ant test' and 'ant resolve' not do anything special, but like I said -- I think it should be consistent with ivy files. For better or worse, that's the reason we have them -- to specify dependencies. > JAR resolution/ cleanup should be done automatically for ant clean/ eclipse/ > resolve. > ------------------------------------------------------------------------------------- > > Key: LUCENE-4115 > URL: https://issues.apache.org/jira/browse/LUCENE-4115 > Project: Lucene - Java > Issue Type: Task > Reporter: Dawid Weiss > Assignee: Dawid Weiss > Priority: Trivial > Fix For: 4.0, 5.0 > > Attachments: LUCENE-4111.patch, LUCENE-4115.patch > > > I think we should add the following target deps: > ant clean [depends on] clean-jars > ant resolve [depends on] clean-jars > ant eclipse [depends on] resolve, clean-jars > ant idea [depends on] resolve, clean-jars > This eliminates the need to remember about cleaning up stale jars which users > complain about (and I think they're right about it). The overhead will be > minimal since resolve is only going to copy jars from cache. Eclipse won't > have a problem with updated JARs if they end up at the same location. > If there are no objections I will fix this in a few hours. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org