ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Using the configuration as part of the artifact pattern
Date Tue, 05 Feb 2008 08:24:00 GMT
On Feb 4, 2008 11:59 PM, Christoffer Soop <lists@soop.se> wrote:

> Xavier Hanin skrev:
> > Ok, on the command line, the option to disable validation is
> -novalidate.
> Ouch! I must have scanned the options from the help message a dozen
> times but somehow missed it - sorry for the inconvenience! (But thanks
> for the help...)
>
> > BTW, the latest trunk version allow to keep validation while using extra
> > attributes, by using namespaces:
> > https://issues.apache.org/jira/browse/IVY-553
> Cool!  I did try to compile it before but ran into a validation issue of
> the ivy:settings task:
>
> BUILD FAILED
> C:\cygwin\tmp\ivy\build.xml:50: ivy:settings doesn't support the
> "override" attribute
>
> Could this be because the bootstrap mechanism pulls an old version of
> ivy from the ivy repository?  Just deleting the offending attribute from
> the build.xml makes the project compile, but I guess this is not the
> right way to go about it...

I guess you have a version of Ivy in your ant lib, thus this takes
precendence over the version of Ivy you are building which should be used
during Ivy build.


>
>
> > This maybe a cleaner approach if you can afford relying on the trunk
> version
> > ATM.
> Well... I am already patching ivy to make the ivy jar runnable and to
> include the commons-cli dependency inside the manifest's Class-Path
> attribute. (And I have voted for the IVY-567! :-)

Allright, so I guess the best solution is to use the namespace aware
version. About IVY-567,  we haven't applied the patch yet because the
solution is not very satisfying, due to the poor support for classpath in
jar (you have to have the dependencies at the exact right relative location,
I really dislike this). What would be much more satisfying IMO is to remove
the dependency on commons-cli, to make Ivy runnable alone. This is more work
though...

Xavier

>
>
> Sincerely,
>
>        Chris
>
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

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