Re: Cached results?

2008-10-16 Thread Dominique Devienne
On Thu, Oct 16, 2008 at 4:57 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: >> While you're at it, why not find out which result document(s) were >> generated, especially is XSLT 2.0 where it's no longer an extension >> and part of the language? > > That is really not a problem either, at least for s

Re: Cached results?

2008-10-16 Thread Robert Koberg
On Oct 16, 2008, at 5:47 PM, Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:48 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Actually, there is more. You will want to check all document functions to see what other is being used and if it has changed. I actually have something like tha

Re: Cached results?

2008-10-16 Thread Dominique Devienne
On Thu, Oct 16, 2008 at 1:48 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: > > Actually, there is more. You will want to check all document functions to > see what other is being used and if it has changed. I actually have > something like that, but it works off a hierarchical config file (somethin

Re: Cached results?

2008-10-16 Thread Robert Koberg
On Oct 16, 2008, at 2:26 PM, Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:19 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Ant's XSL only checks the primary XSL file for changes (and the source XML - not xi:includes or file entities). It does not parse that XSL to find xsl:import/inclu

Re: Cached results?

2008-10-16 Thread Marijan (Mario) Madunic
Thanks, Dominique and Robert. I've set force="true" but am going to check out Dominique's suggestions as a learning exercise. Marijan (Mario) Madunic Dominique Devienne wrote: On Thu, Oct 16, 2008 at 1:19 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: Ant's XSL only checks the primary XSL fi

Re: how to copy and edit a section of a text file

2008-10-16 Thread Gilbert Rebhan
Rebhan, Gilbert schrieb: > > -Original Message- > From: ca_iancu [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2008 2:11 AM > To: user@ant.apache.org > Subject: Re: how to copy and edit a section of a text file > > /* > No, I mean copy the entire section as written down before: fr

Re: Cached results?

2008-10-16 Thread Dominique Devienne
On Thu, Oct 16, 2008 at 1:19 PM, Robert Koberg <[EMAIL PROTECTED]> wrote: > Ant's XSL only checks the primary XSL file for changes (and the source XML - > not xi:includes or file entities). It does not parse that XSL to find > xsl:import/includes to check if they have changed. > > You could put the

Re: Cached results?

2008-10-16 Thread Robert Koberg
Ant's XSL only checks the primary XSL file for changes (and the source XML - not xi:includes or file entities). It does not parse that XSL to find xsl:import/includes to check if they have changed. You could put the import/includes in the primary XSL or use force=true on the xslt task. be

Re: Cached results?

2008-10-16 Thread Marijan (Mario) Madunic
Never mind found the solution. force="true" on the xslt task Marijan (Mario) Madunic Marijan (Mario) Madunic wrote: (Using ANT 1.7.1 on a Windows XP SP3 machine) Sorry about the not to obvious subject line but I'll do my best in explaining the problem I've been having. I'm using ant to pip

Cached results?

2008-10-16 Thread Marijan (Mario) Madunic
(Using ANT 1.7.1 on a Windows XP SP3 machine) Sorry about the not to obvious subject line but I'll do my best in explaining the problem I've been having. I'm using ant to pipeline a series of transforms on content extracted from a db. There is one main XSLT that does the bulk of the transfo

Re: svn tagging using Ant

2008-10-16 Thread David Weintraub
You need to get svn-ant, install it on your build system, and then include the jar in your build.xml file. Here's what I have in my build.xml. I pass build.num through the command line: That defines the ant tasks, the labeling looks like thi

Re: copy directory

2008-10-16 Thread Mohit Anchlia
Thanks. So if I say my/dir/** then "dir" is recursively copied to the destination and when I say my/dir/* then only files under dir are copied to the destination but not the "dir" itself. I'll try it out. On Wed, Oct 15, 2008 at 10:39 PM, <[EMAIL PROTECTED]> wrote: > ** is a deep copy. All nest

How to use zipped Junittestclasses

2008-10-16 Thread Knuplesch, Juergen
Hello, I want to run Junittests that are stored as classfiles in a jar file. Is it possible with Ant 1.6.5 or Ant 1.7 to use the junit-task without unjar the testfiles? I want do do sth like this:

Re: Write to a new file

2008-10-16 Thread Mohit Anchlia
thanks for that info. It helps On Wed, Oct 15, 2008 at 10:43 PM, <[EMAIL PROTECTED]> wrote: > Have you tried it out? > I think that should work. Not with writing the literals \n\r, but having the > line breaks. > I am not sure, but may setting would help. > > But if you want to create an ini fi

RE: how to copy and edit a section of a text file

2008-10-16 Thread Rebhan, Gilbert
-Original Message- From: ca_iancu [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 2:11 AM To: user@ant.apache.org Subject: Re: how to copy and edit a section of a text file /* No, I mean copy the entire section as written down before: from . I keep the old section, then I append

Re: How to create if condition task from maven

2008-10-16 Thread Gilles Scokart
Oh, I think that ant-contrib should be be placed under the pom dependencies, but you have to place it under the plugin declaration, so that the plugin has ant-contrib in his classpath. 2008/10/15 Miroslav Nachev <[EMAIL PROTECTED]>: > Actually in my pom file from where the ant script is called the