[ 
https://issues.apache.org/jira/browse/HIVE-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829872#action_12829872
 ] 

Carl Steinbach commented on HIVE-1120:
--------------------------------------

+1

Be forewarned that if you have manually installed an older version of
Ivy in $ANT_HOME/lib this copy will get picked up in preference to downloading
the newer version. I saw the following error until I deleted the older Ivy JAR
in my $ANT_HOME/lib directory:

{noformat}
ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 :: http://ant.apache.org/ivy/ 
::
:: loading settings :: file = 
/Users/carl/Projects/hd9/hive-trunk/ivy/ivysettings.xml

BUILD FAILED
/Users/carl/Projects/hd9/hive-trunk/build.xml:148: The following error occurred 
while executing this line:
/Users/carl/Projects/hd9/hive-trunk/build.xml:93: The following error occurred 
while executing this line:
/Users/carl/Projects/hd9/hive-trunk/shims/build.xml:55: The following error 
occurred while executing this line:
/Users/carl/Projects/hd9/hive-trunk/build-common.xml:180: impossible to 
configure ivy:settings with given file: 
/Users/carl/Projects/hd9/hive-trunk/ivy/ivysettings.xml : 
java.text.ParseException: failed to load settings from 
file:/Users/carl/Projects/hd9/hive-trunk/ivy/ivysettings.xml: impossible to set 
defaultTTL to eternal on class 
org.apache.ivy.core.cache.DefaultRepositoryCacheManager
{noformat}

> In ivy offline mode, don't delete downloaded jars
> -------------------------------------------------
>
>                 Key: HIVE-1120
>                 URL: https://issues.apache.org/jira/browse/HIVE-1120
>             Project: Hadoop Hive
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>            Priority: Minor
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1120.1.patch, HIVE-1120.2.patch
>
>
> Once jars have been successfully downloaded, it would be good for developer 
> productivity to be able to do
> ant -Doffline=true clean && package
> Currently this won't work because the clean will delete the downloaded jars.

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

Reply via email to