Re: Ant1.5.4: using Andariel Xpath: Provider com.icl.saxon.om.DocumentBuilderFactoryImpl not found

2005-06-11 Thread Antoine Levy-Lambert
Hello David, you got hit by the delegating_classloader problem : http://ant.apache.org/faq.html#delegating-classloader Cheers, Antoine Karr, David wrote: I installed saxon6.5.2, and my taskdef has a classpath referencing both the andariel and saxon jars. When I run my test, I just get: javax.x

Re: Removing Comments During Build

2005-06-11 Thread Frank W. Zammetti
That's a good point, you won't be able to use JSP comments in static files obviously... I've gotten spoiled in my work in that everything is on the app server in an EAR lately, so I haven't had such concerns in the past year or so. I don't have any other suggestions unfortunately for those cas

RE: "clone" ejb-jar with input from XML file

2005-06-11 Thread Karr, David
Excellent. It threw me for a while when you accidently used the "value" attribute instead of the "path" attribute, but this looks like I could get some mileage out of it. > -Original Message- > From: Brian Agnew [mailto:[EMAIL PROTECTED] > > You can do this with and the instruction.

Ant1.5.4: using Andariel Xpath: Provider com.icl.saxon.om.DocumentBuilderFactoryImpl not found

2005-06-11 Thread Karr, David
Related to a previous question of mine, I'm trying to figure out whether it's practical for me to use Xpath on an XML file and iterate over the result. It appears that the "andariel" contrib package may be the simplest way to get this (along with "foreach" in ant-contrib). I'm having trouble gett

Re: "clone" ejb-jar with input from XML file

2005-06-11 Thread Brian Agnew
You can do this with and the instruction. Using you can call a subtarget setting properties etc. as required. e.g. some pseudocode if your ejb requirements, names etc. are specced in an xml file called ejbs.xml Of course the above depends on the precise specification of your inp

Re: Removing Comments During Build

2005-06-11 Thread Tom Frantz
Thanks for your suggestion about using JSP comments for everything to hide them from the browser. That will definitely help me with my app server stuff. What about the files being served by the web server? We have some static html pages and JavaScript libraries there with comments we would a

"clone" ejb-jar with input from XML file

2005-06-11 Thread Karr, David
Using Ant 1.5.4 and JDK 1.4.2 (No flexibility here). I have a complex series of build operations I want to perform, concerning an ejb-jar and an input XML file. I'm looking for some advice on what tools and pieces I can use to get this done. My input will be an ejb-jar file and an XML file descr

Re: Removing Comments During Build

2005-06-11 Thread Brian Agnew
If your pages are valid XML (e.g. XHTML) then you can use xmltask to bin comments simply using: http://www.oopsconsultancy.com/software/xmltask/ Brian Tom Frantz wrote: I want to be able to have comments in my code for JSP, HTML, JavaScript, ect., but I don't want those comments to show