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

2008-05-29 Thread Claudio Miranda
This is the intended action, and it is working. But, I want this as a configurable option, to not disrupt the current behavior. Anyway the issue is there https://issues.apache.org/jira/browse/IVY-823 Thanks Claudio Miranda Maarten Coene wrote: > > I suggest you do the following: > >

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

2008-05-29 Thread Maarten Coene
Maarten - Original Message From: Claudio Miranda <[EMAIL PROTECTED]> To: dev@ant.apache.org Sent: Thursday, May 29, 2008 1:31:16 PM Subject: Re: [Ivy] How to add a new option to ivy settings Hey guys, thank you for your suggestions. I started to better understand Ivy 2 da

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

2008-05-29 Thread Claudio Miranda
Hey guys, thank you for your suggestions. I started to better understand Ivy 2 days ago, and I have no knowledge about how to read those configurations. Can you show me some code or guidance on how to better acomplish this task ? I have already modified XmlModuleDescriptorParser

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

2008-05-29 Thread Gilles Scokart
reason. >> >> Xavier >> >> >>> >>> >>> Maarten >>> >>> - Original Message >>> From: Xavier Hanin <[EMAIL PROTECTED]> >>> To: Ant Developers List >>> Sent: Thursday, May 29, 2008 8:51:36 AM

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

2008-05-29 Thread Maarten Coene
From: Gilles Scokart <[EMAIL PROTECTED]> To: Ant Developers List Sent: Thursday, May 29, 2008 9:51:58 AM Subject: Re: [Ivy] How to add a new option to ivy settings Maybe because later an other user will have the oposite requirements : I want the retreive to use the current timestamp, so that

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

2008-05-29 Thread Gilles Scokart
; >> To: Ant Developers List >> Sent: Thursday, May 29, 2008 8:51:36 AM >> Subject: Re: [Ivy] How to add a new option to ivy settings >> >> As Gilles suggested, I'd better put that in settings, which is also much >> easier to add (you only need a setter on

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

2008-05-29 Thread Xavier Hanin
e > From: Xavier Hanin <[EMAIL PROTECTED]> > To: Ant Developers List > Sent: Thursday, May 29, 2008 8:51:36 AM > Subject: Re: [Ivy] How to add a new option to ivy settings > > As Gilles suggested, I'd better put that in settings, which is also much > easier to

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

2008-05-29 Thread Maarten Coene
Why not always use the server timestamp for the artifacts as we already do for the Ivy files? Maarten - Original Message From: Xavier Hanin <[EMAIL PROTECTED]> To: Ant Developers List Sent: Thursday, May 29, 2008 8:51:36 AM Subject: Re: [Ivy] How to add a new option to ivy se

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