Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 15645 invoked by uid 500); 24 Jul 2002 10:21:28 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 15634 invoked from network); 24 Jul 2002 10:21:28 -0000 Message-ID: <20020724102142.99679.qmail@web21308.mail.yahoo.com> Date: Wed, 24 Jul 2002 12:21:42 +0200 (CEST) From: =?iso-8859-1?q?Carles=20Canellas?= Subject: Macros in velocity generator To: cocoon-users@xml.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello. I'm using a velocity generator in a internal pipeline on my sitemap in order to get a xsp file. My problem is that i want to use velocimacros to simplify the source vm file, but I don't know where cocoon is trying to find the VM_global_library.vm where I have defined the macros. the internal pipeline is: The message in the sitemap.log is: INFO (2002-07-24) 10:57.05:695 [sitemap] (/cocoon/impresion/imprime) Thread-7/VelocityGenerator: Velocimacro : initialization starting. INFO (2002-07-24) 10:57.05:695 [sitemap] (/cocoon/impresion/imprime) Thread-7/VelocityGenerator: Velocimacro : adding VMs from VM library template : VM_global_library.vm ERROR (2002-07-24) 10:57.05:695 [sitemap] (/cocoon/impresion/imprime) Thread-7/VelocityGenerator: ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. INFO (2002-07-24) 10:57.05:695 [sitemap] (/cocoon/impresion/imprime) Thread-7/VelocityGenerator: Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' INFO (2002-07-24) 10:57.05:695 [sitemap] (/cocoon/impresion/imprime) Thread-7/VelocityGenerator: Velocimacro : VM library template macro registration complete. I have searched in the documentation and in the cocoon.xconf and I have found nothing about that issue. My java is not so good to find it in the source code. In wich path is cocoon trying to find these files? Can I change this path? How? Thanks in advance. Carles. _______________________________________________________________ Yahoo! Messenger Nueva versi�n: Webcam, voz, y mucho m�s �Gratis! Desc�rgalo ya desde http://es.messenger.yahoo.com --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: