Does "ant init" complete successfully? If not, can you send the output of the build process itself?
On Wed, 24 Apr 2002 12:54:50 -0400 Matthew Woodworth <[EMAIL PROTECTED]> wrote: > Friends, > > I sent this last night but I didn't get any answers. Maybe my email was too > long? I'm going to try to shorten it a bit with hopes that somebody can > help me. > > Thanks in advance, > Matt W. > > -----Original Message----- > From: Matthew Woodworth [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 5:15 PM > To: [EMAIL PROTECTED] > Subject: newbie sample app question > > > Friends, > > Today is my first day with Turbine and I'm trying to get the sample app > working. I think that my problem has something to do with getting the > database set up correctly. > > In my build.properties file I made these changes: (real values replaced > with "private") > I'm pretty sure this is the only change I made to the default values. > ======================================================== > database = oracle > > databaseUrl = jdbc:oracle:oci8:@private > databaseDriver = oracle.jdbc.driver.OracleDriver > databaseUser = private > databasePassword = private > databaseHost = private.cisco.com > ======================================================== > > When I run ant init I get this in my velocity log: > ======================================================== > <snipped various successful messages> > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : initialization starting. > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : adding VMs from VM > library template : VM_global_library.vm > Tue Apr 23 16:44:16 EDT 2002 [error] ResourceManager : unable to find > resource 'VM_global_library.vm' in any resource loader. > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : error using VM library > template VM_global_library.vm : > org.apache.velocity.exception.ResourceNotFoundException: Unable to find > resource 'VM_global_library.vm' > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : allowInline = true : VMs > can be defined inline in templates > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : allowInlineToOverride = > false : VMs defined inline may NOT replace previous VM definitions > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : allowInlineLocal = false > : VMs defined inline will be global in scope if allowed. > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : messages on : VM system > will output logging messages > Tue Apr 23 16:44:16 EDT 2002 [info] Velocimacro : initialization complete. > Tue Apr 23 16:44:16 EDT 2002 [info] Velocity successfully started. > Tue Apr 23 16:44:16 EDT 2002 [info] ResourceManager : found > sql/db-init/Control.vm with loader > org.apache.velocity.runtime.resource.loader.FileResourceLoader > Tue Apr 23 16:44:16 EDT 2002 [error] ResourceManager : unable to find > resource 'sql/db-init/oracle/windows.vm' in any resource loader. > Tue Apr 23 16:44:16 EDT 2002 [error] Method parse threw exception for > reference $generator in template sql/db-init/Control.vm at [2,1] > ======================================================== > > Another symptom is that all the code in the org.mycompany.newapp.om package > wasn't generated. That caused the three .java files that import those > classes to fail to compile. > > Can anybody help me? > > Thanks in advance, > Matt W. > > PS A quick google search shows me that several people have had this problem > before. However, I didn't see any answers. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Brian Lawler -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
