ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: help getting latest.integration to work -- solved!
Date Mon, 23 Feb 2009 22:04:00 GMT
The next release will probably be made within a few weeks, depending on the amount of time
we have to create it...
We'll include a fix for this problem in that release.

Maarten




----- Original Message ----
From: Jonathan Roberts <jroberts@rjlg.com>
To: ivy-user@ant.apache.org
Sent: Monday, February 23, 2009 10:56:40 PM
Subject: RE: help getting latest.integration to work -- solved!

After poking through the source, the ApacheURLLister had a bug which
caused it to not support full urls in the anchor tag's href.  Nexus does
this by default.  

This is fixed the in the ivy trunk, but didn't seem to make it to the
2.0 release.  Any idea when the next patch is due out?

Thanks,
Jon

-----Original Message-----
From: news [mailto:news@ger.gmane.org] On Behalf Of Tom Widmer
Sent: Tuesday, February 10, 2009 12:10 PM
To: ivy-user@ant.apache.org
Subject: Re: help getting latest.integration to work

Jonathan Roberts wrote:
> Sure,
> 
> Here's the relevant section from the log:
> 
> It looks like it's trying to list all the folders in
>
http://dev-ehmdrc.hq.rjlg.com:8001/nexus/content/groups/public/rjlg/hibe
> rnate-deployer/
> But it's not returning anything.
> 
> If I browse to the site, I can see all the version numbers.

What does the html source for the Nexus page look like? Ivy is using 
Apache HTTPD compatible parsing of the folder index (e.g. the HTML page 
returned when accessing a directory page) looking for links to 
subdirectories. It uses this regexp to do the search (see 
ApacheURLLister.java in the Ivy source):
"<a[^>]*href=\"([^\"]*)\"[^>]*>(?:<[^>]+>)*?([^<>]+?)(?:<[^>]+>)*?</a>"

and returns any URLs matching that regexp that are children of the 
folder. Maybe the problem is that Nexus does not provide something that 
the above pattern matches correctly. The change to make it work with 
Nexus would probably be quite trivial if that is the problem...

Tom


      

Mime
View raw message