ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lewis Ship" <>
Subject Ivy [2.0-beta-2]: Download Source Jars
Date Wed, 04 Jun 2008 00:47:56 GMT
I'm just getting started with Ivy, but one thing that is very
important for me is to easily download source JARs where available.

<ivy-module version="2.0">
    <info organisation="com.nfjs.hls" module="blogapp"/>
        <conf name="runtime" description="Dependencies needed at runtime."/>
        <artifact name="blogapp" type="war" conf="runtime" ext="war"/>
        <dependency org="org.apache.tapestry" name="tapestry-core"
rev="5.0.11" conf="runtime->default">
            <exclude module="servlet-api"/>

<project xmlns:ivy="antlib:org.apache.ivy.ant" name="blogapp">

    <target name="-ivy-setup">
        <ivy:settings file="ivysettings.xml"/>

    <target name="update-libs" depends="-ivy-setup"
description="Download external library dependencies">
        <ivy:retrieve sync="true"


This runs and places my expected dependencies in lib/runtime-jars/ as
I want them.

However, there is no lib/runtime-sources folder.

I get the same results if I omit the type attribute on <ivy:retrieve/>.

How does Ivy associate an artifact with its source artifact?

The things I'm downloading, tapestry JARs and such, all have source
JARs (built and deployed via Maven).

Thanks for any pointers,


Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message