Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 59082 invoked from network); 3 Apr 2005 21:14:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Apr 2005 21:14:36 -0000 Received: (qmail 27236 invoked by uid 500); 3 Apr 2005 21:14:34 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 27218 invoked by uid 500); 3 Apr 2005 21:14:34 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 27204 invoked by uid 99); 3 Apr 2005 21:14:34 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_RCVD_HELO,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of tlianza@hotmail.com designates 65.54.248.220 as permitted sender) Received: from omc1-s18.bay6.hotmail.com (HELO OMC1-S18.phx.gbl) (65.54.248.220) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 03 Apr 2005 14:14:32 -0700 Received: from hotmail.com ([65.54.245.40]) by OMC1-S18.phx.gbl with Microsoft SMTPSVC(6.0.3790.211); Sun, 3 Apr 2005 14:14:31 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 3 Apr 2005 14:14:31 -0700 Message-ID: Received: from 24.218.28.182 by by1fd.bay1.hotmail.msn.com with HTTP; Sun, 03 Apr 2005 21:14:31 GMT X-Originating-IP: [24.218.28.182] X-Originating-Email: [tlianza@hotmail.com] X-Sender: tlianza@hotmail.com In-Reply-To: From: "Tom Lianza" To: torque-user@db.apache.org Bcc: Subject: RE: Builds fine on Windows, Fails on Linux (SOLVED) Date: Sun, 03 Apr 2005 17:14:31 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Apr 2005 21:14:31.0330 (UTC) FILETIME=[209A7020:01C53892] X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N For anyone else who might have run into this problem - I figured out the cause. I was trying to build with ant version 1.6.2, but that version of torque came with ant-1.5. When I rebuilt with ant 1.5, those errors went away. >From: Thomas Fischer >Reply-To: "Apache Torque Users List" >To: "Apache Torque Users List" >Subject: RE: Builds fine on Windows, Fails on Linux >Date: Tue, 29 Mar 2005 09:17:07 +0200 > > > > > >Tom, > >I do not think the operation system is a problem. I have no experience with >3.0.2, but from 3.1 on, the builds run also on linux. >Are you sure you do not have any absolute paths in your configuration ? > >Perhaps it is best to start the installation from scratch on linux and copy >only the files you have modified, reviewing them as you copy them. > > Thomas > >"Tom Lianza" schrieb am 26.03.2005 22:39:42: > > > Hi All, > > > > I have a torque project based on Torque 3.0.2. Everything works fine >when I > > do a build on Windows. However, when I copy all of my files down to my > > linux machine and try and run ant -f build-torque.xml I get the >following > > > error message: > > > > /home/tlianza/workspace/usoil/torque/build-torque.xml:122: The following > > error occurred while executing this line: > > /home/tlianza/workspace/usoil/torque/build-torque.xml:185: The following > > error occurred while executing this line: > > /home/tlianza/workspace/usoil/torque/build-torque.xml:216: Generation > > failed. For more information consult the velocity log, or invoke ant >with > > > the -debug flag. > > > > That error corresponds to the "templatePath" argument of the torque-sql >tag > > in my sql-template target. Velocity.log doesn't show anything that I >can > > > see as useful: > > > > ----------------2005-03-26 16:31:59,618 - Starting Jakarta Velocity v1.3 > > 2005-03-26 16:31:59,618 - RuntimeInstance initializing. > > 2005-03-26 16:31:59,618 - Default Properties File: > > org/apache/velocity/runtime/defaults/velocity.properties > > 2005-03-26 16:31:59,618 - Trying to use logger class > > org.apache.velocity.runtime.log.AvalonLogSystem > > 2005-03-26 16:31:59,618 - Couldn't find class > > org.apache.velocity.runtime.log.AvalonLogSystem or necessary supporting > > classes in classpath. Exception : java.lang.NoClassDefFoundError: > > org/apache/log/format/Formatter > > 2005-03-26 16:31:59,618 - Trying to use logger class > > org.apache.velocity.runtime.log.SimpleLog4JLogSystem > > 2005-03-26 16:31:59,618 - Using logger class > > org.apache.velocity.runtime.log.SimpleLog4JLogSystem > > 2005-03-26 16:31:59,621 - Default ResourceManager initializing. (class > > org.apache.velocity.runtime.resource.ResourceManagerImpl) > > 2005-03-26 16:31:59,624 - Resource Loader Instantiated: > > org.apache.velocity.runtime.resource.loader.FileResourceLoader > > 2005-03-26 16:31:59,625 - FileResourceLoader : initialization starting. > > 2005-03-26 16:31:59,625 - FileResourceLoader : adding path > > '/home/tlianza/workspace/usoil/torque/templates' > > 2005-03-26 16:31:59,625 - FileResourceLoader : initialization complete. > > 2005-03-26 16:31:59,629 - ResourceCache : initialized. (class > > org.apache.velocity.runtime.resource.ResourceCacheImpl) > > 2005-03-26 16:31:59,629 - Default ResourceManager initialization >complete. > > 2005-03-26 16:31:59,631 - Loaded System Directive: > > org.apache.velocity.runtime.directive.Literal > > 2005-03-26 16:31:59,632 - Loaded System Directive: > > org.apache.velocity.runtime.directive.Macro > > 2005-03-26 16:31:59,633 - Loaded System Directive: > > org.apache.velocity.runtime.directive.Parse > > 2005-03-26 16:31:59,635 - Loaded System Directive: > > org.apache.velocity.runtime.directive.Include > > 2005-03-26 16:31:59,637 - Loaded System Directive: > > org.apache.velocity.runtime.directive.Foreach > > 2005-03-26 16:31:59,733 - Created: 20 parsers. > > 2005-03-26 16:31:59,733 - Velocimacro : initialization starting. > > 2005-03-26 16:31:59,733 - Velocimacro : adding VMs from VM library >template > > : VM_global_library.vm > > 2005-03-26 16:31:59,736 - ResourceManager : unable to find resource > > 'VM_global_library.vm' in any resource loader. > > 2005-03-26 16:31:59,736 - Velocimacro : error using VM library template > > VM_global_library.vm : > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find > > resource 'VM_global_library.vm' > > 2005-03-26 16:31:59,736 - Velocimacro : VM library template macro > > registration complete. > > 2005-03-26 16:31:59,736 - Velocimacro : allowInline = true : VMs can be > > defined inline in templates > > 2005-03-26 16:31:59,736 - Velocimacro : allowInlineToOverride = false : >VMs > > defined inline may NOT replace previous VM definitions > > 2005-03-26 16:31:59,736 - Velocimacro : allowInlineLocal = false : VMs > > defined inline will be global in scope if allowed. > > 2005-03-26 16:31:59,736 - Velocimacro : messages on : VM system will >output > > logging messages > > 2005-03-26 16:31:59,736 - Velocimacro : autoload off : VM system will >not > > automatically reload global library macros > > 2005-03-26 16:31:59,736 - Velocimacro : initialization complete. > > 2005-03-26 16:31:59,736 - Velocity successfully started. > > ------------------------- > > > > Any ideas? This same set of files builds fine with Windows, so I'm >thinking > > it's either something environmental (classpath environment variable?) or > > os-dependent... I just don't see what that could be. > > > > Thanks! > > Tom > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > > For additional commands, e-mail: torque-user-help@db.apache.org > > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org >For additional commands, e-mail: torque-user-help@db.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org