You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Priit Laes (JIRA)" <ji...@apache.org> on 2010/03/17 12:36:28 UTC

[jira] Created: (AVRO-478) Need option to disable ivy

Need option to disable ivy
--------------------------

                 Key: AVRO-478
                 URL: https://issues.apache.org/jira/browse/AVRO-478
             Project: Avro
          Issue Type: Wish
          Components: build
            Reporter: Priit Laes


It would be nice to have commandline definition to possibly disable ivy.

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


[jira] Commented: (AVRO-478) Need option to disable ivy

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846501#action_12846501 ] 

Doug Cutting commented on AVRO-478:
-----------------------------------

Can you explain more about what you want here?

Ivy is used to retrieve Java's dependencies.  It is configured so that, once dependencies have been retrieved, offline development is possible.  Without Ivy we'd need to include the jars we depend on in subversion and in the source distribution.

> Need option to disable ivy
> --------------------------
>
>                 Key: AVRO-478
>                 URL: https://issues.apache.org/jira/browse/AVRO-478
>             Project: Avro
>          Issue Type: Wish
>          Components: build
>            Reporter: Priit Laes
>
> It would be nice to have commandline definition to possibly disable ivy.

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


[jira] Commented: (AVRO-478) Need option to disable ivy

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846509#action_12846509 ] 

Doug Cutting commented on AVRO-478:
-----------------------------------

So you want a way to build Avro jars from source without invoking ivy, is that right?

If you're willing to make sure that all the required jars are in ${ivy.lib} and ${ivy.test.lib} (build/lib and build/test/lib by default) then this should be as simple as adding unless="${ivy.disabled}" to all of the -retrieve tasks in build.xml.  Does that sound like what you're looking for?  Then you could specify "-Divy.disabled=true -Divy.lib=... -Divy.test.lib=..." on the ant command line.  Could that work for you?

How will you track Java dependencies as they change?  We specify java dependencies in one place in the sources: ivy.xml.  Will you update your Avro Java dependencies with each Avro release by hand?


> Need option to disable ivy
> --------------------------
>
>                 Key: AVRO-478
>                 URL: https://issues.apache.org/jira/browse/AVRO-478
>             Project: Avro
>          Issue Type: Wish
>          Components: build
>            Reporter: Priit Laes
>
> It would be nice to have commandline definition to possibly disable ivy.

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


[jira] Commented: (AVRO-478) Need option to disable ivy

Posted by "Priit Laes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846504#action_12846504 ] 

Priit Laes commented on AVRO-478:
---------------------------------

A bit background:

I am currently working on getting the Hadoop stack running on Gentoo. And Gentoo's Java policy is clear: "No bundled dependencies" (ie the ones that Ivy automatically downloads).

So in our build scripts (ebuilds) we just provide list of depending packages in EANT_GENTOO_CLASSPATH="package1,package2" whose location is then injected into classpath.

So what I want is just variable that disables invocation of ivy.

> Need option to disable ivy
> --------------------------
>
>                 Key: AVRO-478
>                 URL: https://issues.apache.org/jira/browse/AVRO-478
>             Project: Avro
>          Issue Type: Wish
>          Components: build
>            Reporter: Priit Laes
>
> It would be nice to have commandline definition to possibly disable ivy.

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