Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 31111 invoked from network); 10 Feb 2010 15:30:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2010 15:30:57 -0000 Received: (qmail 8555 invoked by uid 500); 10 Feb 2010 15:30:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 8481 invoked by uid 500); 10 Feb 2010 15:30:55 -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 8471 invoked by uid 99); 10 Feb 2010 15:30:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2010 15:30:55 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.186.62.213] (HELO 30.mail-out.ovh.net) (213.186.62.213) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Feb 2010 15:30:47 +0000 Received: (qmail 15779 invoked by uid 503); 10 Feb 2010 15:33:08 -0000 Received: from b7.ovh.net (HELO mail421.ha.ovh.net) (213.186.33.57) by 30.mail-out.ovh.net with SMTP; 10 Feb 2010 15:33:08 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 10 Feb 2010 15:30:23 -0000 Received: from mol92-1-82-67-218-223.fbx.proxad.net (HELO ?172.16.1.10?) (j-b.briaud%novlog.com@82.67.218.223) by ns0.ovh.net with SMTP; 10 Feb 2010 15:30:23 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Problem with javac target on Windows server From: Jean-Baptiste BRIAUD -- Novlog In-Reply-To: <854olpm8dq.fsf@abaksystemes.fr> Date: Wed, 10 Feb 2010 16:30:22 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <854olpm8dq.fsf@abaksystemes.fr> To: "Ant Users List" X-Mailer: Apple Mail (2.1077) X-Ovh-Tracer-Id: 15064259278889738313 X-Ovh-Remote: 82.67.218.223 (mol92-1-82-67-218-223.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|U 0.5/N Hi, Check that none of the variables like ${default.javac.source} point to = the C:\Documents and Settings directory Try ant -diagnostics for that, it will dump all the properties. Also not sure about differences between srcdir and source ... On Feb 10, 2010, at 16:13 , Pascal Quesseveur wrote: > Hello, >=20 > I am using ANT (version 1.7.0) to manage the development of a > Glassfish application. The project targets are very common. I use the > command-line-ant-task.xml provided by SUN. >=20 > - the build runs fine on Windows XP & Vista > - when used on Windows Server 2008, the compilation target > bpp-actual-compilation fails (others targets like package or > deploy work without problem): javac aborts because it cannot find > C:\Documents and Settings directory > - when I run javac directly by hand it runs fine > - I have no reference to C:\Documents and Settings in classpath >=20 > Here is the target: >=20 > --8<---------------cut here---------------start------------->8--- > > Compiling ${module.name} > > source=3D"${default.javac.source}" > target=3D"${default.javac.target}" > excludes=3D"${javac.excludes}" > debug=3D"${javac.debug}" > debuglevel=3D"${javac.debuglevel}" > encoding=3D"${javac.encoding}" > destdir=3D"${build.classes.dir}" > includes=3D"**"> > > > > > --8<---------------cut here---------------end--------------->8--- >=20 >=20 > --=20 > Pascal Quesseveur > quesseveur@abaksystemes.fr >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org