From user-return-70026-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Mar 03 13:27:12 2010 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 13578 invoked from network); 3 Mar 2010 13:27:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 13:27:11 -0000 Received: (qmail 54643 invoked by uid 500); 3 Mar 2010 13:27:04 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 54432 invoked by uid 500); 3 Mar 2010 13:27:03 -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 54424 invoked by uid 99); 3 Mar 2010 13:27:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 13:27:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oliver.schrenk@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 13:26:56 +0000 Received: by fxm4 with SMTP id 4so1492857fxm.20 for ; Wed, 03 Mar 2010 05:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=DqsWFvlohcTH6pkGhNt71t0SEUM16bEmnGVh/ocihC4=; b=qvSLD8/stUrZca9NG1KtaAfTVejcx4PMp92WXEkc2YDFDX0Me3TQiTL++yH6KiPcn7 BqylKLuaxX6QdVyfzfuWfXPWMFkMsdvUj1/DaIY9vcPRQ5A3cEzOxMq43NfxKSBrVzJG hJgEyrbZRsF/Pdzzw/3kxEcbXqvj+7s6jW1cc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tRE7FBdx9sVL4uiJYXeHxwiHWpyCXHknDtTSQjbYy+EF/FfxfLrrUK8WLCgmrK1E42 R3QAP3dKIwZ6sazPaB1a4MciUAvmmYu6zJOnaIi0AulP7BlIJsxqmsYiNr4JDQwnnQD+ hvp/Zjh81ZSGehaFNFRgN2TPUT5f8IoQ297ac= MIME-Version: 1.0 Received: by 10.223.164.156 with SMTP id e28mr8345642fay.27.1267622794693; Wed, 03 Mar 2010 05:26:34 -0800 (PST) Date: Wed, 3 Mar 2010 14:26:34 +0100 Message-ID: Subject: Problems resolving paths in copy's "tofile" when combining multiple properties From: Oliver Schrenk To: user@ant.apache.org Content-Type: multipart/alternative; boundary=0016364c7ed36310cd0480e56ed3 --0016364c7ed36310cd0480e56ed3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I use an Ant script that shows different behavior on the Mac and Windows platform. Both Ant are used from within Eclipse Mac: Eclipse 3.5 (Build-id, 20090621-0832) with Ant 1.7.1.v20090120-1145 Windows: Eclipse 3.5 (Build id: 20100218-1602) with Ant 1.7.1.v20090120-114= 5 In particular it fails on the Windows machine with (ran from inside the project): Buildfile: C:\Development\eclipseEE\workspace\acmeproject\build.xml init: compile: [copy] Copying 1 file to C:\Development\eclipseEE\workspace\acmeproject\build\classesC:\Development\= eclipseEE\workspace\acmeproject\src\acme\servlet BUILD FAILED C:\Development\eclipseEE\workspace\acmeproject\build.xml:86: Failed to copy C:\Development\eclipseEE\workspace\acmeproject\src\acme\servlet\messages.pr= operties to C:\Development\eclipseEE\workspace\acmeproject\build\classesC:\Development\= eclipseEE\workspace\acmeproject\src\acme\servlet\messages.properties due to java.io.FileNotFoundException C:\Development\eclipseEE\workspace\acmeproject\build\classesC:\Developement= \eclipseEE\workspace\acmeproject\src\acme\servlet\messages.properties (Die Syntax f=FCr den Dateinamen, Verzeichnisnamen oder die Datentr=E4gerbezeichnung ist falsch) Total time: 282 milliseconds Here is an excerpt from the build file: So what seems to happen is that ${classes} AND ${properties-path} are each transformed into a full path. instead of resolving each property-variable first, concatenating them and then transforming that into a path (like it does on the Mac). Is this a known issue, expected behavior or just bland misuse of properties on my part? Best regards Oliver Schrenk --0016364c7ed36310cd0480e56ed3--