Re: How to programaticly gather all the artifacts from an ivy file.

2009-10-08 Thread Mitch Gitman
The standard way to gather the artifacts for a given Ivy conf is to invoke the following Ant tasks in sequence: 1. ivy:resolve 2. ivy:cachefileset If you want to accomplish the same programmatically, I would suggest looking into how you can leverage these existing tasks or the top-level APIs they

Re: Xalan hinders saxon: converting property values

2009-10-08 Thread Stefan Bodewig
On 2009-10-08, Martin Gainty wrote: > i *thought* > SAX is for event based XML parsing > XALAN parses the entire DOM document Uhm, not quite. First of all Jürgen is talking about Saxon, not SAX. Saxon is an alternative XSLT processor, see SAX and DOM are two di

AW: AW: Xalan hinders saxon: converting property values

2009-10-08 Thread Knuplesch, Juergen
The challenge was, that I formerly used the ANT XSLT task. There I put saxon on the classpath. As long as xalan is not on the classpath it works. As soon as Xalan is on the classpath Ant takes probably xalan and not saxon. Probably xalan is more in front in the classpath?? But I do not Know enoug

RE: AW: Xalan hinders saxon: converting property values

2009-10-08 Thread Martin Gainty
i *thought* SAX is for event based XML parsing XALAN parses the entire DOM document in theory they are complimentary technologies but there exist situations where a SAXSource is transformed to a DOMResult http://www.cafeconleche.org/books/xmljava/chapters/ch09s11.html http://xml.apache.org/xalan

How to programaticly gather all the artifacts from an ivy file.

2009-10-08 Thread Alex Foreman
Hey Guys, I have a runscript generator which is driven by ivy. Currently however I am only including the main jar my build creates. If someone has a artifact list like this: I wish to be able to use Ivy to say for my ivy.xml tell me all artifacts that are in 'x' config. This way I can se

AW: Xalan hinders saxon: converting property values

2009-10-08 Thread Knuplesch, Juergen
Thanks, I had a look at that, but did not figure out, that it works with properties. I wrote an AntTask that does the job, which was not necessary I think now the stuff is working... Greetings Juergen -- Jürgen Knupleschwww.icongmbh.de icon Systemhaus GmbH

Re: Xalan hinders saxon: converting property values

2009-10-08 Thread Stefan Bodewig
On 2009-10-08, Knuplesch, Juergen wrote: > Is there a way to convert in a property all "\" to "/" ? should work. Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...

AW: Xalan hinders saxon: converting property values

2009-10-08 Thread Knuplesch, Juergen
Hello, I did put saxon on the classpath as some docu told: > > > Afterwards it worked without xalan on the classpath. When I put xalan into Ants libpath it fails. Probably Ant is using now xalan. I wanted to try factory, but there is a jar missing. I did not find

Re: ANT.jar calling Targets not properly

2009-10-08 Thread David Nemer
I just tested it again, and the arguments to ${javalanche.arg.line} is passed all right, so I don't know why it wont run the test-javalanche properly. -- David Nemer Sent from Frankfurt Am Main, HE, Germany On Thu, Oct 8, 2009 at 11:13 AM, David Nemer wrote: > Hi Guys, > > I'm invoking ANT progr

ANT.jar calling Targets not properly

2009-10-08 Thread David Nemer
Hi Guys, I'm invoking ANT programmatically in Java, and I'm having a hard time with running some targets. The code is that classical one: p.fireBuildStarted(); p.init(); ProjectHelper helper = ProjectHelper.getProjectHelper(); ProjectHelper.configureProject( p, buildFile); p.addReference("ant.pro

Re: Xalan hinders saxon

2009-10-08 Thread Stefan Bodewig
On 2009-10-07, Knuplesch, Juergen wrote: > After taking xalan 2.7.1 into Ants lib path, my XSLT using saxon dont > work anymore: Are you sure Ant is using Saxon at all after your change? I don't see any explicit configuration for saxon here > in="${dsf.comparedsffiles.in}" >