>you mean copy one name attribute
No, I mean copy the entire section as written down before: from . I keep the old section, then I append the new one which
is almost identical but not quite. If you look again at the code, you will
see that the second xml file (the one I would like to get) is diff
ca_iancu schrieb:
>> Can you provide a little more details, xmlfile how it is and how it
> More details, certainly! I need to find/read/duplicate a section of an xml
> file, then append it and make a simple change to the added section. I need
> to go from:
>
>
>
>
>
>
Thanks, I'll give that a try. I wasn't aware of the classifier token.
-Original Message-
From: Maarten Coene [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2008 4:26 PM
To: [EMAIL PROTECTED]
Subject: Re: Install task collapses jar names and causes naming
collision
I guess the reas
Which version of IvyDE do you use?
Maarten
- Original Message
From: "St. Denis, David" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, October 9, 2008 5:55:43 PM
Subject: problem using properties in ivysettings with IvyDE
When I use an ivy settings fil
I guess the reason is that you don't use the [classifier] token in your
artifact patterns of your resolvers.
This classifier token indicates if the artifact is a javadoc or a sources
artifact. If you don't use it, Ivy will download the sources, javadoc and
normal jar to the same file.
You could
>Can you provide a little more details, xmlfile how it is and how it
>should look after editing/appending/replacing ?
More details, certainly! I need to find/read/duplicate a section of an xml
file, then append it and make a simple change to the added section. I need
to go from:
Despite the fact that it comes from my company, it is in fact completely
free. Such is the magic of open source etc.
I have long looked at making an 'enterprise-level' version with huge
support contacts. With little success :-)
ca_iancu wrote:
This is a commercial library. I want to use exis
Recently I used ivy:install to install ivy-2.0.0-rc1 from Maven central
into my private repository, and apparently there was some sort of naming
collision. Only one jar was downloaded, named ivy.jar but it was the
source jar. What is the reason for this?
The maven central repo looks like this:
Maybe you want to take a look at filterchains,
documented under "Concepts and Types."
HTH,
Matt
--- ca_iancu <[EMAIL PROTECTED]> wrote:
>
> This is a commercial library. I want to use existing
> functionality from Ant
> to accomplish this task. I am certain it is
> possible, I just do not know
ca_iancu schrieb:
> This is a commercial library. I want to use existing functionality from Ant
> to accomplish this task. I am certain it is possible, I just do not know Ant
no, it's free, you even get the sources :-)
Of course there are many ways to Rome, but when dealing
with xml i recommend th
This is a commercial library. I want to use existing functionality from Ant
to accomplish this task. I am certain it is possible, I just do not know Ant
well enough yet. There has to be some sort of loop that can be created to
read from a file line by line and stop when a certain string is encount
When I use an ivy settings file with Ant from the command line I can use
relative paths, for example:
But when I use the same ivy settings file from IvyDE I need to use an absolute
path to the property file.
Otherwise I get the error below:
BUILD FAILED
/uhome/dsd/ivy/fms/ivy_common.x
-Original Message-
From: ca_iancu [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2008 3:22 PM
To: user@ant.apache.org
Subject: how to copy and edit a section of a text file
/*
Hello, I'm trying to edit an XML file by searching with regular expressions.
Once found, the text will be
Hello, I'm trying to edit an XML file by searching with regular expressions.
Once found, the text will be copied, changed and appended at the end (or
beginning) of the aforementioned found text.The lines I am looking for have
the following format:
..
"some_device" is a varia
Hi folks,
Sorry for the noise. I'll make it short.
Numbers permitting I am lined up to give a Groovy Tutorial at ApacheCon.
I am hoping to include information relevant to Ant users, e.g.:
* calling Groovy from Ant
* Groovy's AntBuilder (Groovy DSL for Ant)
* Ivy support for Groovy's Grapes (Ge
Hi,
I'm trying to write a custom copy task using scriptdef & ruby
but I don't find the documentation I need. The script should
(as an example) do the same as the copy task. How do I access
the original file and the mapped file ? Like in this skeleton:
???
A
16 matches
Mail list logo