Thanks for that, Jan

I find shell scripts distinctly un-intutive, so no, I haven't tried it!

Do I have to use both Set and Export for ANT_HOME, do you think?

David



I understand that ~/.antrc and ~/.ant/ant.conf are parsed when Ant is

called from the command line. I also understand that these files can include ANT_OPTS and ANT_ARGS parameters.

These file are executed by the wrapper scripts.
Therefore you can have a look into them to see what exactly you can do.


  # load system-wide ant configuration (ONLY if ANT_HOME has NOT been
set)
  if [ -z "$ANT_HOME" -o "$ANT_HOME" = "/usr/share/ant" ]; then
      if [ -f "/etc/ant.conf" ] ; then
          . /etc/ant.conf
      fi
  fi

  # load user ant configuration
  if [ -f "$HOME/.ant/ant.conf" ] ; then
    . $HOME/.ant/ant.conf
  fi
  if [ -f "$HOME/.antrc" ] ; then
    . "$HOME/.antrc"
  fi


So i think you could also set ANT_HOME (btw - have you tried that?)



Can these files also include a definition for ANT_HOME?

I think it should - just try that out.


Could someone please confirm the correct syntax for these items.
The things I want to do are:
1. Set ANT_HOME

see above

2. Set a memory requirement for ANT_OPTS

possible (and intented)

3. Use the -lib property to point to the DITA Toolkit lib, and set a property known as 'DITA_DIR'.

possible, set ANT_ARGS

Jan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to