ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Clitheroe <g.clithe...@gmail.com>
Subject Re: ivy:install
Date Thu, 05 Aug 2010 19:05:13 GMT
Hi,

you need to make the filesystem resolver m2 compat.  Here's what ours looks
like

   <property name="ivy.shared.m2.ivy.pattern"

value="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
        override="false"/>
    <property name="ivy.shared.m2.artifact.pattern"

value="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
        override="false"/>

      <filesystem name="geonet-enterprise-fs"  m2compatible="true">
            <ivy
pattern="${enterprise.repo.dir.enterprise.tmp}/${ivy.shared.m2.ivy.pattern}"/>
            <artifact
pattern="${enterprise.repo.dir.enterprise.tmp}/${ivy.shared.m2.artifact.pattern}"/>
        </filesystem>


FWIW I ran into problems with automatically determining the next build
revision # from an M2 repo (was an older version of ivy) so we run two
repos, one M2, one Ivy.

Cheers,
Geoff


On Fri, Aug 6, 2010 at 5:02 AM, acec acec <tomcatacec@yahoo.ca> wrote:

> Hi, all
> I am using ivy:install to build my team repository, for instance:
>
> <ivy:install settingsRef="basic.settings"
>                        organisation="org.hibernate.javax.persistence"
> module="hibernate-jpa-2.0-api" revision="1.0.0.Final"
>                from="jboss" to="${to.resolver}" transitive="true" />
>
> ========================================================================
> My ivysettings.xml
>
> <filesystem name="temp-repository">
>                        <ivy
> pattern="${dest.repo.dir}/no-namespace/[organisation]/[module]/[revision]/ivys/ivy-[revision].xml"
> />
>                        <artifact
> pattern="${dest.repo.dir}/no-namespace/[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]"
> />
>                </filesystem>
>
>
> Which will create the following folders:
> org.hibernate.javax.persistence/hibernate-jpa-2.0-api/1.0.0.Final
>
> How can I create the folders like maven style:
> org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final ?
>
> Thanks.
>
>
>

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