RE: Location attribute in property not resolving correctly

2006-09-26 Thread Rebhan, Gilbert
Hi, strange = myfixedpath === ${myfixedpath} filepath=${myfixedpath} filepath=${myfixedpath} Targetfile === ${filepath} foobar1.pr

[ANN] Stylus Studio 2007 XML Enterprise Suite Released: XML Pipeline, XML Publishing and Data Conversion API's

2006-09-26 Thread Stylus Studio
[Announce] Dear ANT-USERS - Stylus Studio 2007 XML Enterprise Suite is now available for free trial download, featuring all-new tools for XML Pipelining, XML Publishing, powerful new Data Conversion APIs and so much more at new reduced prices. Read on for more information, or download it now at:

Re: Merging multiple generated_web.xmls

2006-09-26 Thread ant-m
Nice, thanks Brian this looks like the right tool for the job! Brian Agnew <[EMAIL PROTECTED]> wrote: > XMLTask may well help you. It's designed to do this sort of thing. You > can insert XML files into other XML files at any given point, which > sounds like what you want to do. > > http://www.oop

Re: Merging multiple generated_web.xmls

2006-09-26 Thread Brian Agnew
XMLTask may well help you. It's designed to do this sort of thing. You can insert XML files into other XML files at any given point, which sounds like what you want to do. http://www.oopsconsultancy.com/software/xmltask Brian [EMAIL PROTECTED] wrote: We are already using the "token method" t

Merging multiple generated_web.xmls

2006-09-26 Thread ant-m
We are already using the "token method" to insert one generated_web.xml into our web.xml, but now we need to merge in another. Of course the token method doesn't work so well with more than one generated_web.xml as all the servlets need to be above all the servlet-mappings. Has this wheel already

Re: Location attribute in property not resolving correctly

2006-09-26 Thread Dominique Devienne
filepath=${myfixedpath} The foobar.properties looks like = #Tue Sep 26 17:40:31 CEST 2006 filepath=Y\:/bla/corba.jar This is fishy because would never add the timestamp, like java.util.Property#store would. So something else created the file you're showing... --

Re: About schemavalidate Was (Re: xmlvalidate with remote schemas)

2006-09-26 Thread Steve Loughran
Prashant wrote: Steve Loughran wrote: You have to use different mapping the xmlns to the relevant doc. You probably always need a local copy because for a long time, the public webapp xsd didn't allow + in a mime type, like application/soap+xml. I am not sure i understand what you mean. Can

Re: About schemavalidate Was (Re: xmlvalidate with remote schemas)

2006-09-26 Thread Steve Loughran
Prashant wrote: Steve Loughran wrote: Ant 1.7's extension to sets things up right for all nested elements. If you cannot use the beta, look at the source, see how we set up the property http://apache.org/xml/properties/schema/external-schemaLocation Thats neat. I googled and came up wi

About schemavalidate Was (Re: xmlvalidate with remote schemas)

2006-09-26 Thread Prashant
Steve Loughran wrote: Ant 1.7's extension to sets things up right for all nested elements. If you cannot use the beta, look at the source, see how we set up the property http://apache.org/xml/properties/schema/external-schemaLocation Thats neat. I googled and came up with this[1] explan

RE: Location attribute in property not resolving correctly

2006-09-26 Thread William Lopez
Thanks for the explanation! -Original Message- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 2:09 AM To: Ant Users List Subject: RE: Location attribute in property not resolving correctly Hi, that's the reason i _always_ use the unix style ' / ' alt

RE: Location attribute in property not resolving correctly

2006-09-26 Thread Rebhan, Gilbert
Hi, /* I'd recommend to use before the , rather than a filter chain with . In fact, since you are not echo'ing out a properties file it seems, you could even do the direct and use after the as well, because is not affected with baskslash-based escape sequences. --DD */ yup, my example shoul

Re: About schemavalidate Was (Re: xmlvalidate with remote schemas)

2006-09-26 Thread Prashant
Steve Loughran wrote: It turns out that all J2EE 1.4 XSDs belong to same namespace [2]. yeah, that is just silly. Take it up with javaee-spec-feedback at sun.com. The more people who complain about this, the more likely someone will come to their senses. Umm, Ok. I see where this is goi

Re: Location attribute in property not resolving correctly

2006-09-26 Thread Dominique Devienne
that's the reason i _always_ use the unix style ' / ' although i'm running on windows. Yes, that what I recommend as well. if you use a path on a windows machine, f.e. : the path in the file you echoed to looks like : C:\the\path\to\something the windows path separator is used as you are

Re: Location attribute in property not resolving correctly

2006-09-26 Thread Dominique Devienne
... Create a text property, not a referenceable path. ... Use your selector first, then convert the final path into a string before . --DD - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: Location attribute in property not resolving correctly

2006-09-26 Thread Rebhan, Gilbert
Hi, sorry forgot, asking because = ... ... doesn't work = BUILD FAILED C:\WKS\eclipse_3_2\antwork\pathsep.xml:14: Reference Y:/bla/aendids.jar:Y:/bla/akorbds.jar:Y:/bla/aktecorba.jar:Y:/bla/aspect jrt.jar:Y:/bla/bootstrap.jar:Y:/bla/channel.http.jar:Y:/bla/channel.tcp. jar:Y:/bla/channelfw.j

Re: xmlvalidate with remote schemas

2006-09-26 Thread Steve Loughran
Adrian Herscu wrote: Prashant wrote: And it takes it a very long time to complete (almost ten minutes for 70-80 XML files). Could't you use to locate the XSD schemas locally instead of http download, which perhaps is taking time. Does it work for XML schemas? From the documentation, and

RE: Location attribute in property not resolving correctly

2006-09-26 Thread Rebhan, Gilbert
Hi, that's the reason i _always_ use the unix style ' / ' although i'm running on windows. so if writing = dir.src=C:/Temp/compare_cmp dir.dest=C:/Work/Dev/projects/Installer/code/Installer_c1.0.latest/cmp it works. also i write //servername/... instead of \\servername\... and there is m

RE: Location attribute in property not resolving correctly

2006-09-26 Thread Rebhan, Gilbert
Hi, still don't get it, sorry. I've tried with = myfixedpath === ${myfixedpath} filepath=${myfixedpath} Targetfile === ${filepath} Result = [pathcon

Re: xmlvalidate with remote schemas

2006-09-26 Thread Prashant
Adrian Herscu wrote: Prashant wrote: And it takes it a very long time to complete (almost ten minutes for 70-80 XML files). Could't you use to locate the XSD schemas locally instead of http download, which perhaps is taking time. Does it work for XML schemas? From the