Re: [Ivy] How to add a new option to ivy settings

2008-05-28 Thread Xavier Hanin
As Gilles suggested, I'd better put that in settings, which is also much easier to add (you only need a setter on the resolver to recognize an attribute for the resolver in the settings file, pretty much like how Ant tasks work). Still to do what you want in the ivy file you have to modify XmlModul

Re: [Ivy] How to add a new option to ivy settings

2008-05-28 Thread Gilles Scokart
The idea of configuring wether a retrieve should keep the server timestamp or use the current time is great I think. However, I would not put this parameter in the ivy file. For the same ivy files, some would like one option, other would preffer the other one. I think it should better be a param

Re: [Ivy] How to add a new option to ivy settings

2008-05-28 Thread Claudio Miranda
I modified the code displayed below. At BasicURLHandler, how is it possible to retrieve de value of "timestamp" attribute (from ivy.xml) Index: src/java/org/apache/ivy/util/url/BasicURLHandler.java === --- src/java/org/apac

[Ivy] How to add a new option to ivy settings

2008-05-28 Thread Claudio Miranda
I am doing some testing with Ivy and have implemented a small modification, to allow the downloaded resource to have the same date timestamp as the file in remote repo. It is a requirement from the customer. At org.apache.ivy.util.url.BasicURLHandler.download(URL src, File dest, CopyProg

patches for DBpatch [Was: Tiny patch to enable Recursion in Ant]

2008-05-28 Thread Andrus Adamchik
Hi Stefan, While we are at it, would it be possible to apply 2 patches per tickets # 44969 and 45075? Thanks, Andrus On May 28, 2008, at 7:40 AM, Stefan Bodewig wrote: sorry for the delay, a combination of a whole lot of work, a broken iBook, very nice weather and severe back pain (not ne

Re: Tiny patch to enable Recursion in Ant

2008-05-28 Thread Colm Smyth
It's nice to see some feedback and new ideas; would anybody like to comment on what I actually did? ;) See https://issues.apache.org/bugzilla/show_bug.cgi?id=44980 for the issue I raised almost immediately after posting a request for comments. 2008/5/28 Steve Loughran <[EMAIL PROTECTED]>: > Stefa

NullPointerException in PropertyHelper.setProperty

2008-05-28 Thread tdakanalisw
Hi, I don't know if I am in the right forum. I have the following problem. I have create a Web Service which transforms a file from html to xml. When I call that WS I get the following error: java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) at org.apache.tools.ant.Propert

AW: Tiny patch to enable Recursion in Ant

2008-05-28 Thread Jan.Materne
> I could imagine a task to set a property to the current target > > > > ...maybe even something for a complete stack trace/list of > imports that > is live I found an old implementation of getting the information. Enhancing with setting the property shouldnt be difficult ;-) Jan

Re: Tiny patch to enable Recursion in Ant

2008-05-28 Thread Steve Loughran
Stefan Bodewig wrote: sorry for the delay, a combination of a whole lot of work, a broken iBook, very nice weather and severe back pain (not necessarily in that order) have kept me offline. On Wed, 14 May 2008, Colm Smyth <[EMAIL PROTECTED]> wrote: Yes I used subant, but as I said, it can't re