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
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
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
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
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
:
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
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
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