Re: Use of XML Catalog with Ant (xslt task) - request for example

2013-08-17 Thread David J. B. Hollis
Hi, Trying to resolve this with ANT might possibly be too late, although I know nothing about ANT's xmlcatalog. The point is that Saxon loads a Java classpath defined CatalogManager.properties file, so it's possible that it has read this before ANT gets started. So, you might be better off fi

Re: tools.jar not found

2015-04-28 Thread David J. B. Hollis
Hi Jan, The DITA Open Toolkit uses ANT to build docs. This is a question that comes up occasionally on the DITA Users forum. A number of document CMS products use the DITA Open Toolkit, so a large number of Technical Authors can potentially see this message. If it could be suppressed, I'm sure

antrc & ant.conf files

2008-05-18 Thread David J. B. Hollis
Hi, All I apologise if I'm asking an obvious question! I'm running Ant 1.6.5, which was installed as part of Apple's XCode 2 on Mac OS X.4. I'm using Ant in conjunction with DITA and DITA's Toolkit. I'm more of a Mac User, and still learning about the BSD under- pinnings! That should expla

Re: AW: antrc & ant.conf files

2008-05-20 Thread David J. B. Hollis
Hi, David, Jan Many thanks for taking the trouble to explain all this! I've ended up with this in an ant.conf file: #!/bin/sh DITA_HOME=~/DITA-OT1.4.2.1 DITA_HOME=`cd "$DITA_HOME" && pwd` #export ANT_HOME="$DITA_HOME"/tools/ant export ANT_HOME=/Developer/Java/Ant export ANT_OPTS="-Xmx512m" e

Re: AW: antrc & ant.conf files

2008-05-20 Thread David J. B. Hollis
ng a batch script which sets the path at run time, then that might set up ANT_HOME as part of the process of setting up the Ant environment before calling Ant. In which case, it would be superfluous! Many thanks, David On Tue, May 20, 2008 at 3:05 AM, David J. B. Hollis <[EMAIL PROTEC

Re: AW: antrc & ant.conf files

2008-05-21 Thread David J. B. Hollis
: if [ -n "$ANT_HOME" ] then ANT_HOME=/usr/local/ant fi You can pass unexported environment variables in ANT by using the following: ant -Dmy.variable=$MY_VARIABLE This sets the ant property ${my.variable} to the value of the environment variable $MY_VARIABLE On Tue, May 20, 2008

Re: Xincludes and Ant XSLT task

2008-10-01 Thread David J. B. Hollis
Hi, Guys Have you come across something called DITA? 'Darwin Information Typing Architecture'. Based on XML, and using Ant build scripts, it processes modular, structured XML files linked by DITA Maps to produce multiple format outputs. DITA XML Focus Area. http://dita.xml.org/ DITA Open

Re: property file syntax

2009-05-13 Thread David J. B. Hollis
Hi, David http://ant.apache.org/manual/CoreTasks/property.html The rules for this format are laid down by Sun. http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream) David I'm having 'fun' with a properties file syntax. E.g. white space on the end of a