You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Mandie Smith <ma...@houseofgnomes.net> on 2009/02/10 22:43:58 UTC
webdav support
I've been looking through the archives, and the last mention about webdav
support I've seen was March of last year. I was wondering if anyone has
looked into this and what their progress was?
thanks,
Mandie
Re: webdav support
Posted by Maarten Coene <ma...@yahoo.com>.
At the moment, webdav is only possible by using the vfs resolver.
This resolver uses Apache VFS which has webdav capabilities.
http://ant.apache.org/ivy/history/latest-release/resolver/vfs.html
I think you have also need vfs-sandbox to get the webdav support:
http://commons.apache.org/vfs/index.html
Maarten
----- Original Message ----
From: Mandie Smith <ma...@houseofgnomes.net>
To: ivy-user@ant.apache.org
Sent: Tuesday, February 10, 2009 10:43:58 PM
Subject: webdav support
I've been looking through the archives, and the last mention about webdav
support I've seen was March of last year. I was wondering if anyone has
looked into this and what their progress was?
thanks,
Mandie
RE: Replaceregexp in ANT
Posted by Martin Gainty <mg...@hotmail.com>.
Does Ant replaceregexp support Perl, regular or extended regular expressions?
Vielen Danke,
Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Thu, 16 Apr 2009 13:28:10 +0200
> From: Martin.vGagern@gmx.net
> To: Pankaj_Arora01@infosys.com
> CC: dev@ant.apache.org
> Subject: Re: Replaceregexp in ANT
>
> Pankaj Arora01 wrote:
> > I know replaceregexp should serve the purpose but I am unable to do
> > it due to multiple lines. I need to replace the complete set of A
> > properties at one go...May be treating it as a single line.
>
> Haven't fully understood everything before, but a FileTokenizer, maybe
> together with the 's' flag to replaceregexp, should solve this.
>
> http://ant.apache.org/manual/CoreTypes/filterchain.html#filetokenizer
> http://ant.apache.org/manual/OptionalTasks/replaceregexp.html
>
> The user mailing list is probably a better place to ask such questions
> than this dev list. See http://ant.apache.org/mail.html
>
> Greetings,
> Martin von Gagern
>
_________________________________________________________________
Rediscover Hotmail®: Now available on your iPhone or BlackBerry
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009
Re: Replaceregexp in ANT
Posted by Martin von Gagern <Ma...@gmx.net>.
Pankaj Arora01 wrote:
> I know replaceregexp should serve the purpose but I am unable to do
> it due to multiple lines. I need to replace the complete set of A
> properties at one go...May be treating it as a single line.
Haven't fully understood everything before, but a FileTokenizer, maybe
together with the 's' flag to replaceregexp, should solve this.
http://ant.apache.org/manual/CoreTypes/filterchain.html#filetokenizer
http://ant.apache.org/manual/OptionalTasks/replaceregexp.html
The user mailing list is probably a better place to ask such questions
than this dev list. See http://ant.apache.org/mail.html
Greetings,
Martin von Gagern
Replaceregexp in ANT
Posted by Pankaj Arora01 <Pa...@infosys.com>.
HI all,
I have an XML file that contain the following tags:
<A>
<UserName>UserA</UserName>
<Password>password</Password>
<SID>rdf12</SID>
<Host>10.8</Host>
</A>
<B>
<UserName>UserB</UserName>
<Password>password</Password>
<SID>rdf12</SID>
<Host>10.8.</Host>
</B>
I have a property file that has following properties:
userNameA TestA
passwordA passwordA
userNameB TestB
and so on...
Now I need to update the XML file with the corresponding properties. After updation output should be something like
<A>
<UserName>TestA</UserName>
......
</A>
<B>
<UserName>TestB</UserName>
....
</B>
I cannot use replace <UserName>(.)*</UserName> because same tag is present in both A and B.
I know replaceregexp should serve the purpose but I am unable to do it due to multiple lines. I need to replace the complete set of A properties at one go...May be treating it as a single line.
How to do this?
Thanks in advance
Pankaj
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Re: [Ivy] webdav support
Posted by Maarten Coene <ma...@yahoo.com>.
Yes, basic authentication should still be ok
Maarten
----- Original Message ----
From: Hans Dockter <ma...@dockter.biz>
To: Ant Developers List <de...@ant.apache.org>
Sent: Thursday, April 16, 2009 9:12:45 AM
Subject: Re: [Ivy] webdav support
On Feb 11, 2009, at 9:46 PM, Maarten Coene wrote:
> I don't know about vfs, but Ivy doesn't fail any longer if you have httpclient-2.x in your classpath.
> In that situation, Ivy will use the default JDK URL classes...
Could you still use http authentication then?
- Hans
>
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: Hans Dockter <ma...@dockter.biz>
> To: Ant Developers List <de...@ant.apache.org>
> Sent: Wednesday, February 11, 2009 8:24:30 PM
> Subject: Re: [Ivy] webdav support
>
> One problem with the webdav support of vfs was that that they were using an old version of commons-httpclient, which was incompatible to the version which is Ivy using for other purposes. It would be interesting to know if this is still an issue with the new webdav implementation of vfs.
>
> - Hans
>
> On Feb 11, 2009, at 8:56 AM, Xavier Hanin wrote:
>
>> Webdav support is often requested in Ivy, so I think it would be a
>> good idea to test this indeed.
>>
>> Xavier
>>
>> On Tue, Feb 10, 2009 at 10:53 PM, Matt Benson <gu...@yahoo.com> wrote:
>>>
>>> Actually, I've been meaning to poke the dev list on this one. Ralph Goers has recently added to Commons VFS trunk a new webdav implementation, based on Jackrabbit DAV instead of Slide. It should be a priority (albeit perhaps a minor one) to test a trunk build of [vfs] to see if everything works as expected.
>>>
>>> Regards,
>>> Matt
>>>
>>>
>>> --- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
>>>
>>>> From: Mandie Smith <ma...@houseofgnomes.net>
>>>> Subject: webdav support
>>>> To: ivy-user@ant.apache.org
>>>> Date: Tuesday, February 10, 2009, 3:43 PM
>>>> I've been looking through the archives, and the last
>>>> mention about webdav
>>>> support I've seen was March of last year. I was
>>>> wondering if anyone has
>>>> looked into this and what their progress was?
>>>>
>>>> thanks,
>>>> Mandie
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: dev-help@ant.apache.org
>>>
>>>
>>
>>
>>
>> --Xavier Hanin - 4SH France
>> BordeauxJUG co leader - http://www.bordeauxjug.org/
>> Blogger - http://xhab.blogspot.com/
>> Apache Ivy Creator - http://ant.apache.org/ivy/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>
> --
> Hans Dockter
> Gradle Project lead
> http://www.gradle.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: [Ivy] webdav support
Posted by Hans Dockter <ma...@dockter.biz>.
On Feb 11, 2009, at 9:46 PM, Maarten Coene wrote:
> I don't know about vfs, but Ivy doesn't fail any longer if you have
> httpclient-2.x in your classpath.
> In that situation, Ivy will use the default JDK URL classes...
Could you still use http authentication then?
- Hans
>
>
> Maarten
>
>
>
>
> ----- Original Message ----
> From: Hans Dockter <ma...@dockter.biz>
> To: Ant Developers List <de...@ant.apache.org>
> Sent: Wednesday, February 11, 2009 8:24:30 PM
> Subject: Re: [Ivy] webdav support
>
> One problem with the webdav support of vfs was that that they were
> using an old version of commons-httpclient, which was incompatible
> to the version which is Ivy using for other purposes. It would be
> interesting to know if this is still an issue with the new webdav
> implementation of vfs.
>
> - Hans
>
> On Feb 11, 2009, at 8:56 AM, Xavier Hanin wrote:
>
>> Webdav support is often requested in Ivy, so I think it would be a
>> good idea to test this indeed.
>>
>> Xavier
>>
>> On Tue, Feb 10, 2009 at 10:53 PM, Matt Benson
>> <gu...@yahoo.com> wrote:
>>>
>>> Actually, I've been meaning to poke the dev list on this one.
>>> Ralph Goers has recently added to Commons VFS trunk a new webdav
>>> implementation, based on Jackrabbit DAV instead of Slide. It
>>> should be a priority (albeit perhaps a minor one) to test a trunk
>>> build of [vfs] to see if everything works as expected.
>>>
>>> Regards,
>>> Matt
>>>
>>>
>>> --- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
>>>
>>>> From: Mandie Smith <ma...@houseofgnomes.net>
>>>> Subject: webdav support
>>>> To: ivy-user@ant.apache.org
>>>> Date: Tuesday, February 10, 2009, 3:43 PM
>>>> I've been looking through the archives, and the last
>>>> mention about webdav
>>>> support I've seen was March of last year. I was
>>>> wondering if anyone has
>>>> looked into this and what their progress was?
>>>>
>>>> thanks,
>>>> Mandie
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: dev-help@ant.apache.org
>>>
>>>
>>
>>
>>
>> --Xavier Hanin - 4SH France
>> BordeauxJUG co leader - http://www.bordeauxjug.org/
>> Blogger - http://xhab.blogspot.com/
>> Apache Ivy Creator - http://ant.apache.org/ivy/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>
> --
> Hans Dockter
> Gradle Project lead
> http://www.gradle.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: [Ivy] webdav support
Posted by Maarten Coene <ma...@yahoo.com>.
I don't know about vfs, but Ivy doesn't fail any longer if you have httpclient-2.x in your classpath.
In that situation, Ivy will use the default JDK URL classes...
Maarten
----- Original Message ----
From: Hans Dockter <ma...@dockter.biz>
To: Ant Developers List <de...@ant.apache.org>
Sent: Wednesday, February 11, 2009 8:24:30 PM
Subject: Re: [Ivy] webdav support
One problem with the webdav support of vfs was that that they were using an old version of commons-httpclient, which was incompatible to the version which is Ivy using for other purposes. It would be interesting to know if this is still an issue with the new webdav implementation of vfs.
- Hans
On Feb 11, 2009, at 8:56 AM, Xavier Hanin wrote:
> Webdav support is often requested in Ivy, so I think it would be a
> good idea to test this indeed.
>
> Xavier
>
> On Tue, Feb 10, 2009 at 10:53 PM, Matt Benson <gu...@yahoo.com> wrote:
>>
>> Actually, I've been meaning to poke the dev list on this one. Ralph Goers has recently added to Commons VFS trunk a new webdav implementation, based on Jackrabbit DAV instead of Slide. It should be a priority (albeit perhaps a minor one) to test a trunk build of [vfs] to see if everything works as expected.
>>
>> Regards,
>> Matt
>>
>>
>> --- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
>>
>>> From: Mandie Smith <ma...@houseofgnomes.net>
>>> Subject: webdav support
>>> To: ivy-user@ant.apache.org
>>> Date: Tuesday, February 10, 2009, 3:43 PM
>>> I've been looking through the archives, and the last
>>> mention about webdav
>>> support I've seen was March of last year. I was
>>> wondering if anyone has
>>> looked into this and what their progress was?
>>>
>>> thanks,
>>> Mandie
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
>
>
> --Xavier Hanin - 4SH France
> BordeauxJUG co leader - http://www.bordeauxjug.org/
> Blogger - http://xhab.blogspot.com/
> Apache Ivy Creator - http://ant.apache.org/ivy/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: [Ivy] webdav support
Posted by Hans Dockter <ma...@dockter.biz>.
One problem with the webdav support of vfs was that that they were
using an old version of commons-httpclient, which was incompatible to
the version which is Ivy using for other purposes. It would be
interesting to know if this is still an issue with the new webdav
implementation of vfs.
- Hans
On Feb 11, 2009, at 8:56 AM, Xavier Hanin wrote:
> Webdav support is often requested in Ivy, so I think it would be a
> good idea to test this indeed.
>
> Xavier
>
> On Tue, Feb 10, 2009 at 10:53 PM, Matt Benson <gu...@yahoo.com>
> wrote:
>>
>> Actually, I've been meaning to poke the dev list on this one.
>> Ralph Goers has recently added to Commons VFS trunk a new webdav
>> implementation, based on Jackrabbit DAV instead of Slide. It
>> should be a priority (albeit perhaps a minor one) to test a trunk
>> build of [vfs] to see if everything works as expected.
>>
>> Regards,
>> Matt
>>
>>
>> --- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
>>
>>> From: Mandie Smith <ma...@houseofgnomes.net>
>>> Subject: webdav support
>>> To: ivy-user@ant.apache.org
>>> Date: Tuesday, February 10, 2009, 3:43 PM
>>> I've been looking through the archives, and the last
>>> mention about webdav
>>> support I've seen was March of last year. I was
>>> wondering if anyone has
>>> looked into this and what their progress was?
>>>
>>> thanks,
>>> Mandie
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
>
>
> --
> Xavier Hanin - 4SH France
> BordeauxJUG co leader - http://www.bordeauxjug.org/
> Blogger - http://xhab.blogspot.com/
> Apache Ivy Creator - http://ant.apache.org/ivy/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: [Ivy] webdav support
Posted by Xavier Hanin <xa...@gmail.com>.
Webdav support is often requested in Ivy, so I think it would be a
good idea to test this indeed.
Xavier
On Tue, Feb 10, 2009 at 10:53 PM, Matt Benson <gu...@yahoo.com> wrote:
>
> Actually, I've been meaning to poke the dev list on this one. Ralph Goers has recently added to Commons VFS trunk a new webdav implementation, based on Jackrabbit DAV instead of Slide. It should be a priority (albeit perhaps a minor one) to test a trunk build of [vfs] to see if everything works as expected.
>
> Regards,
> Matt
>
>
> --- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
>
>> From: Mandie Smith <ma...@houseofgnomes.net>
>> Subject: webdav support
>> To: ivy-user@ant.apache.org
>> Date: Tuesday, February 10, 2009, 3:43 PM
>> I've been looking through the archives, and the last
>> mention about webdav
>> support I've seen was March of last year. I was
>> wondering if anyone has
>> looked into this and what their progress was?
>>
>> thanks,
>> Mandie
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
--
Xavier Hanin - 4SH France
BordeauxJUG co leader - http://www.bordeauxjug.org/
Blogger - http://xhab.blogspot.com/
Apache Ivy Creator - http://ant.apache.org/ivy/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: [Ivy] webdav support
Posted by Matt Benson <gu...@yahoo.com>.
Actually, I've been meaning to poke the dev list on this one. Ralph Goers has recently added to Commons VFS trunk a new webdav implementation, based on Jackrabbit DAV instead of Slide. It should be a priority (albeit perhaps a minor one) to test a trunk build of [vfs] to see if everything works as expected.
Regards,
Matt
--- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
> From: Mandie Smith <ma...@houseofgnomes.net>
> Subject: webdav support
> To: ivy-user@ant.apache.org
> Date: Tuesday, February 10, 2009, 3:43 PM
> I've been looking through the archives, and the last
> mention about webdav
> support I've seen was March of last year. I was
> wondering if anyone has
> looked into this and what their progress was?
>
> thanks,
> Mandie
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: [Ivy] webdav support
Posted by Matt Benson <gu...@yahoo.com>.
Actually, I've been meaning to poke the dev list on this one. Ralph Goers has recently added to Commons VFS trunk a new webdav implementation, based on Jackrabbit DAV instead of Slide. It should be a priority (albeit perhaps a minor one) to test a trunk build of [vfs] to see if everything works as expected.
Regards,
Matt
--- On Tue, 2/10/09, Mandie Smith <ma...@houseofgnomes.net> wrote:
> From: Mandie Smith <ma...@houseofgnomes.net>
> Subject: webdav support
> To: ivy-user@ant.apache.org
> Date: Tuesday, February 10, 2009, 3:43 PM
> I've been looking through the archives, and the last
> mention about webdav
> support I've seen was March of last year. I was
> wondering if anyone has
> looked into this and what their progress was?
>
> thanks,
> Mandie