Re: [Torque] Using Torque again

Angela Day <[email protected]> Mon, 9 Nov 2009 13:33:46 -0800 (PST)
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <[email protected]>
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 <[email protected]>
To: Apache Torque Users List <[email protected]>
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 <[email protected]>
To: Apache Torque Users List <[email protected]>
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
[email protected]
(406)587-4531 ext 102 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]