Re: xmlvalidate with xmlcatalog

2010-05-10 Thread Susanne Wunsch
Stefan Bodewig writes: > On 2010-05-10, Susanne Wunsch wrote: > >> I try to use xmlcatalog within xmlvalidate, but ANT doesn't find a >> resolver. I looked into the manual, but didn't find any idea for a >> proper classpath in my environment. Any help would be appreciated. > > Ant's distribution

AW: Getting Property Key from Value

2010-05-10 Thread Jan.Materne
Not with built-in tasks. You could write your own task for that. But dont forget that you can retrieve multiple keys for one value: hostname=gold material=gold While the keys are unique values arent. So your task would return a list For implementing see the tutorial http://ant.apache.or

Re: xmlvalidate with xmlcatalog

2010-05-10 Thread Stefan Bodewig
On 2010-05-10, Susanne Wunsch wrote: > I try to use xmlcatalog within xmlvalidate, but ANT doesn't find a > resolver. I looked into the manual, but didn't find any idea for a > proper classpath in my environment. Any help would be appreciated. Ant's distribution doesn't contain the XML resolver

xmlvalidate with xmlcatalog

2010-05-10 Thread Susanne Wunsch
Hello, I try to use xmlcatalog within xmlvalidate, but ANT doesn't find a resolver. I looked into the manual, but didn't find any idea for a proper classpath in my environment. Any help would be appreciated. I use Apache Ant version 1.7.1 at FreeBSD 8.0 -- Debug messages

Getting Property Key from Value

2010-05-10 Thread Jan
Hi All, Is there any way using ant to get the Property Key from value ? For examble lets say i have file "name.properties" and in it i have entry like "hostname=gold", now i want to parse "name.properties" get the key of value "gold" means reverse read of property, is this possible using ant? An

RE: task to check for i18n tokens in resource bundle?

2010-05-10 Thread Martin Gainty
Andy- i can write a program that will accomplish these features in less than time than either 1)sed or 2)grep (or any combination thereof) (i'll leave it to the tools engineers for a more specific answer to this question) anyone? Martin Gainty __

Re: Importing Ant build files on the classpath with Maven

2010-05-10 Thread Frank Wilson
> > The mailing list manager strips attachments, please add it to the > bugzilla report. > Done. - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Importing Ant build files on the classpath with Maven

2010-05-10 Thread Stefan Bodewig
On 2010-05-10, Frank Wilson wrote: > Somewhat more siginificant is the change to ant. To support this mechanism > we need to be able inherit references in the file being called by the > "Ant" task. > I would like to ask if this tweak to the ant task code is a good idea and > whether there is any

task to check for i18n tokens in resource bundle?

2010-05-10 Thread Andy Stevens
Hi, Does anyone know of an easy way (using standard or custom Ant task(s), or

Importing Ant build files on the classpath with Maven

2010-05-10 Thread Frank Wilson
I've been looking at various ways of importing other ant buildfiles from the classpath to reduce coupling in my multimodule build. This would allow me to checkout only the code and build files I intend to change. I've been looking at using Maven to facilitate this. My solution uses the maven ant-r

Re: using task with XML Schema 1.1 and Saxon

2010-05-10 Thread Stefan Bodewig
On 2010-05-10, Heath, Graham wrote: > I include here Mike Kay's offline assessment of using saxon validate > inside ant. >> It looks as if this task relies on the validation engine implementing >> XMLReader - that is, it's assuming validation is something that >> parsers do. I would have expect

AW: using task with XML Schema 1.1 and Saxon

2010-05-10 Thread Huditsch, Roman (LNG-VIE)
Hi Graham, That's a very interesting approach. I will definitely try to do it that way. And it's way better than what I have to the moment (calling a batch file that does the saxon validation call). Thanks, Roman Mag. (FH) Roman Huditsch Teamleader XSLT-Development Tel.: +43 (1) 534 52 - 15

using task with XML Schema 1.1 and Saxon

2010-05-10 Thread Heath, Graham
Greetings readers, just to add my take on this.. I use ant extensively and with saxon too. My first attempts used the ant task, but that fell over when my stylesheets needed to use xslt2.0. So I switched to , except that then I could not switch on line-numbers and tracing. After a discussion o

Escaped unicode properties problem under Mac

2010-05-10 Thread Panayotis Katsaloulis
Hello all! I am struggling for some time to find a solution, on how to properly load unicode escaped properties with ant. I have checked exactly the same files under linux and work as expected, but I need this script to work under Mac. To demonstrate this problem, I have created the minimum bui