Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 86288 invoked from network); 31 May 2002 10:23:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 31 May 2002 10:23:25 -0000 Received: (qmail 7953 invoked by uid 97); 31 May 2002 10:23:23 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 7909 invoked by uid 97); 31 May 2002 10:23:22 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 7896 invoked by uid 98); 31 May 2002 10:23:21 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Fri, 31 May 2002 20:36:03 +1000 From: Jeff Turner To: ant-user@jakarta.apache.org Subject: Newbie question: copying absolute files Message-ID: <20020531103603.GA4285@expresso.localdomain> Mail-Followup-To: ant-user@jakarta.apache.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: Jeff Turner X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, A (deceptively) simple question: I have some properties defining jar locations: Now I wish to copy those to a WEB-INF/lib directory. Can it be done in one command? I don't think so, because Copy takes a FileSet, and a FileSet wants a base directory. If so, could be extended to take Paths, as well as FileSets? Or could the "dir" attribute of FileLists be made non-mandatory, and then be made to accept FileLists? Basically, the assumption that a FileSet and FileList have always got a base directory ("dir" attribute) seems arbitrary and often wrong. It means I can't do completely sensible things, like add absolute paths to a fileset, or paths that ../ below the base directory. Did Conor's polymorphic types get into Ant 1.5? Perhaps the Copy task could be made to play with AbstractFileSets instead of FileSets? Thanks, --Jeff -- To unsubscribe, e-mail: For additional commands, e-mail: