Re: Set an env variable?

2012-05-10 Thread Dave Pawson
sort of max constraint? regards > > On 9 May 2012 01:50, Dave Pawson wrote: > >> I know I can read an env variable, but is it possible >> to set one, for the duration of the ant script(s) please? >> >> >> >> TIA Dave >>

Re: Set an env variable?

2012-05-09 Thread Dave Pawson
h. regards > > On 9 May 2012 01:50, Dave Pawson wrote: > >> I know I can read an env variable, but is it possible >> to set one, for the duration of the ant script(s) please? >> >> >> >> TIA Dave >>

Set an env variable?

2012-05-08 Thread Dave Pawson
I know I can read an env variable, but is it possible to set one, for the duration of the ant script(s) please? TIA Dave -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
tefan. Dave > [1] http://ant.apache.org/manual/Tasks/tempfile.html > > > > > - > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h.

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
On 24 April 2012 16:00, Stefan Bodewig wrote: > On 2012-04-24, Dave Pawson wrote: > >> In bash it might be > >> #check/create fo directory for output, per font >> if [[ ! -d ${here}/fo ]] >>     then >>     mkdir ${here}/fo >> fi > > In ant tha

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
On 24 April 2012 16:00, Stefan Bodewig wrote: > On 2012-04-24, Dave Pawson wrote: > >> In bash it might be > >> #check/create fo directory for output, per font >> if [[ ! -d ${here}/fo ]] >>     then >>     mkdir ${here}/fo >> fi > > In ant tha

Re: conditional make-directory

2012-04-24 Thread Dave Pawson
ing, there is no need to check first. Thanks Harold. I thought it might be straightforward! > > (BTW thanks for the XSLT FAQ. I spend a lot of time out there) Welcome. that's why I do it. regards DaveP > > On Tue, Apr 24, 2012 at 10:44 AM, Dave Pawson wrote: > >> I

conditional make-directory

2012-04-24 Thread Dave Pawson
/fo ]] then mkdir ${here}/fo fi TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: Property precedence

2012-04-23 Thread Dave Pawson
On 23 April 2012 09:18, Stefan Bodewig wrote: > On 2012-04-23, Dave Pawson wrote: > >> I have a series of scripts each of which sets properties, then calls >> another using > >> If the caller sets property X to yes >> then the called script sets it to Y >>

Property precedence

2012-04-23 Thread Dave Pawson
I have a series of scripts each of which sets properties, then calls another using If the caller sets property X to yes then the called script sets it to Y what / where are the precedence rules please? TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk

Re: property file syntax

2009-05-13 Thread Dave Pawson
e. asking how it might be 'added' by someone with write access to that document. http://is.gd/zsPg only has an 'indirect' link to the Sun page right down at the bottom. "The rules for this format are laid down by Sun. This makes it hard for Team Ant to field bu

Re: property file syntax

2009-05-13 Thread Dave Pawson
2009/5/13 Mark Salter : > Dave Pawson wrote: > >> How to get it into the ant documentation Table of Contents? >> >> > >        http://ant.apache.org/manual/ ? I see no mention of property file description/syntax there? regards -- Dave Pawson XSLT

Re: property file syntax

2009-05-13 Thread Dave Pawson
nks David. How to get it into the ant documentation Table of Contents? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For addit

property file syntax

2009-05-13 Thread Dave Pawson
I'm having 'fun' with a properties file syntax. E.g. white space on the end of a line! Is the syntax described in the ant manual please (using 1.7), I can't find it. TIA -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http

Re: script problem

2008-05-28 Thread Dave Pawson
2008/5/28 Martin <[EMAIL PROTECTED]>: > Dave- > > Did you download the latest Bean Scripting Framework jar located at > http://jakarta.apache.org/bsf/ Yes, 2.4, extracted bsf.jar Tried it in the classpath child - no joy Put it in ant/lib and it now works regards -- Dave

Re: script problem

2008-05-28 Thread Dave Pawson
far enough? A case of the documentation *leading* the implementation! A rare beasty! regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: script problem

2008-05-28 Thread Dave Pawson
Thanks. I don't want to clog up the ant lib, I thought the classpathref attribute would provide access to the jars? Is the documentation wrong? regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk -

script problem

2008-05-28 Thread Dave Pawson
D /files/java/build.xml:23: java.lang.NoClassDefFoundError: org/apache/bsf/BSFException I can't see what is wrong, Any help appreciated. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe

Re: xmlcatalog working?

2008-04-29 Thread Dave Pawson
mmons resolver will be used' > > Does xmlcatalog work? Any ideas on how to make it work? Is catalogManager.Properties in your classpath? It's needed. HTH -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: Running ANT on Linux

2008-04-25 Thread Dave Pawson
ption. And yes, of course ant runs xslt (on single instances) :-) regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Running ANT on Linux

