Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 5939 invoked from network); 12 Mar 2009 12:13:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 12:13:15 -0000 Received: (qmail 13161 invoked by uid 500); 12 Mar 2009 12:13:15 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 13141 invoked by uid 500); 12 Mar 2009 12:13:15 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 13132 invoked by uid 99); 12 Mar 2009 12:13:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 05:13:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 12:13:12 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id AB6EC234C04C; Thu, 12 Mar 2009 05:12:51 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 46842] New: Support Classpath Wildcards X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: mbm@ptc.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 12 Mar 2009 05:12:51 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46842 Summary: Support Classpath Wildcards Product: Ant Version: 1.7.1 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: mbm@ptc.com Ant doesn't support Java 1.6's classpath wildcards (eg foo/*) for forked . http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html It happens in the creation of the task's path, in Path.addExisting(). If I change the first line of code in this block: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/Path.java?view=markup if (f.exists()){ setLocation(f); } else { log("dropping " + f + " from path as it doesn't exist", Project.MSG_VERBOSE); } to this: if (f.exists() || (f.getParentFile().exists() && "*".equals(f.getName()))) { I get the behavior I desire. Maybe this change would create problems for other usage scenarios, but it would seem unlikely. If so, maybe an attribute to enable support for java classpath wildcards could be added. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.