You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/02/24 02:05:12 UTC
[jira] [Comment Edited] (LUCENE-6277) Allow Ivy resolutionCacheDir
to be overriden by system property.
[ https://issues.apache.org/jira/browse/LUCENE-6277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14334194#comment-14334194 ]
Hoss Man edited comment on LUCENE-6277 at 2/24/15 1:04 AM:
-----------------------------------------------------------
best guess..
the "common.build.dir" property is explicitly specified using the "location" syntax for the <property/> declaration. when you introduced your new "ivy.resolution-cache" property, you used the regular "value" syntax -- which probably broke some automatic ant path resolution logic that was previously working when ivy was using...
{noformat}
resolutionCacheDir="${common.build.dir}/ivy-resolution-cache"
{noformat}
maybe this will work? ...
{noformat}
<property name="ivy.resolution-cache" location="${common.build.dir}/ivy-resolution-cache"/>
{noformat}
(wouldn't explain the error message though .. seemed like it didn't resolve the "ivy.resolution-cache" property at all, either as a path or as a literal value)
was (Author: hossman):
best guess..
the "common.build.dir" property is explicitly specified using the "location" syntax for the <property/> declaration. when you introduced your new "ivy.resolution-cache" property, you used the regular "value" syntax -- which probably broke some automatic ant path resolution logic that was previously working when ivy was using {{resolutionCacheDir="${common.build.dir}/ivy-resolution-cache"}}
maybe this will work? ...
{noformat}
<property name="ivy.resolution-cache" location="${common.build.dir}/ivy-resolution-cache"/>
{noformat}
(wouldn't explain the error message though .. seemed like it didn't resolve the "ivy.resolution-cache" property at all, either as a path or as a literal value)
> Allow Ivy resolutionCacheDir to be overriden by system property.
> ----------------------------------------------------------------
>
> Key: LUCENE-6277
> URL: https://issues.apache.org/jira/browse/LUCENE-6277
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Mark Miller
> Priority: Minor
> Fix For: Trunk, 5.1
>
> Attachments: LUCENE-6277.patch
>
>
> This makes it simpler to run tests in parallel (https://gist.github.com/markrmiller/dbdb792216dc98b018ad) without making any tweaks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org