Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 92013 invoked from network); 9 Nov 2009 23:05:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Nov 2009 23:05:54 -0000 Received: (qmail 16243 invoked by uid 500); 9 Nov 2009 23:05:54 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 16210 invoked by uid 500); 9 Nov 2009 23:05:54 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 16200 invoked by uid 99); 9 Nov 2009 23:05:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 23:05:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.206.117] (HELO web33302.mail.mud.yahoo.com) (68.142.206.117) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 09 Nov 2009 23:05:43 +0000 Received: (qmail 86441 invoked by uid 60001); 9 Nov 2009 23:05:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1257807921; bh=m++Fo+F6SY5wc+MeH1BdFGXPsmHD7fCUbOwPwDlWNKY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Dz03S13DLwdVhVdgMSM+ahCMhK3XuyEVLx0WtvqKQqTiRToUKJnigmw8PeerpRr/VWW7jy4852ulTupduR7oetoX84zmE9AqRRMrPnI4nXyVzaaH9ftlNpjdbDddo8N6/0M963/MlJO+01PeHInt8DtpvpvUa61Z8Dw7EeKbzvk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=0K6/oj5e05EaE33rhnbAduBdGNv82tQWSvQyQ1MsoyXYKu5xYIj9ErX478/e/NmfmaE8zxEXfJJcR8WTBp4d5IBAh9RQK5FJBYiuizvhe4pZadEmj4dkQ3o2Ia9UMBu7QVJ6wpEBisrYoohBXpPb+o9O94nYXm9OCXiJgK4gl9Q=; Message-ID: <557658.85612.qm@web33302.mail.mud.yahoo.com> X-YMail-OSG: bWWuzQAVM1ki7Yr9dnq9a0UmKnMAgvIG6A_F0K2m30Yxt1zvAHVg6l.JRTbVT_uLpU.zMO2AcGVdINqrxCWfy7CC_OBJAbbYwe2h6PCahD3TI1L05ysdB7UzJxLyaYPaMrrt9entmJE9paP.qkUNzIUXsUpwWvA6tst6S5up5IaeiEE1ldKZD3z0aoxn7mSlU.DAW0Q84qYBrPalI6.5np_2HBk6baTGxpQ5_ZFSBF0amEjG5UwvwnvIfDnCPMAn39aavkZbDMQOJZJ5WUPsIPT481R2pHkcMz1zUdBgM9zZeoi5tO9dXTbmyh5AmHDdkUPENVX92Hdwry9xMbUGHCesr6.HAPUm8zPKfWp.xLLtpUTGGoElCV7ITP9NCMwrzMnKkwhiwbR.vObVPrNA50EBaSEFqsp1rJpU99aKsFXtpjkJV_zqvZ0JX_FzE7UNi7K9i4_vLA-- Received: from [168.39.89.241] by web33302.mail.mud.yahoo.com via HTTP; Mon, 09 Nov 2009 15:05:21 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <20091106135234.116380@gmx.net> <4AF5F7AB.2030106@apache.org> <96440.88862.qm@web33308.mail.mud.yahoo.com> <4AF882ED.4000902@simmgene.com> <77387.83777.qm@web33304.mail.mud.yahoo.com> <857280.36345.qm@web33301.mail.mud.yahoo.com> <4AF88EE2.6050409@simmgene.com> <905506.48735.qm@web33301.mail.mud.yahoo.com> <55B8568AFA5F144F886F18186BAD5B2C05FA44C74D@durham-e2k7mb1.dukece.com> Date: Mon, 9 Nov 2009 15:05:21 -0800 (PST) From: Angela Day Subject: Re: [Torque] Using Torque again To: Apache Torque Users List In-Reply-To: <55B8568AFA5F144F886F18186BAD5B2C05FA44C74D@durham-e2k7mb1.dukece.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-545745163-1257807921=:85612" X-Virus-Checked: Checked by ClamAV on apache.org --0-545745163-1257807921=:85612 Content-Type: text/plain; charset=us-ascii I am using a newer version of velocity, 1.6. Torque is using 1.5. Maybe that is the problem. I will try that. Angela Day National Autism Association of Central Texas http://www.naacentraltexas.org formally FEAT Austin ________________________________ From: Greg Monroe To: Apache Torque Users List Sent: Mon, November 9, 2009 4:52:12 PM Subject: RE: [Torque] Using Torque again Only things I can think of are: - Make sure the "default.properties" file is in the same directory as the torque-build.xml. Not sure this is still used, but it could be needed somewhere. - Find the velocity.log file (probably in your project root directory) and see if there is any more info there. - Validate your xxx-schema.xml against the new DTD (E.g. load it in IE and see if any errors occur.) - You said "updated all my jar files"... Did that include the Texen and Velocity versions used by the generator? I think Texan and/or Velocity have made some changes since 3.3 was released. There could be a problem if newer versions are used. Note that the libraries used to run the generator tasks only needed for ant processes and don't need to be there for your application to compile or run (but you do need the libraries in the runtime package). You should make sure that the generator is only seeing the versions that come with the distribution. You can separate the build jars from your compile library by using the torque.lib.dir property in the build.properties. It defaults to "lib" but you can set it to something like "genlib" and put all the jars from the generator package lib in this. - Try simplifying what is going on. E.g. unpack the generator distro into a new directory, copy your xxx-schema.xml to the src/schema directory. Modify the default build.properties to meet your needs. Then try a few of the ant tasks with ant -f build.torque.xml If things work there, look at how you've added torque to your project. > -----Original Message----- > From: Angela Day [mailto:akcday@yahoo.com] > Sent: Monday, November 09, 2009 4:57 PM > To: Apache Torque Users List > Subject: Re: [Torque] Using Torque again > > No, I just replaced the build-torque.xml file with the one from torque- > 3.3.zip and just made a few little adjustments on the jar files in the > classpath. I updated all of my jar files to be at least as high as the > dependencies list from the torque website. I updated my xxx-schema.xml > to point to the correct database_3_3.xml file. Did I leave anything out? > > Thanks, > > > Angela Day > National Autism Association of Central Texas > > http://www.naacentraltexas.org > formally FEAT Austin > > > > > > ________________________________ > From: Sheldon Ross > To: Apache Torque Users List > Sent: Mon, November 9, 2009 3:51:30 PM > Subject: Re: [Torque] Using Torque again > > From what I understand, in newer versions of torque you should really > not be editing much in the build-torque.xml itself. > > At the top of your file, there should be something like this. > > > > > > This specifies the properties file torque will use for configuration. > I'm guessing you either don't have these lines defined correctly, or the > (in this example) "build.properties" file doesn't exist. > > > Ross > > Angela Day wrote: > > Never mind. I realized I was missing the torque-gen-templates-3.3.jar. > But I am still getting the original error: > > > > Exception thrown by 'properties.load' > > > > I have updated all of my jar files and specified them in the build- > torque.xml file. I have updated my (project)-build.xml file. I am not > getting any complaints about any of these files. Any Help would be > appreciated. > > > > Thanks, > > > > > > Angela Day > > National Autism Association of Central Texas > > > > http://www.naacentraltexas.org > > formally FEAT Austin > > > > > > > > > > > > ________________________________ > > From: Angela Day > > To: Apache Torque Users List > > Sent: Mon, November 9, 2009 3:18:29 PM > > Subject: Re: [Torque] Using Torque again > > > > I have been updating the build-torque.xml file and am now getting: > > > > C:\workspace\contract\build-torque.xml:96: taskdef class > org.apache.torque.task.TorqueDataModelTask cannot be found > > I have warning decoration next to all of the taskdefs. In what jar are > these classes found? > > > > > > Thanks, > > > > Angela Day > > National Autism Association of Central Texas > > > > http://www.naacentraltexas.org > > formally FEAT Austin > > > > > > > > > > > > ________________________________ > > From: Sheldon Ross > > To: Apache Torque Users List > > Sent: Mon, November 9, 2009 3:00:29 PM > > Subject: Re: [Torque] Using Torque again > > > > It would appear that there are significant differences in the > build.properties file (and/or build-torque.xml) from 1.0 to 3.3. > > > > My suggestion is to redo your old 1.0 build.properties file and make > sure it is of the proper form for 3.3 and use xml from 3.3 > > > > Ross > > > > Angela Day wrote: > > > >> I am trying to upgrade from Torque 1.0 to 3.3. I have replaced all of > the jar files and made sure my dependencies were covered. It is an > existing application that > >> was working until I converted, so I know it is finding the project- > schema.xml file > >> correctly. This question is posted on the > >> internet multiple times, with no solution. If you can help me out, I > >> would really appreciate it. > >> > >> > >> Thanks, > >> Angela > >> > >> > >> BUILD FAILED > >> C:\workspace\contract\build.xml:157: Following error occured while > executing thi > >> s line > >> C:\workspace\contract\build-torque.xml:503: Following error occured > while execut > >> ing this line > >> C:\workspace\contract\build-torque.xml:531: Exception thrown by > 'properties.load > >> '. For more information consult the velocity log, or invoke ant with > the -debug > >> flag. > >> at > org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec > >> tHelper.java:537) > >> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:385) > >> at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) > >> at org.apache.tools.ant.Task.perform(Task.java:364) > >> at org.apache.tools.ant.Target.execute(Target.java:301) > >> at org.apache.tools.ant.Target.performTasks(Target.java:328) > >> at > org.apache.tools.ant.Project.executeTarget(Project.java:1215) > >> at > org.apache.tools.ant.Project.executeTargets(Project.java:1063) > >> at org.apache.tools.ant.Main.runBuild(Main.java:632) > >> at org.apache.tools.ant.Main.startAnt(Main.java:183) > >> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197) > >> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56) > >> Caused by: C:\workspace\contract\build-torque.xml:503: Following error > occured w > >> hile executing this line > >> C:\workspace\contract\build-torque.xml:531: Exception thrown by > 'properties.load > >> '. For more information consult the velocity log, or invoke ant with > the -debug > >> flag. > >> at > org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec > >> tHelper.java:537) > >> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:385) > >> at > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107) > >> > >> at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) > >> at org.apache.tools.ant.Task.perform(Task.java:364) > >> at org.apache.tools.ant.Target.execute(Target.java:301) > >> at org.apache.tools.ant.Target.performTasks(Target.java:328) > >> at > org.apache.tools.ant.Project.executeTarget(Project.java:1215) > >> at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383) > >> ... 10 more > >> Caused by: C:\workspace\contract\build-torque.xml:531: Exception > thrown by 'prop > >> erties.load'. For more information consult the velocity log, or invoke > ant with > >> the -debug flag. > >> at > org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:596) > >> at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269) > >> > >> > > > > -- Sheldon Ross > > Software Development > > American Simmental Association > > sross@simmgene.com > > (406)587-4531 ext 102 > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > > For additional commands, e-mail: torque-user-help@db.apache.org > > > > -- > Sheldon Ross > Software Development > American Simmental Association > sross@simmgene.com > (406)587-4531 ext 102 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org DukeCE Privacy Statement: Please be advised that this e-mail and any files transmitted with it are confidential communication or may otherwise be privileged or confidential and are intended solely for the individual or entity to whom they are addressed. If you are not the intended recipient you may not rely on the contents of this email or any attachments, and we ask that you please not read, copy or retransmit this communication, but reply to the sender and destroy the email, its contents, and all copies thereof immediately. Any unauthorized dissemination, distribution or copying of this communication is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org --0-545745163-1257807921=:85612--