Re: how to capture output from a target as xml

2008-05-11 Thread Prashant Reddy
> Is it possible to capture the output from a single target Check out the task. > into a file as > xml format ? will only what ever the target writes into System.out. However getting XML formatted output, really depends on what the target is. For example junitreport can write out XML/plain t

Re: how to capture output from a target as xml

2008-05-11 Thread Md. Jahidul Hasan
I have found that task can record the message into a file as text format, but how can I grab those as xml ? > Hi > > Is it possible to capture the output from a single target into a file as > xml format ? > > -- > With best regards > Md. Jahidul Hasan > > > --

how to capture output from a target as xml

2008-05-11 Thread Md. Jahidul Hasan
Hi Is it possible to capture the output from a single target into a file as xml format ? -- With best regards Md. Jahidul Hasan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Encoding isssues Running .sql from java class through ANT

2008-05-11 Thread Andrew Goktepe
Shivani, Are you saying that the inserts are successful when using but unsuccessful when using your Java class? If both of the above methods are unsuccessful, have you tried inserting without Java or Ant? Another factor could be database configuration. -Andrew On Fri, May 2, 2008 at 12:40 AM,

Re: Isssues Running .sql from SQL Task of ANT

2008-05-11 Thread Andrew Goktepe
If you are running Ant 1.7.0 try expandproperties="false" on . I'm not sure this works when running a separate sql file but it is worth a try. Otherwise I would try escaping the [EMAIL PROTECTED] with double $s and maybe double @s as well: $${@@colindex.0} I haven't tested either of these but t

Re: FileSet behavior

2008-05-11 Thread Andrew Goktepe
Prateek, The behavior you are seeing is probably more indicative of how handles the output of , rather than returning different things in different contexts. While I don't know for sure, my guess is that is always returning the directories but its caller might be doing other things to filter t

Re: how to call Ant targets/tasks from command line or Eclipse

2008-05-11 Thread Andrew Goktepe
Ilango, >From command line you just pass in the target name as an argument: ant generate-Metro-jaxws http://ant.apache.org/manual/running.html For Eclipse you can either launch the target by right-clicking the target on the right side of the Ant editor, or you can create a launch configuration t

how to call Ant targets/tasks from command line or Eclipse

2008-05-11 Thread ilango_g
Hi I have an build file with the following: How would I call this target to generate JAX-WS classes? thanks in advance ilango -- View this message in context: http://www.nabble.com/how-to-call-Ant-targets-tasks-from-command-line-or-Eclipse-tp17170580p17170