Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 49968 invoked from network); 7 Oct 2002 09:44:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Oct 2002 09:44:29 -0000 Received: (qmail 15758 invoked by uid 97); 7 Oct 2002 09:45:24 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 15718 invoked by uid 97); 7 Oct 2002 09:45:23 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 15705 invoked by uid 98); 7 Oct 2002 09:45:22 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Vincent Massol" To: "'Jakarta Commons Developers List'" Subject: [Jelly] From File to URI Date: Mon, 7 Oct 2002 10:42:27 +0100 Organization: OCTO Technology Message-ID: <006801c26de5$d9ac47c0$0200a8c0@octovma> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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, I have the following script: However, it doesn't work as ${script.path} returns a platform dependent file name and not a URI. Thus, I would need to do a kind of "(new URL(script.path)).getFile()" ... Or should the import accept a file attribute? Thanks -Vincent -- To unsubscribe, e-mail: For additional commands, e-mail: