ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Traverse" <florian.trave...@gmail.com>
Subject [Ivy SVN trunk ]Sun Jars
Date Mon, 17 Sep 2007 11:32:52 GMT
Hi everyone :)

I'm new to Ivy, ive checked it out from your svn trunk yesterday, and I want
to solve a common problem, I think this question has been answered several
time (but I did not find them :'( ).

The problem is "Sun binary Jars". They aren't on Maven repositories and I
want to make a project with Hibernate / Spring / DWR, that have transitive
dependencies to these jars

here are my configuration files:

build.xml:

<project xmlns:ivy="antlib:fr.jayasoft.ivy.ant" name="awiki"
default="resolve">
    <target name="resolve">
        <ivy:settings file="ivysettings.xml" />
        <ivy:resolve file="ivy.xml" conf="default" />
    </target>
</project>

ivy.xml:

<ivy-module version="1.0">
    <info organisation="archetypejs.sf.net" module="awiki" />
    <dependencies>
        <dependency org="org.directwebremoting" name="dwr" rev="2.0.1" />
        <dependency org="org.springframework" name="spring" rev="2.0.6" />
        <dependency org="org.hibernate" name="hibernate" rev="3.2.1.ga" />
    </dependencies>
</ivy-module>

ivysettings.xml:

<ivysettings>
    <settings defaultResolver="projet" />
    <resolvers>
        <chain name="projet" returnFirst="true">
            <filesystem name="local" />
            <filesystem name="shared" />
            <filesystem name="libraries">
                <ivy pattern="lib/[artifact]-[revision].xml" />
                <artifact pattern="lib/[artifact]-[revision].[ext]" />
            </filesystem>
            <!--            <ibiblio name="jboss"-->
            <!--                root="http://repository.jboss.org/maven2 "
m2compatible="true" />-->
            <ibiblio name="codehaus"
                root="http://dist.codehaus.org/mule/dependencies/maven2"
                m2compatible="true" />
            <ibiblio name="default" m2compatible="true" />
        </chain>
    </resolvers>
</ivysettings>


In order to solve the javax.security/jacc-1.0 dependency problem, I've
downloaded it and putted it in the /lib directory of my project, as
"lib/jacc-1.0.jar"

I haven't well understood how to set my own local repository for this kind
of jar, and expected my really simple configuration working, by putting just
the jar (with no xml dependency describer for the jar) in the lib directory
of my prject. but of course, it doesn't work...

So, what's wrong here please ? ;)

Regards,
Temsa

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message