ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Foreman, Alex \(IT\)" <Alexander.Fore...@morganstanley.com>
Subject RE: Stripped lines in ivy.xml
Date Thu, 30 Oct 2008 10:09:56 GMT
That would pretty much be perfect.  Tho I cant see why all stripped lines being completely
removed isnt desirable all the time.

As a side note It also leaves comments.  If you comment private conf dependencys/confs etc
they get left in.  However I think its pretty much impossible to programmatically work out
if a comment should remain or not so they are all best left in.

Would the making of this stripping or the 'pretty-print' attribute make it into rc2?  Or is
it too late?  Its quite deirable for our enterprise ivyrep solution.

Many thanks,


Alex Foreman
Morgan Stanley | Technology
20 Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20 7677-5732
Alexander.Foreman@morganstanley.com

-----Original Message-----
From: Maarten Coene [mailto:maarten_coene@yahoo.com]
Sent: 29 October 2008 20:08
To: ivy-user@ant.apache.org
Subject: Re: Stripped lines in ivy.xml

You could do a reformat with XSLT on the delivered ivy file.
But maybe we can add a "pretty-print" attribute on the deliver task to do that automatically
for you?

Maarten



----- Original Message ----
From: "Foreman, Alex (IT)" <Alexander.Foreman@morganstanley.com>
To: ivy-user@ant.apache.org
Sent: Wednesday, October 29, 2008 7:05:51 PM
Subject: Stripped lines in ivy.xml

Take for instance this delivered ivy xml

        <configurations>
                <conf name="build-main" extends="runtime"/>



                <conf name="runtime"/>

        </configurations>

There were two other confs inbetween them and one below which have been stripped but left
white space.

Can these empty lines be completely removed so it turns into:
        <configurations>
                <conf name="build-main" extends="runtime"/>
                <conf name="runtime"/>
        </configurations>

Without any human intervention?

Thanks,

Alex Foreman
Morgan Stanley | Technology
20 Cabot Square | Canary Wharf | Floor 06 London, E14 4QW
Phone: +44 20 7677-5732
Alexander.Foreman@morganstanley.com
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.

Mime
View raw message