AW: Using ant in java

2008-03-26 Thread Jan.Materne
You could implement a Redirector for catching the output into your GUI. Jan Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. März 2008 11:44 An: user@ant.apache.org Betreff: Using ant in java

Re: Having problem using property to in macrodef if invoke for more than one time

2008-03-26 Thread CheeYang Chau
I do run the macrodef in parallel using parallel task. Do you think using var task will work ? On Thu, Mar 27, 2008 at 2:15 PM, Olivier Gies <[EMAIL PROTECTED]> wrote: > I recommend using the task from ant-contrib. You can se it to > unset properties in macrodefs, like this: > > > > BR, > Ol

Re: Having problem using property to in macrodef if invoke for more than one time

2008-03-26 Thread Olivier Gies
I recommend using the task from ant-contrib. You can se it to unset properties in macrodefs, like this: BR, Olivier Original Message Subject: Having problem using property to in macrodef if invoke for more than one time From: CheeYang Chau <[EMAIL PROTECTED]> To: user@an

AW: How does Ant accept 2 input files such that xsl could differentiate them ?

2008-03-26 Thread Jan.Materne
Ant itself passes one xml per xslt run to the xsl script, so the xsl does only know the current one. Jan > -Ursprüngliche Nachricht- > Von: James Fuller [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 25. März 2008 11:35 > An: Ant Users List > Betreff: Re: How does Ant accept 2 input

AW: ant api for analyzing dependencies

2008-03-26 Thread Jan.Materne
org.apache.tools.ant.taskdefs.optional.depend.AntAnalyzer is only the adapter to JDepend. And that tool should analyze dependencies. Jan > -Ursprüngliche Nachricht- > Von: Slava Gonahchan [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 22. März 2008 07:45 > An: user@ant.apache.org > Betr

Having problem using property to in macrodef if invoke for more than one time

2008-03-26 Thread CheeYang Chau
Hi, I love the macrodef task. However, it has a weakness. We must be very careful if using property within the macrodef. I face problem with a macrodef that is more complicated than the following example. I have to use dirname and condition in my macrodef, but it cause problem if I invoke macro

Build Webapp that runs off file:///

2008-03-26 Thread Garrett Smith
Hey, I have an uncommon problem for the JSP Java guys here: Problem: The user wants to download a zip archive of the website that can run off file:/// protocol. The website requires navigation. Managing the navigation should normally be done with server-side code (JSP). Solution 1: hand code all

Re: OSGi and Ant

2008-03-26 Thread James Abley
On 21/03/2008, Luca Ferrari <[EMAIL PROTECTED]> wrote: > Hi, > does anybody knows if there's any kind of extension of Ant to simplify the > definition of an OSGi bundle? > Just curios > > Thanks, > Luca Not aware of any - I've used a previously IIRC, but that was at a former employer and

Re: Using ANT from Java application

2008-03-26 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Hi, all! I'm using ant tasks from my application: 1. Java task. It run's java application that generates java source file, according to xsd files. 2. Javac task. It compiles generated source files. 3. Jar task. Packes the result. The question is: How can I catch up

Using ANT from Java application

2008-03-26 Thread Denis.Sitnitsa
Hi, all! I'm using ant tasks from my application: 1. Java task. It run's java application that generates java source file, according to xsd files. 2. Javac task. It compiles generated source files. 3. Jar task. Packes the result. The question is: How can I catch up the output (including error s

Re: ant sql doesn't recognize the database server name with back slash?

2008-03-26 Thread Rishi Gogia
so Steve you mean that for picking up the addresses for a local Windows machine, we can just give the path with single backward slash? (like D:\temp\ant) and it will work? -- From: "Steve Loughran" <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 20

Re: ant sql doesn't recognize the database server name with back slash?

2008-03-26 Thread Steve Loughran
Rishi Gogia wrote: in case of a unix env, URL should be used with forward slashes ('/') instead of backslashes and in case any string needs to be used backslashes, they need to accompany another backslash. this is because backslash acts as a escape sequence character (remember \n) so to avo