jdeisenberg wrote:
>
>
> Steve Loughran wrote:
>> Scot P. Floess wrote:
>>> so unless you are setting any kind of factory for the xml parser, it
>>> should use the stock XML parser that comes with Java.
>>>
>> ant -diagnostics finds the XML parser
>>
>>
>
> That's the problem. diagnostics en
Steve Loughran wrote:
>
>
>
> 0. What is printed up to that point?
>
> 1. what does java -version say
>
> 2. what's in ANT_HOME/lib
>
That was the problem. I installed the binary of the latest ant, and exported
ANT_HOME to point to that directory. It seems to be working now.
--
View th
jdeisenberg wrote:
Steve Loughran wrote:
Scot P. Floess wrote:
so unless you are setting any kind of factory for the xml parser, it
should use the stock XML parser that comes with Java.
ant -diagnostics finds the XML parser
That's the problem. diagnostics ends with this
---
I see your point...
when I run w/ diagnostics I see the following xml section:
---
XML Parser information
---
XML Parser : org.apache.xerces.jaxp.SAXParserImpl
XML Parser Location:
/home/sfloess/Tools/apache-ant-1
Steve Loughran wrote:
>
> Scot P. Floess wrote:
>>
>> so unless you are setting any kind of factory for the xml parser, it
>> should use the stock XML parser that comes with Java.
>>
>
> ant -diagnostics finds the XML parser
>
>
That's the problem. diagnostics ends with this
Scot P. Floess wrote:
so unless you are setting any kind of factory for the xml parser, it
should use the stock XML parser that comes with Java.
ant -diagnostics finds the XML parser
-
To unsubscribe, e-mail: user-unsubscr
so unless you are setting any kind of factory for the xml parser, it
should use the stock XML parser that comes with Java.
Is there anything in your build.xml that is processing xml or you are
setting the xml factory (off the top of my head I can't remember the
factory name/property one sets
Scot P. Floess-2 wrote:
>
>
> It almost looks like what ever version of the XML parser you are using was
> compiled with a newer VM?
>
> [snip]
>
>
I am not sure *where* to find the XML parser so that I might update it. What
is ant's default classpath, or where should I look?
--
View th
It almost looks like what ever version of the XML parser you are using was
compiled with a newer VM?
On Tue, 11 Aug 2009, jdeisenberg wrote:
Not that I doubt you ;)
But from the command line, what do you get doing:
java -version
Just wanting to make sure you somehow don't have a JDK 1
Not that I doubt you ;)
But from the command line, what do you get doing:
java -version
Just wanting to make sure you somehow don't have a JDK 1.4 or less...
[snip old info]
[da...@localhost android_app]$ java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Editio
Not that I doubt you ;)
But from the command line, what do you get doing:
java -version
Just wanting to make sure you somehow don't have a JDK 1.4 or less...
On Tue, 11 Aug 2009, jdeisenberg wrote:
Using Java 1.5 (and also have tried Java 1.6) on Mandriva Spring 2008.
When trying to bui
You can do something like this using XMLTask. e.g.
Found a node with text ${path}
The above will call the target 'callback' with the text content of each
node that is matched by the XPath expression //*.
See http://www.oopsconsultancy.com/software/xmltask/ and in pa
have you looked at xslt task?
http://ant.apache.org/manual/CoreTasks/style.html
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This
On 9/1/06, EJ Ciramella <[EMAIL PROTECTED]> wrote:
Triple slash works.
Cool. Yes, I believe that's the official syntax to use, and the
single-slash was a bug in a previous JDK. I was using single-slash,
and it broke when I changed JDK (or maybe it's when I switched from
Xalan to Saxon, I don't
Triple slash works.
-Original Message-
From: Dominique Devienne [mailto:[EMAIL PROTECTED]
Sent: Friday, September 01, 2006 12:32 PM
To: Ant Users List
Subject: Re: xml validation woes
> xsi:noNamespaceSchemaLocation="file://e:/work/docs/...
Try with file:/e:/work/docs and f
EJ Ciramella wrote:
I'm having a bit of trouble validating a very simple xml file (for
testing purposes).
Can anyone shed some light on this for me please?
Here is my build script:
file="test.xml" classname="org.apache.xerces.parsers.SAXParser">
http://xml.org/sax/features/valida
xsi:noNamespaceSchemaLocation="file://e:/work/docs/...
Try with file:/e:/work/docs and file:///e:/work/docs.
Depends on the JDK which one works I think ;-) --DD
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
ty,
im looking into it.
looks like what i need.
-Original Message-
From: Brian Agnew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 29, 2005 11:44 AM
To: Ant Users List
Subject: Re: XML question
XmlTask can do this using the subtask.
http://www.oopsconsultancy.com/software/xmltask
Ty,
I simply want to add XML during build process.
i need to add node based upon info generated
-Original Message-
From: Kees van Dieren [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 29, 2005 11:48 AM
To: 'Ant Users List'
Subject: RE: XML question
You can try it with the
XmlTask can do this using the subtask.
http://www.oopsconsultancy.com/software/xmltask/
Nir Geier wrote:
Hi all,
Im trying to manipulate XML by adding new node at some point.
ex:
Does any one has an idea how to do it witho
You can try it with the style task (xslt transformer). You don't use use dom
or an xml parser yourself, but need to create an external xslt sheet, so
it's not pure ant.
Kind regards,
Kees van Dieren
Senior Software Engineer
MP Objects Supply Chain Software
Stationsplein 45
3013 AK Rotterdam
The
Stefan Bodewig wrote:
On Fri, 25 Feb 2005, Rob Hills <[EMAIL PROTECTED]> wrote:
When I try this, I get errors which I believe are attributable
either to a failure to supply a client certificate, or failure to
login using a valid username and password. I'm also having
difficulty getting any debugg
On Fri, 25 Feb 2005, Rob Hills <[EMAIL PROTECTED]> wrote:
> When I try this, I get errors which I believe are attributable
> either to a failure to supply a client certificate, or failure to
> login using a valid username and password. I'm also having
> difficulty getting any debugging happening
You should be able to do the XML parsing using XMLTask
(http://www.oopsconsultancy.com/software/xmltask) and the
instruction that it provides. I can provide more specific pointers
offline if you require.
Brian
Henning Waack wrote:
Hello all.
I am new to Ant, I have no experience with it. I nee
Hello all.
Thanks again for your input, I will evaluate if it is worth
to learn Ant for the coming project. Normally I would say
yes, but I have a tight schedule, so I don't know if I can
afford to learn something new.
One minute... ALL (ok, almost) of us, using Ant know Java! Ant was
designed
* Nat Gross <[EMAIL PROTECTED]> [2005-02-04 11:07]:
> Henning Waack wrote:
>
> >Hello James and Ninju.
> >
> >James Fuller wrote:
> >
> >>Ninju Bohra wrote:
> >>
> >>>Well,
> >>>
> >>>The safe answer is yes and no...
> >>
> >
> >>
> >>btw you could just load up an xml file using which
> >>does g
Matt Benson wrote:
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
[SNIP]
One minute... ALL (ok, almost) of us, using Ant know
Java! Ant was
designed mainly for programmers. There is tons of
stuff Ant will
automate, that will take you much longer to write in
Java. It's worth
spending some time learn
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
[SNIP]
> One minute... ALL (ok, almost) of us, using Ant know
> Java! Ant was
> designed mainly for programmers. There is tons of
> stuff Ant will
> automate, that will take you much longer to write in
> Java. It's worth
> spending some time learning Ant.
Henning Waack wrote:
Hello James and Ninju.
James Fuller wrote:
Ninju Bohra wrote:
Well,
The safe answer is yes and no...
btw you could just load up an xml file using which
does give you access to value encapsulated by elements and
attributes...additionally there are a few existing 3rd party X
Though remember that ANT is written is JAVA and it rather easy to take whatever
JAVA code you write (if any) and make it a task that can be called from an ANT
build file...
Good luck..
Henning Waack <[EMAIL PROTECTED]> wrote:
Hello James and Ninju.
James Fuller wrote:
> Ninju Bohra wrote:
>
Hello James and Ninju.
James Fuller wrote:
Ninju Bohra wrote:
Well,
The safe answer is yes and no...
btw you could just load up an xml file using which does
give you access to value encapsulated by elements and
attributes...additionally there are a few existing 3rd party XML tasks
for assistin
Ninju Bohra wrote:
Well,
The safe answer is yes and no...
Out of the box, the ANT distribution (along with the ant-contrib project) comes with a number of
concepts (tasks and structures) that would be helpful (, ,
, etc...) to accomplish MOST of what you want.
The one area that is not currently p
Well,
The safe answer is yes and no...
Out of the box, the ANT distribution (along with the ant-contrib project) comes
with a number of concepts (tasks and structures) that would be helpful (,
, , etc...) to accomplish MOST of what you want.
The one area that is not currently pre-built is t
On Dec 22, 2004, at 4:04 AM, Robert Soesemann wrote:
On requirement is to write as few code as possible. Therefore I am
looking for an existing way to:
1 iterate over XML files
2 identify node
3 identify their @type attribute
4 pass the text value of each child node to its appropriate
Java Functi
Brent Bain wrote:
I've tried the task that Peter Reilly attached to one of the emails about a
month ago for an XPath iterator but I can't seem to get it to work with the
current ant-contrib tasks.
I tested it with the latest ant-contrib - 1.0b1, you may have an older
version in your path.
Also, it
Without looking at the XML in detail you could certainly use xmltask,
and call ant targets for each xml node representing (say) a machine.
To call a stop script for each machine:
or similar (haven't tried / tested the above, btw.)
I can advise further offline if need be.
Jacob Kjome wrote:
Or use something like XMLTask...
http://www.oopsconsultancy.com/software/xmltask/index.html
Jake
Quoting [EMAIL PROTECTED]:
> This is what I have been doing to arrange my data in XML files. Its a bit
> crooked way of organizing data but
> it is read very easily and readily available in properti
This is what I have been doing to arrange my data in XML files. Its a bit
crooked way of organizing data but
it is read very easily and readily available in properties.
e.g. in your case I would change the format of the XML file to something
like this.
Machine1
Machine2
- Original Message -
From: "Michael Große" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 5:52 PM
Subject: XML Schema/DTD/RelaxNG for ant buildfile
> Hello,
>
>
> i'm searching for a XML Schema, a DTD or a RelaxNG Schema for Ant
> buildfiles. I can imagine
- Original Message -
From: "Jack J. Woehr" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 2:58 AM
Subject: Re: XML Schema/DTD/RelaxNG for ant buildfile
> Michael Große wrote:
>
> > i'm sear
- Original Message -
From: "Antoine Levy-Lambert" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 29, 2003 9:21 AM
Subject: AW: XML Schema/DTD/RelaxNG for ant buildfile
> Hi Michael,
> there is an ant task called which generates a DTD based on
> the
41 matches
Mail list logo