From user-return-22138-apmail-velocity-user-archive=velocity.apache.org@velocity.apache.org Fri Jan 9 14:00:17 2015 Return-Path: X-Original-To: apmail-velocity-user-archive@www.apache.org Delivered-To: apmail-velocity-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BAD2C8BC for ; Fri, 9 Jan 2015 14:00:17 +0000 (UTC) Received: (qmail 40758 invoked by uid 500); 9 Jan 2015 14:00:18 -0000 Delivered-To: apmail-velocity-user-archive@velocity.apache.org Received: (qmail 40705 invoked by uid 500); 9 Jan 2015 14:00:18 -0000 Mailing-List: contact user-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Velocity Users List" Delivered-To: mailing list user@velocity.apache.org Received: (qmail 40635 invoked by uid 99); 9 Jan 2015 14:00:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 14:00:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erik.hatcher@gmail.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qc0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 14:00:03 +0000 Received: by mail-qc0-f170.google.com with SMTP id x3so8777972qcv.1 for ; Fri, 09 Jan 2015 05:59:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=Ub7jturDy3QABr3rGgpd22WnGVAmb8wFay5JLJYa7tk=; b=YcX3bci7GwgMmp5dTlNMtZE0Nax5XyCVoo6WgwykberVkC5mCbHWtdvNL8UFIunJK7 7HvHWvh3E7ja8d8tFdfl5TkEFpgUXiKO6iDFNttdKJEh/E4njGc5S5AbpiXES2qA+iO9 jPbj21WwOi2gzO5k/KHcqdvuDGkouJb4cQxC6fyjuiji5OnGUnMGs1l26hEI3uyHwHkk gDsEFrGnJOlSNLXylo6n+D0pRqtn2Mxzpinnu+fMjb2TAOQMPnq/TJaY1hrafhp7UvkF KubBRoD2GfANTZqjUEVMKdpI24Rk0/YUIPj3dYje6SpgY1UUrs2bfG3p/TK6dpu6X3IF jYJQ== X-Received: by 10.140.82.101 with SMTP id g92mr26249157qgd.26.1420811982577; Fri, 09 Jan 2015 05:59:42 -0800 (PST) Received: from luciderikmbp.pk5001z ([184.5.139.65]) by mx.google.com with ESMTPSA id u20sm7020741qaj.5.2015.01.09.05.59.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Jan 2015 05:59:41 -0800 (PST) From: Erik Hatcher Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: velocimacro.library - all specified required? Message-Id: <76978D38-27D9-4E6A-B2C4-C37EFC7453F6@gmail.com> Date: Fri, 9 Jan 2015 08:59:40 -0500 To: Velocity Users List Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-Virus-Checked: Checked by ClamAV on apache.org I=E2=80=99m trying to set up a system that has some built-in (to a JAR, = class path loader) macros defined (in _macros.vm) and allows the user, = in their own file system loader path, to define macros.vm (without = underscore prefix) to add their own. I=E2=80=99m trying this: engine.setProperty(RuntimeConstants.VM_LIBRARY, = "_macros.vm,macros.vm=E2=80=9D); But I get errors if macros.vm is not found. Can I make it so that velocimacro.library loaded files are optional, = such that if macros.vm isn=E2=80=99t there all works fine? It=E2=80=99s = giving me an error currently.=20 Also, when given that comma-separated list, are they loaded in that = order such that a macro defined in macros.vm can override one in = _macros.vm? Thanks for your help! Erik --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org For additional commands, e-mail: user-help@velocity.apache.org