Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 30256 invoked from network); 19 May 2008 06:39:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2008 06:39:55 -0000 Received: (qmail 15995 invoked by uid 500); 19 May 2008 06:39:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 15967 invoked by uid 500); 19 May 2008 06:39:50 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 15954 invoked by uid 99); 19 May 2008 06:39:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 May 2008 23:39:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 06:39:03 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id m4J6dHht013580 for ; Mon, 19 May 2008 08:39:17 +0200 Received: from z011034.bk.fin.local ([130.11.7.34]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 May 2008 08:39:17 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: AW: antrc & ant.conf files Date: Mon, 19 May 2008 08:39:16 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: antrc & ant.conf files Thread-Index: Aci5ef/5wKNLjvrkTeO5wzgvZ7DGWgAADg9A References: <17281261.post@talk.nabble.com> <3F609D53-D06E-4EE7-838B-ED9425D01C35@AandOConsultancy.ltd.uk> From: To: X-OriginalArrivalTime: 19 May 2008 06:39:17.0532 (UTC) FILETIME=[0FAF45C0:01C8B97B] X-Virus-Checked: Checked by ClamAV on apache.org > 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 =20 > 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" =3D "/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 =20 > property known as 'DITA_DIR'. possible, set ANT_ARGS Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org