2008-04-24 Thread Dave Pawson
alan I don't know. Slow transforms could be due to you running with the default installed java rather than Sun java, I found that slow. Another option would be to write an XML file which lists the files to be transformed, then u

Re: ant tasks for converting from docbook ?

2008-04-23 Thread Dave Pawson
he fo output. Calling fop is easier than xep or ah. HTH -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tool for ant build.xml file documentation

2008-04-23 Thread Dave Pawson
t to write an task, with tests, we could > always add it. Not a facet of XML to my knowledge. Ant uses XML (quite well from what I've used!) -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tool for ant build.xml file documentation

2008-04-23 Thread Dave Pawson
Thanks. Not for other namespaced applications working on ant build files. Documentation seems like a good use case. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Any tool for ant build.xml file documentation

2008-04-23 Thread Dave Pawson
e set Error reported: build.xml:16: Problem: failed to create task or type http://www.dpawson.co.uk#ns:description Cause: The name is undefined. That would be a very helpful feature for larger build files. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: arg and jvmarg

2008-04-16 Thread Dave Pawson
outsanding bug relating to Saxon linked from a page with a solution http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/ so it's all looking a bit messy? I tried it with Xalan but that seems not to support t

Re: arg and jvmarg

2008-04-16 Thread Dave Pawson
ve it working as a java task which will suffice! (I'll stick with the notation till ant loses it, for readability.) regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
ents and Settings\user\My Documents\filename.out' generates 5 > arguments: > > -o > C:\Documents > and > Settings\user\My > Doucments\filename.out > > which is almost certainly *NOT* what was wanted. Not for saxon (http://saxonica.com) > > &#

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > From: Dave Pawson [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 11, 2008 1:02 AM > > To: Ant Users List > > Subject: Re: arg and jvmarg > > > > > Thanks Joe. I can see the logic, althou

Re: arg and jvmarg

2008-04-11 Thread Dave Pawson
> > > Thanks Joe. I can see the logic, although 'line=' seems to make more sense from a user view? "-o filename" I guess that's how it must be. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk ---

arg and jvmarg

2008-04-11 Thread Dave Pawson
http://ant.apache.org/manual/using.html#arg mentions using The single '-l' works OK, but the -o option causes a problem with the processor. How can I specify '-o filename' for please? works fine. TIA -- Dave Pawson XSLT XSL-FO FAQ. http

Re: FW: Saxon param to supress output

2004-12-06 Thread Dave Pawson
ich is not normally null. Perhaps /dev/null? Otherwise its required, and you'll have to deal with it. Unless someone else knows better. regards DaveP -- Dave Pawson XSLT + Docbook FAQ http://www.dpawson.co.uk - To unsubscr

RE: javadoc task

2004-11-11 Thread Dave Pawson
On Wed, 2004-11-10 at 19:28, Charles Daniels wrote: > > ... > Yep That did it. Many thanks folks. I now have impressive documentation! -- Regards DaveP. XSLT&Docbook FAQ http://www.dpawson.co.uk/xsl - To unsubscribe

RE: javadoc task

2004-11-10 Thread Dave Pawson
On Wed, 2004-11-10 at 19:36, Dominique Devienne wrote: > > It may be that by default like Javadoc doesn't pick up package > private members. Unless you meant interface xyz instead of class xyz. > And if not, then most likely your string, if it's a constant, should be > declared as static final,

javadoc task

2004-11-10 Thread Dave Pawson
I have a java file I use simply to hold string values used elsewhere. public class xyz{ /** * description */ String x = ".."; } javadoc is not picking up the docstrings for output. Is there an ant property I need to set for this please, or does javadoc not pick up docstrings without a metho

Re: AW: AW: How to use a FileSet defined outside of javadoc target?

2004-11-09 Thread Dave Pawson
On Tue, 2004-11-09 at 07:16, [EMAIL PROTECTED] wrote: > BTW, have you ever tried that? :-) > > > > >${test} > No, but I had noted that properties weren't resolved when used to output 'progress' messages... Thanks Jan, I'll try that one. -- Regards DaveP. XSLT&Docbook FAQ http:

RE: AW: How to use a FileSet defined outside of javadoc target?

2004-11-08 Thread Dave Pawson
On Mon, 2004-11-08 at 17:59, Dominique Devienne wrote: > > Yes, filesets can be specified on their own. Jan's right, IDs can also > be used when a datatype is nested inside a task or another datatype, but > you don't see that very often. --DD So I can use the fileset (almost) as I would a proper

Re: AW: How to use a FileSet defined outside of javadoc target?

2004-11-08 Thread Dave Pawson
On Mon, 2004-11-08 at 15:51, [EMAIL PROTECTED] wrote: > like any datatypes in Ant provides a id/refid mechanism. > If you define a fileset giving an id you can refer to that via refid. > > > > > > > > > > > > > > > Jan Must the fileset