You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Piechu Piechu <pi...@wp.pl> on 2005/10/19 19:47:45 UTC
Building under Windows
I'm trying to create sql scripts and java classes from schema file. Under Linux everything is ok, but when I'm trying to do it under Windows - operation maven torqe ends with such information:
BUILD FAILED
File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
Element ... taskdef
Line ...... 87
Column .... 67
taskdef A class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot be found: org/apache/xerces/dom/CoreDocumentImpl
All needed jars were downloaded without any errors and mentioned above class is in directory \.maven\repositiory\xerces\jars - both xerces-2.4.0.jar and xercesImpl-2.4.0
What should I do to run torque under Windows
Regards
Jakub Piechnik
P.S. I tried to put all jars from lib directory from torque*.zip file and my database JDBC driver to the classpath - but it has no results.
----------------------------------------------------
Wejdź na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
i osoby towarzyszącej! Wyruszycie w podróż nowym promem Stena Line!
Stań oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: On-The-Fly Config
Posted by Trey Long <ja...@provima.com>.
Thanks, that's a good lead I forgot about. We abstracted that so it went
out of my mind.
Do you think it's worthwhile to learn JNDI? The guide seems to be
hinting torward that as a way to dynamically set datasources.
Bill Leng wrote:
> You can programingly initialize Torque via
>
> Torque.init(...).
>
> The overloaded Torque.init() method takes either a file name or a
> org.apache.commons.configuration.BaseConfiguration object
>
> Bill
>
> Trey Long wrote:
>
>> Where does Torque pull it's configuration from? Where is the
>> class(es) that are responsible for it?
>>
>> I am trying to use torque in an application where database platforms
>> may need to be switched rapidly via a configuration file. I am having
>> a little trouble understanding where torque get the information to
>> connect to the database after the ant task that builds the OM.
>>
>> -trey
>>
>> ---------------------------------------------------------------------
>> 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
Re: On-The-Fly Config
Posted by Bill Leng <wl...@metatomix.com>.
You can programingly initialize Torque via
Torque.init(...).
The overloaded Torque.init() method takes either a file name or a
org.apache.commons.configuration.BaseConfiguration object
Bill
Trey Long wrote:
> Where does Torque pull it's configuration from? Where is the class(es)
> that are responsible for it?
>
> I am trying to use torque in an application where database platforms may
> need to be switched rapidly via a configuration file. I am having a
> little trouble understanding where torque get the information to connect
> to the database after the ant task that builds the OM.
>
> -trey
>
> ---------------------------------------------------------------------
> 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
On-The-Fly Config
Posted by Trey Long <ja...@provima.com>.
Where does Torque pull it's configuration from? Where is the class(es)
that are responsible for it?
I am trying to use torque in an application where database platforms may
need to be switched rapidly via a configuration file. I am having a
little trouble understanding where torque get the information to connect
to the database after the ant task that builds the OM.
-trey
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: Building under Windows
Posted by Jakub Piechnik <pi...@wp.pl>.
java -version
java version "1.5.0_05"
Java (TM) 2 Runtime Enviroment, Standard Edition build (1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)
Henning P. Schmiedehausen napisał(a):
>"Piechu Piechu" <pi...@wp.pl> writes:
>
>What does java -version say?
>
> Best regards
> Henning
>
>
>
>>I'm trying to create sql scripts and java classes from schema file. Under Linux everything is ok, but when I'm trying to do it under Windows - operation maven torqe ends with such information:
>>
>>
>
>
>
>>BUILD FAILED
>>File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
>>Element ... taskdef
>>Line ...... 87
>>Column .... 67
>>taskdef A class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot be found: org/apache/xerces/dom/CoreDocumentImpl
>>
>>
>
>
>
>>All needed jars were downloaded without any errors and mentioned above class is in directory \.maven\repositiory\xerces\jars - both xerces-2.4.0.jar and xercesImpl-2.4.0
>>
>>
>
>
>
>
>>What should I do to run torque under Windows
>>
>>
>
>
>
>>Regards
>>Jakub Piechnik
>>
>>
>
>
>
>>P.S. I tried to put all jars from lib directory from torque*.zip file and my database JDBC driver to the classpath - but it has no results.
>>
>>
>
>
>
>>----------------------------------------------------
>>Wejdź na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
>>i osoby towarzyszącej! Wyruszycie w podróż nowym promem Stena Line!
>>Stań oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
>>http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
>>
>>
>
>
>
>
>
>>---------------------------------------------------------------------
>>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
Re: Building under Windows
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Piechu Piechu" <pi...@wp.pl> writes:
What does java -version say?
Best regards
Henning
>I'm trying to create sql scripts and java classes from schema file. Under Linux everything is ok, but when I'm trying to do it under Windows - operation maven torqe ends with such information:
>BUILD FAILED
>File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
>Element ... taskdef
>Line ...... 87
>Column .... 67
>taskdef A class needed by class org.apache.torque.task.TorqueJDBCTransformTask cannot be found: org/apache/xerces/dom/CoreDocumentImpl
>All needed jars were downloaded without any errors and mentioned above class is in directory \.maven\repositiory\xerces\jars - both xerces-2.4.0.jar and xercesImpl-2.4.0
>What should I do to run torque under Windows
>Regards
>Jakub Piechnik
>P.S. I tried to put all jars from lib directory from torque*.zip file and my database JDBC driver to the classpath - but it has no results.
>----------------------------------------------------
>Wejd� na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
>i osoby towarzysz�cej! Wyruszycie w podr� nowym promem Stena Line!
>Sta� oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
>http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
>---------------------------------------------------------------------
>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
>For additional commands, e-mail: torque-user-help@db.apache.org
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
4 - 8 - 15 - 16 - 23 - 42
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: Building under Windows
Posted by Jakub Piechnik <pi...@wp.pl>.
Now I've installed Maven 1.0.2 and got the same error. I tried to build
project with Torque 3.2-rc2 but it gave me the same result. Could You
tell me is there any special directory structure for creating project (I
know that there should be special directory for schema file if
torque.schema.dir isn't specified in project.properties file).
Thomas Fischer napisał(a):
>
>
>I never tried the Torque 3.1.1 generator with java 1.5. I have no idea
>whether this can be the reason.
>I am rather sure the sql driver is not the problem.
>
>Has anyone else tried the Torque 3.1.1 generator using java 1.5 ?
>
> Thomas
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
RE: Building under Windows
Posted by Espen Erikstad <es...@rubberduckmedialab.com>.
Yip,
I am using Torque 3.1.1 generator and java 1.5 without any problem. I am not
using the maven plugin though so I guess the problem may lay in the
plugin...
Espen
-----Original Message-----
From: Thomas Fischer [mailto:fischer@seitenbau.net]
Sent: 20 October 2005 14:11
To: Apache Torque Users List
Subject: Re: Building under Windows
I never tried the Torque 3.1.1 generator with java 1.5. I have no idea
whether this can be the reason.
I am rather sure the sql driver is not the problem.
Has anyone else tried the Torque 3.1.1 generator using java 1.5 ?
Thomas
Piechu <pi...@wp.pl> schrieb am 20.10.2005 12:09:10:
> I was using Maven 1.1-Beta 2 with Java 1.5.0_05
>
> Now I've installed Maven 1.0.2 but still I've got some errors. At first
> even if i put in project.properties line torque.schema.dir = .\schema
> I've got an error that schema can not be found - and path to the scham
> is shown as ProjectDir\src\schema, even though it should be
> ProjectDir\schema. If I put it under src directory - I've got such an
error:
>
> BUILD FILED
> File ... ..\maven-torque-plugin-3.1.1\plugin.jelly
> Element ... torque-sql
> Line ........ 165
> Column .... 49
> Exception thrown by 'properties.load'. For more information consult the
> velocity log or invoke ant with the -debug flag.
>
> The velocity log contains:
> 2005-10-20 12:04:02,453 - SimpleLog4JLogSystem initialized using logfile
> 'velocity.log'
> 2005-10-20 12:04:02,453 -
> **************************************************************
> 2005-10-20 12:04:02,468 - Starting Jakarta Velocity v1.3.1
> 2005-10-20 12:04:02,468 - RuntimeInstance initializing.
> 2005-10-20 12:04:02,468 - Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> 2005-10-20 12:04:02,468 - Trying to use logger class
> org.apache.velocity.runtime.log.AvalonLogSystem
> 2005-10-20 12:04:02,468 - 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-10-20 12:04:02,468 - Trying to use logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:02,468 - Using logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:02,468 - Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> 2005-10-20 12:04:02,468 - Resource Loader Instantiated:
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:04:02,468 - ClasspathResourceLoader : initialization
starting.
> 2005-10-20 12:04:02,468 - ClasspathResourceLoader : initialization
complete.
> 2005-10-20 12:04:02,468 - ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> 2005-10-20 12:04:02,468 - Default ResourceManager initialization
complete.
> 2005-10-20 12:04:02,468 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> 2005-10-20 12:04:02,468 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> 2005-10-20 12:04:02,468 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> 2005-10-20 12:04:02,484 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> 2005-10-20 12:04:02,484 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> 2005-10-20 12:04:02,609 - Created: 20 parsers.
> 2005-10-20 12:04:02,609 - Velocimacro : initialization starting.
> 2005-10-20 12:04:02,609 - Velocimacro : adding VMs from VM library
> template : VM_global_library.vm
> 2005-10-20 12:04:02,609 - ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 2005-10-20 12:04:02,609 - Velocimacro : error using VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> 2005-10-20 12:04:02,609 - Velocimacro : VM library template macro
> registration complete.
> 2005-10-20 12:04:02,609 - Velocimacro : allowInline = true : VMs can be
> defined inline in templates
> 2005-10-20 12:04:02,609 - Velocimacro : allowInlineToOverride = false :
> VMs defined inline may NOT replace previous VM definitions
> 2005-10-20 12:04:02,609 - Velocimacro : allowInlineLocal = false : VMs
> defined inline will be global in scope if allowed.
> 2005-10-20 12:04:02,609 - Velocimacro : messages on : VM system will
> output logging messages
> 2005-10-20 12:04:02,609 - Velocimacro : autoload off : VM system will
> not automatically reload global library macros
> 2005-10-20 12:04:02,609 - Velocimacro : initialization complete.
> 2005-10-20 12:04:02,609 - Velocity successfully started.
> 2005-10-20 12:04:40,937 - SimpleLog4JLogSystem initialized using logfile
> 'velocity.log'
> 2005-10-20 12:04:40,937 -
> **************************************************************
> 2005-10-20 12:04:40,937 - Starting Jakarta Velocity v1.3.1
> 2005-10-20 12:04:40,937 - RuntimeInstance initializing.
> 2005-10-20 12:04:40,937 - Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> 2005-10-20 12:04:40,937 - Trying to use logger class
> org.apache.velocity.runtime.log.AvalonLogSystem
> 2005-10-20 12:04:40,937 - 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-10-20 12:04:40,937 - Trying to use logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:40,937 - Using logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:40,937 - Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> 2005-10-20 12:04:40,937 - Resource Loader Instantiated:
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:04:40,937 - ClasspathResourceLoader : initialization
starting.
> 2005-10-20 12:04:40,937 - ClasspathResourceLoader : initialization
complete.
> 2005-10-20 12:04:40,953 - ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> 2005-10-20 12:04:40,953 - Default ResourceManager initialization
complete.
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> 2005-10-20 12:04:41,078 - Created: 20 parsers.
> 2005-10-20 12:04:41,078 - Velocimacro : initialization starting.
> 2005-10-20 12:04:41,078 - Velocimacro : adding VMs from VM library
> template : VM_global_library.vm
> 2005-10-20 12:04:41,078 - ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 2005-10-20 12:04:41,078 - Velocimacro : error using VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> 2005-10-20 12:04:41,078 - Velocimacro : VM library template macro
> registration complete.
> 2005-10-20 12:04:41,078 - Velocimacro : allowInline = true : VMs can be
> defined inline in templates
> 2005-10-20 12:04:41,078 - Velocimacro : allowInlineToOverride = false :
> VMs defined inline may NOT replace previous VM definitions
> 2005-10-20 12:04:41,078 - Velocimacro : allowInlineLocal = false : VMs
> defined inline will be global in scope if allowed.
> 2005-10-20 12:04:41,078 - Velocimacro : messages on : VM system will
> output logging messages
> 2005-10-20 12:04:41,078 - Velocimacro : autoload off : VM system will
> not automatically reload global library macros
> 2005-10-20 12:04:41,078 - Velocimacro : initialization complete.
> 2005-10-20 12:04:41,078 - Velocity successfully started.
> 2005-10-20 12:04:41,218 - ResourceManager : found sql/base/Control.vm
> with loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:04:41,234 - Method load threw exception for reference
> $properties in template sql/base/Control.vm at [2,19]
> 2005-10-20 12:05:13,000 - SimpleLog4JLogSystem initialized using logfile
> 'velocity.log'
> 2005-10-20 12:05:13,000 -
> **************************************************************
> 2005-10-20 12:05:13,000 - Starting Jakarta Velocity v1.3.1
> 2005-10-20 12:05:13,000 - RuntimeInstance initializing.
> 2005-10-20 12:05:13,000 - Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> 2005-10-20 12:05:13,000 - Trying to use logger class
> org.apache.velocity.runtime.log.AvalonLogSystem
> 2005-10-20 12:05:13,000 - 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-10-20 12:05:13,000 - Trying to use logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:05:13,000 - Using logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:05:13,000 - Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> 2005-10-20 12:05:13,000 - Resource Loader Instantiated:
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:05:13,000 - ClasspathResourceLoader : initialization
starting.
> 2005-10-20 12:05:13,000 - ClasspathResourceLoader : initialization
complete.
> 2005-10-20 12:05:13,015 - ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> 2005-10-20 12:05:13,015 - Default ResourceManager initialization
complete.
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> 2005-10-20 12:05:13,140 - Created: 20 parsers.
> 2005-10-20 12:05:13,140 - Velocimacro : initialization starting.
> 2005-10-20 12:05:13,140 - Velocimacro : adding VMs from VM library
> template : VM_global_library.vm
> 2005-10-20 12:05:13,140 - ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 2005-10-20 12:05:13,140 - Velocimacro : error using VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> 2005-10-20 12:05:13,140 - Velocimacro : VM library template macro
> registration complete.
> 2005-10-20 12:05:13,140 - Velocimacro : allowInline = true : VMs can be
> defined inline in templates
> 2005-10-20 12:05:13,140 - Velocimacro : allowInlineToOverride = false :
> VMs defined inline may NOT replace previous VM definitions
> 2005-10-20 12:05:13,140 - Velocimacro : allowInlineLocal = false : VMs
> defined inline will be global in scope if allowed.
> 2005-10-20 12:05:13,140 - Velocimacro : messages on : VM system will
> output logging messages
> 2005-10-20 12:05:13,140 - Velocimacro : autoload off : VM system will
> not automatically reload global library macros
> 2005-10-20 12:05:13,140 - Velocimacro : initialization complete.
> 2005-10-20 12:05:13,140 - Velocity successfully started.
> 2005-10-20 12:05:13,281 - ResourceManager : found sql/base/Control.vm
> with loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:05:13,296 - Method load threw exception for reference
> $properties in template sql/base/Control.vm at [2,19]
>
> I've got my sql driver (postgresql-8.1dev-402.jdbc3.jar) put into my
> classpath
>
> Regards
> Jakub Piechnik
>
> Thomas Fischer napisał(a):
>
> >
> >
> >Hi,
> >
> >This is the first time I have heard of such problems under windows,
> >therefore, I'd rather suspect the difference lies in the java or maven
> >version rather than in the os. Which java version are you using on
windows
> >? And which maven version are you using ?
> >
> >I'd recommend to use maven 1.0.2, where xercesImpl-2.4.0.jar is located
in
> >maven/lib/endorsed. Maybe in other maven versions, the library should be
> >put there.
> >
> > Thomas
> >
> >"Piechu Piechu" <pi...@wp.pl> schrieb am 19.10.2005 19:47:45:
> >
> >
> >
> >>I'm trying to create sql scripts and java classes from schema file.
> >>Under Linux everything is ok, but when I'm trying to do it under
> >>Windows - operation maven torqe ends with such information:
> >>
> >>BUILD FAILED
> >>File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
> >>Element ... taskdef
> >>Line ...... 87
> >>Column .... 67
> >>taskdef A class needed by class org.apache.torque.task.
> >>TorqueJDBCTransformTask cannot be found:
> >>org/apache/xerces/dom/CoreDocumentImpl
> >>
> >>All needed jars were downloaded without any errors and mentioned
> >>above class is in directory \.maven\repositiory\xerces\jars - both
> >>xerces-2.4.0.jar and xercesImpl-2.4.0
> >>
> >>What should I do to run torque under Windows
> >>
> >>Regards
> >>Jakub Piechnik
> >>
> >>P.S. I tried to put all jars from lib directory from torque*.zip
> >>file and my database JDBC driver to the classpath - but it has no
> >>
> >>
> >results.
> >
> >
> >>----------------------------------------------------
> >>Wejdź na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
> >>i osoby towarzyszącej! Wyruszycie w podróż nowym promem Stena Line!
> >>Stań oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
> >>http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>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
>
---------------------------------------------------------------------
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
Re: Building under Windows
Posted by Thomas Fischer <fi...@seitenbau.net>.
I never tried the Torque 3.1.1 generator with java 1.5. I have no idea
whether this can be the reason.
I am rather sure the sql driver is not the problem.
Has anyone else tried the Torque 3.1.1 generator using java 1.5 ?
Thomas
Piechu <pi...@wp.pl> schrieb am 20.10.2005 12:09:10:
> I was using Maven 1.1-Beta 2 with Java 1.5.0_05
>
> Now I've installed Maven 1.0.2 but still I've got some errors. At first
> even if i put in project.properties line torque.schema.dir = .\schema
> I've got an error that schema can not be found - and path to the scham
> is shown as ProjectDir\src\schema, even though it should be
> ProjectDir\schema. If I put it under src directory - I've got such an
error:
>
> BUILD FILED
> File ... ..\maven-torque-plugin-3.1.1\plugin.jelly
> Element ... torque-sql
> Line ........ 165
> Column .... 49
> Exception thrown by 'properties.load'. For more information consult the
> velocity log or invoke ant with the -debug flag.
>
> The velocity log contains:
> 2005-10-20 12:04:02,453 - SimpleLog4JLogSystem initialized using logfile
> 'velocity.log'
> 2005-10-20 12:04:02,453 -
> **************************************************************
> 2005-10-20 12:04:02,468 - Starting Jakarta Velocity v1.3.1
> 2005-10-20 12:04:02,468 - RuntimeInstance initializing.
> 2005-10-20 12:04:02,468 - Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> 2005-10-20 12:04:02,468 - Trying to use logger class
> org.apache.velocity.runtime.log.AvalonLogSystem
> 2005-10-20 12:04:02,468 - 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-10-20 12:04:02,468 - Trying to use logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:02,468 - Using logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:02,468 - Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> 2005-10-20 12:04:02,468 - Resource Loader Instantiated:
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:04:02,468 - ClasspathResourceLoader : initialization
starting.
> 2005-10-20 12:04:02,468 - ClasspathResourceLoader : initialization
complete.
> 2005-10-20 12:04:02,468 - ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> 2005-10-20 12:04:02,468 - Default ResourceManager initialization
complete.
> 2005-10-20 12:04:02,468 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> 2005-10-20 12:04:02,468 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> 2005-10-20 12:04:02,468 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> 2005-10-20 12:04:02,484 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> 2005-10-20 12:04:02,484 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> 2005-10-20 12:04:02,609 - Created: 20 parsers.
> 2005-10-20 12:04:02,609 - Velocimacro : initialization starting.
> 2005-10-20 12:04:02,609 - Velocimacro : adding VMs from VM library
> template : VM_global_library.vm
> 2005-10-20 12:04:02,609 - ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 2005-10-20 12:04:02,609 - Velocimacro : error using VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> 2005-10-20 12:04:02,609 - Velocimacro : VM library template macro
> registration complete.
> 2005-10-20 12:04:02,609 - Velocimacro : allowInline = true : VMs can be
> defined inline in templates
> 2005-10-20 12:04:02,609 - Velocimacro : allowInlineToOverride = false :
> VMs defined inline may NOT replace previous VM definitions
> 2005-10-20 12:04:02,609 - Velocimacro : allowInlineLocal = false : VMs
> defined inline will be global in scope if allowed.
> 2005-10-20 12:04:02,609 - Velocimacro : messages on : VM system will
> output logging messages
> 2005-10-20 12:04:02,609 - Velocimacro : autoload off : VM system will
> not automatically reload global library macros
> 2005-10-20 12:04:02,609 - Velocimacro : initialization complete.
> 2005-10-20 12:04:02,609 - Velocity successfully started.
> 2005-10-20 12:04:40,937 - SimpleLog4JLogSystem initialized using logfile
> 'velocity.log'
> 2005-10-20 12:04:40,937 -
> **************************************************************
> 2005-10-20 12:04:40,937 - Starting Jakarta Velocity v1.3.1
> 2005-10-20 12:04:40,937 - RuntimeInstance initializing.
> 2005-10-20 12:04:40,937 - Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> 2005-10-20 12:04:40,937 - Trying to use logger class
> org.apache.velocity.runtime.log.AvalonLogSystem
> 2005-10-20 12:04:40,937 - 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-10-20 12:04:40,937 - Trying to use logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:40,937 - Using logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:04:40,937 - Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> 2005-10-20 12:04:40,937 - Resource Loader Instantiated:
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:04:40,937 - ClasspathResourceLoader : initialization
starting.
> 2005-10-20 12:04:40,937 - ClasspathResourceLoader : initialization
complete.
> 2005-10-20 12:04:40,953 - ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> 2005-10-20 12:04:40,953 - Default ResourceManager initialization
complete.
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> 2005-10-20 12:04:40,953 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> 2005-10-20 12:04:41,078 - Created: 20 parsers.
> 2005-10-20 12:04:41,078 - Velocimacro : initialization starting.
> 2005-10-20 12:04:41,078 - Velocimacro : adding VMs from VM library
> template : VM_global_library.vm
> 2005-10-20 12:04:41,078 - ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 2005-10-20 12:04:41,078 - Velocimacro : error using VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> 2005-10-20 12:04:41,078 - Velocimacro : VM library template macro
> registration complete.
> 2005-10-20 12:04:41,078 - Velocimacro : allowInline = true : VMs can be
> defined inline in templates
> 2005-10-20 12:04:41,078 - Velocimacro : allowInlineToOverride = false :
> VMs defined inline may NOT replace previous VM definitions
> 2005-10-20 12:04:41,078 - Velocimacro : allowInlineLocal = false : VMs
> defined inline will be global in scope if allowed.
> 2005-10-20 12:04:41,078 - Velocimacro : messages on : VM system will
> output logging messages
> 2005-10-20 12:04:41,078 - Velocimacro : autoload off : VM system will
> not automatically reload global library macros
> 2005-10-20 12:04:41,078 - Velocimacro : initialization complete.
> 2005-10-20 12:04:41,078 - Velocity successfully started.
> 2005-10-20 12:04:41,218 - ResourceManager : found sql/base/Control.vm
> with loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:04:41,234 - Method load threw exception for reference
> $properties in template sql/base/Control.vm at [2,19]
> 2005-10-20 12:05:13,000 - SimpleLog4JLogSystem initialized using logfile
> 'velocity.log'
> 2005-10-20 12:05:13,000 -
> **************************************************************
> 2005-10-20 12:05:13,000 - Starting Jakarta Velocity v1.3.1
> 2005-10-20 12:05:13,000 - RuntimeInstance initializing.
> 2005-10-20 12:05:13,000 - Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> 2005-10-20 12:05:13,000 - Trying to use logger class
> org.apache.velocity.runtime.log.AvalonLogSystem
> 2005-10-20 12:05:13,000 - 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-10-20 12:05:13,000 - Trying to use logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:05:13,000 - Using logger class
> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
> 2005-10-20 12:05:13,000 - Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> 2005-10-20 12:05:13,000 - Resource Loader Instantiated:
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:05:13,000 - ClasspathResourceLoader : initialization
starting.
> 2005-10-20 12:05:13,000 - ClasspathResourceLoader : initialization
complete.
> 2005-10-20 12:05:13,015 - ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> 2005-10-20 12:05:13,015 - Default ResourceManager initialization
complete.
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> 2005-10-20 12:05:13,015 - Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> 2005-10-20 12:05:13,140 - Created: 20 parsers.
> 2005-10-20 12:05:13,140 - Velocimacro : initialization starting.
> 2005-10-20 12:05:13,140 - Velocimacro : adding VMs from VM library
> template : VM_global_library.vm
> 2005-10-20 12:05:13,140 - ResourceManager : unable to find resource
> 'VM_global_library.vm' in any resource loader.
> 2005-10-20 12:05:13,140 - Velocimacro : error using VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> 2005-10-20 12:05:13,140 - Velocimacro : VM library template macro
> registration complete.
> 2005-10-20 12:05:13,140 - Velocimacro : allowInline = true : VMs can be
> defined inline in templates
> 2005-10-20 12:05:13,140 - Velocimacro : allowInlineToOverride = false :
> VMs defined inline may NOT replace previous VM definitions
> 2005-10-20 12:05:13,140 - Velocimacro : allowInlineLocal = false : VMs
> defined inline will be global in scope if allowed.
> 2005-10-20 12:05:13,140 - Velocimacro : messages on : VM system will
> output logging messages
> 2005-10-20 12:05:13,140 - Velocimacro : autoload off : VM system will
> not automatically reload global library macros
> 2005-10-20 12:05:13,140 - Velocimacro : initialization complete.
> 2005-10-20 12:05:13,140 - Velocity successfully started.
> 2005-10-20 12:05:13,281 - ResourceManager : found sql/base/Control.vm
> with loader
> org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
> 2005-10-20 12:05:13,296 - Method load threw exception for reference
> $properties in template sql/base/Control.vm at [2,19]
>
> I've got my sql driver (postgresql-8.1dev-402.jdbc3.jar) put into my
> classpath
>
> Regards
> Jakub Piechnik
>
> Thomas Fischer napisał(a):
>
> >
> >
> >Hi,
> >
> >This is the first time I have heard of such problems under windows,
> >therefore, I'd rather suspect the difference lies in the java or maven
> >version rather than in the os. Which java version are you using on
windows
> >? And which maven version are you using ?
> >
> >I'd recommend to use maven 1.0.2, where xercesImpl-2.4.0.jar is located
in
> >maven/lib/endorsed. Maybe in other maven versions, the library should be
> >put there.
> >
> > Thomas
> >
> >"Piechu Piechu" <pi...@wp.pl> schrieb am 19.10.2005 19:47:45:
> >
> >
> >
> >>I'm trying to create sql scripts and java classes from schema file.
> >>Under Linux everything is ok, but when I'm trying to do it under
> >>Windows - operation maven torqe ends with such information:
> >>
> >>BUILD FAILED
> >>File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
> >>Element ... taskdef
> >>Line ...... 87
> >>Column .... 67
> >>taskdef A class needed by class org.apache.torque.task.
> >>TorqueJDBCTransformTask cannot be found:
> >>org/apache/xerces/dom/CoreDocumentImpl
> >>
> >>All needed jars were downloaded without any errors and mentioned
> >>above class is in directory \.maven\repositiory\xerces\jars - both
> >>xerces-2.4.0.jar and xercesImpl-2.4.0
> >>
> >>What should I do to run torque under Windows
> >>
> >>Regards
> >>Jakub Piechnik
> >>
> >>P.S. I tried to put all jars from lib directory from torque*.zip
> >>file and my database JDBC driver to the classpath - but it has no
> >>
> >>
> >results.
> >
> >
> >>----------------------------------------------------
> >>Wejdź na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
> >>i osoby towarzyszącej! Wyruszycie w podróż nowym promem Stena Line!
> >>Stań oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
> >>http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
Re: Building under Windows
Posted by Piechu <pi...@wp.pl>.
I was using Maven 1.1-Beta 2 with Java 1.5.0_05
Now I've installed Maven 1.0.2 but still I've got some errors. At first
even if i put in project.properties line torque.schema.dir = .\schema
I've got an error that schema can not be found - and path to the scham
is shown as ProjectDir\src\schema, even though it should be
ProjectDir\schema. If I put it under src directory - I've got such an error:
BUILD FILED
File ... ..\maven-torque-plugin-3.1.1\plugin.jelly
Element ... torque-sql
Line ........ 165
Column .... 49
Exception thrown by 'properties.load'. For more information consult the
velocity log or invoke ant with the -debug flag.
The velocity log contains:
2005-10-20 12:04:02,453 - SimpleLog4JLogSystem initialized using logfile
'velocity.log'
2005-10-20 12:04:02,453 -
**************************************************************
2005-10-20 12:04:02,468 - Starting Jakarta Velocity v1.3.1
2005-10-20 12:04:02,468 - RuntimeInstance initializing.
2005-10-20 12:04:02,468 - Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
2005-10-20 12:04:02,468 - Trying to use logger class
org.apache.velocity.runtime.log.AvalonLogSystem
2005-10-20 12:04:02,468 - 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-10-20 12:04:02,468 - Trying to use logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2005-10-20 12:04:02,468 - Using logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2005-10-20 12:04:02,468 - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2005-10-20 12:04:02,468 - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2005-10-20 12:04:02,468 - ClasspathResourceLoader : initialization starting.
2005-10-20 12:04:02,468 - ClasspathResourceLoader : initialization complete.
2005-10-20 12:04:02,468 - ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
2005-10-20 12:04:02,468 - Default ResourceManager initialization complete.
2005-10-20 12:04:02,468 - Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
2005-10-20 12:04:02,468 - Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
2005-10-20 12:04:02,468 - Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
2005-10-20 12:04:02,484 - Loaded System Directive:
org.apache.velocity.runtime.directive.Include
2005-10-20 12:04:02,484 - Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
2005-10-20 12:04:02,609 - Created: 20 parsers.
2005-10-20 12:04:02,609 - Velocimacro : initialization starting.
2005-10-20 12:04:02,609 - Velocimacro : adding VMs from VM library
template : VM_global_library.vm
2005-10-20 12:04:02,609 - ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.
2005-10-20 12:04:02,609 - Velocimacro : error using VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
2005-10-20 12:04:02,609 - Velocimacro : VM library template macro
registration complete.
2005-10-20 12:04:02,609 - Velocimacro : allowInline = true : VMs can be
defined inline in templates
2005-10-20 12:04:02,609 - Velocimacro : allowInlineToOverride = false :
VMs defined inline may NOT replace previous VM definitions
2005-10-20 12:04:02,609 - Velocimacro : allowInlineLocal = false : VMs
defined inline will be global in scope if allowed.
2005-10-20 12:04:02,609 - Velocimacro : messages on : VM system will
output logging messages
2005-10-20 12:04:02,609 - Velocimacro : autoload off : VM system will
not automatically reload global library macros
2005-10-20 12:04:02,609 - Velocimacro : initialization complete.
2005-10-20 12:04:02,609 - Velocity successfully started.
2005-10-20 12:04:40,937 - SimpleLog4JLogSystem initialized using logfile
'velocity.log'
2005-10-20 12:04:40,937 -
**************************************************************
2005-10-20 12:04:40,937 - Starting Jakarta Velocity v1.3.1
2005-10-20 12:04:40,937 - RuntimeInstance initializing.
2005-10-20 12:04:40,937 - Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
2005-10-20 12:04:40,937 - Trying to use logger class
org.apache.velocity.runtime.log.AvalonLogSystem
2005-10-20 12:04:40,937 - 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-10-20 12:04:40,937 - Trying to use logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2005-10-20 12:04:40,937 - Using logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2005-10-20 12:04:40,937 - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2005-10-20 12:04:40,937 - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2005-10-20 12:04:40,937 - ClasspathResourceLoader : initialization starting.
2005-10-20 12:04:40,937 - ClasspathResourceLoader : initialization complete.
2005-10-20 12:04:40,953 - ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
2005-10-20 12:04:40,953 - Default ResourceManager initialization complete.
2005-10-20 12:04:40,953 - Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
2005-10-20 12:04:40,953 - Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
2005-10-20 12:04:40,953 - Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
2005-10-20 12:04:40,953 - Loaded System Directive:
org.apache.velocity.runtime.directive.Include
2005-10-20 12:04:40,953 - Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
2005-10-20 12:04:41,078 - Created: 20 parsers.
2005-10-20 12:04:41,078 - Velocimacro : initialization starting.
2005-10-20 12:04:41,078 - Velocimacro : adding VMs from VM library
template : VM_global_library.vm
2005-10-20 12:04:41,078 - ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.
2005-10-20 12:04:41,078 - Velocimacro : error using VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
2005-10-20 12:04:41,078 - Velocimacro : VM library template macro
registration complete.
2005-10-20 12:04:41,078 - Velocimacro : allowInline = true : VMs can be
defined inline in templates
2005-10-20 12:04:41,078 - Velocimacro : allowInlineToOverride = false :
VMs defined inline may NOT replace previous VM definitions
2005-10-20 12:04:41,078 - Velocimacro : allowInlineLocal = false : VMs
defined inline will be global in scope if allowed.
2005-10-20 12:04:41,078 - Velocimacro : messages on : VM system will
output logging messages
2005-10-20 12:04:41,078 - Velocimacro : autoload off : VM system will
not automatically reload global library macros
2005-10-20 12:04:41,078 - Velocimacro : initialization complete.
2005-10-20 12:04:41,078 - Velocity successfully started.
2005-10-20 12:04:41,218 - ResourceManager : found sql/base/Control.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2005-10-20 12:04:41,234 - Method load threw exception for reference
$properties in template sql/base/Control.vm at [2,19]
2005-10-20 12:05:13,000 - SimpleLog4JLogSystem initialized using logfile
'velocity.log'
2005-10-20 12:05:13,000 -
**************************************************************
2005-10-20 12:05:13,000 - Starting Jakarta Velocity v1.3.1
2005-10-20 12:05:13,000 - RuntimeInstance initializing.
2005-10-20 12:05:13,000 - Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
2005-10-20 12:05:13,000 - Trying to use logger class
org.apache.velocity.runtime.log.AvalonLogSystem
2005-10-20 12:05:13,000 - 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-10-20 12:05:13,000 - Trying to use logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2005-10-20 12:05:13,000 - Using logger class
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
2005-10-20 12:05:13,000 - Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
2005-10-20 12:05:13,000 - Resource Loader Instantiated:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2005-10-20 12:05:13,000 - ClasspathResourceLoader : initialization starting.
2005-10-20 12:05:13,000 - ClasspathResourceLoader : initialization complete.
2005-10-20 12:05:13,015 - ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
2005-10-20 12:05:13,015 - Default ResourceManager initialization complete.
2005-10-20 12:05:13,015 - Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
2005-10-20 12:05:13,015 - Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
2005-10-20 12:05:13,015 - Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
2005-10-20 12:05:13,015 - Loaded System Directive:
org.apache.velocity.runtime.directive.Include
2005-10-20 12:05:13,015 - Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
2005-10-20 12:05:13,140 - Created: 20 parsers.
2005-10-20 12:05:13,140 - Velocimacro : initialization starting.
2005-10-20 12:05:13,140 - Velocimacro : adding VMs from VM library
template : VM_global_library.vm
2005-10-20 12:05:13,140 - ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.
2005-10-20 12:05:13,140 - Velocimacro : error using VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
2005-10-20 12:05:13,140 - Velocimacro : VM library template macro
registration complete.
2005-10-20 12:05:13,140 - Velocimacro : allowInline = true : VMs can be
defined inline in templates
2005-10-20 12:05:13,140 - Velocimacro : allowInlineToOverride = false :
VMs defined inline may NOT replace previous VM definitions
2005-10-20 12:05:13,140 - Velocimacro : allowInlineLocal = false : VMs
defined inline will be global in scope if allowed.
2005-10-20 12:05:13,140 - Velocimacro : messages on : VM system will
output logging messages
2005-10-20 12:05:13,140 - Velocimacro : autoload off : VM system will
not automatically reload global library macros
2005-10-20 12:05:13,140 - Velocimacro : initialization complete.
2005-10-20 12:05:13,140 - Velocity successfully started.
2005-10-20 12:05:13,281 - ResourceManager : found sql/base/Control.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2005-10-20 12:05:13,296 - Method load threw exception for reference
$properties in template sql/base/Control.vm at [2,19]
I've got my sql driver (postgresql-8.1dev-402.jdbc3.jar) put into my
classpath
Regards
Jakub Piechnik
Thomas Fischer napisał(a):
>
>
>Hi,
>
>This is the first time I have heard of such problems under windows,
>therefore, I'd rather suspect the difference lies in the java or maven
>version rather than in the os. Which java version are you using on windows
>? And which maven version are you using ?
>
>I'd recommend to use maven 1.0.2, where xercesImpl-2.4.0.jar is located in
>maven/lib/endorsed. Maybe in other maven versions, the library should be
>put there.
>
> Thomas
>
>"Piechu Piechu" <pi...@wp.pl> schrieb am 19.10.2005 19:47:45:
>
>
>
>>I'm trying to create sql scripts and java classes from schema file.
>>Under Linux everything is ok, but when I'm trying to do it under
>>Windows - operation maven torqe ends with such information:
>>
>>BUILD FAILED
>>File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
>>Element ... taskdef
>>Line ...... 87
>>Column .... 67
>>taskdef A class needed by class org.apache.torque.task.
>>TorqueJDBCTransformTask cannot be found:
>>org/apache/xerces/dom/CoreDocumentImpl
>>
>>All needed jars were downloaded without any errors and mentioned
>>above class is in directory \.maven\repositiory\xerces\jars - both
>>xerces-2.4.0.jar and xercesImpl-2.4.0
>>
>>What should I do to run torque under Windows
>>
>>Regards
>>Jakub Piechnik
>>
>>P.S. I tried to put all jars from lib directory from torque*.zip
>>file and my database JDBC driver to the classpath - but it has no
>>
>>
>results.
>
>
>>----------------------------------------------------
>>Wejdź na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
>>i osoby towarzyszącej! Wyruszycie w podróż nowym promem Stena Line!
>>Stań oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
>>http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
>>
>>
>>
>>---------------------------------------------------------------------
>>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
RE: Building under Windows
Posted by Thomas Fischer <fi...@seitenbau.net>.
Hi,
This is the first time I have heard of such problems under windows,
therefore, I'd rather suspect the difference lies in the java or maven
version rather than in the os. Which java version are you using on windows
? And which maven version are you using ?
I'd recommend to use maven 1.0.2, where xercesImpl-2.4.0.jar is located in
maven/lib/endorsed. Maybe in other maven versions, the library should be
put there.
Thomas
"Piechu Piechu" <pi...@wp.pl> schrieb am 19.10.2005 19:47:45:
> I'm trying to create sql scripts and java classes from schema file.
> Under Linux everything is ok, but when I'm trying to do it under
> Windows - operation maven torqe ends with such information:
>
> BUILD FAILED
> File ....\.maven\cahce\maven-torque-plugin-3.1.1\plugin.jelly
> Element ... taskdef
> Line ...... 87
> Column .... 67
> taskdef A class needed by class org.apache.torque.task.
> TorqueJDBCTransformTask cannot be found:
> org/apache/xerces/dom/CoreDocumentImpl
>
> All needed jars were downloaded without any errors and mentioned
> above class is in directory \.maven\repositiory\xerces\jars - both
> xerces-2.4.0.jar and xercesImpl-2.4.0
>
> What should I do to run torque under Windows
>
> Regards
> Jakub Piechnik
>
> P.S. I tried to put all jars from lib directory from torque*.zip
> file and my database JDBC driver to the classpath - but it has no
results.
>
> ----------------------------------------------------
> Wejdź na strone: Halloween.wp.pl i WYGRAJ "czarci" rejs dla siebie
> i osoby towarzyszącej! Wyruszycie w podróż nowym promem Stena Line!
> Stań oko w oko z duchami i zobacz kto jest lepszy - Kliknij:
> http://klik.wp.pl/?adr=www.halloween.wp.pl&sid=535
>
>
>
> ---------------------------------------------------------------------
> 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