db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject RE: doesnot support basepathtodbprops
Date Thu, 24 May 2007 12:59:21 GMT
It seems that in your ant script you seem to give the sql task a property
basepathtodbprops which it does not support. A possible fix would be to
remove the property from your ant file.

   Thomas

"Neelima Yadla" <Neelima.Yadla@CBC-Companies.com> schrieb am 24.05.2007
13:39:53:

> Hi,
> The following is the more error messages when I build with debug mode,
> BUILD FAILED
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:122: The following error
> occurred while executing this line:
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:181: The following error
> occurred while executing this line:
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The <torque-sql>
> type doesn't support the "basepathtodbprops" attribute.
>    at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe
> lper.java:539)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
>    at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>    at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>    at org.apache.tools.ant.Task.perform(Task.java:364)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>    at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
> or.java:40)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.Main.runBuild(Main.java:668)
>    at org.apache.tools.ant.Main.startAnt(Main.java:187)
>    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Caused by: C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:181: The
> following error occurred while executing this line:
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The <torque-sql>
> type doesn't support the "basepathtodbprops" attribute.
>    at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe
> lper.java:539)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
>    at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>    at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>    at org.apache.tools.ant.Task.perform(Task.java:364)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
> ckExecutor.java:37)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>    ... 13 more
> Caused by: C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The
> <torque-sql> type doesn't support the "basepathtodbprops" attribute.
>    at
> org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelpe
> r.java:389)
>    at
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
> ble.java:370)
>    at
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
> ble.java:324)
>    at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
>    at
> org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
>    at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
> 58)
>    at org.apache.tools.ant.Task.perform(Task.java:363)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
> ckExecutor.java:37)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>    ... 22 more
> --- Nested Exception ---
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:181: The following error
> occurred while executing this line:
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The <torque-sql>
> type doesn't support the "basepathtodbprops" attribute.
>    at
> org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe
> lper.java:539)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
>    at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>    at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>    at org.apache.tools.ant.Task.perform(Task.java:364)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
> ckExecutor.java:37)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>    at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>    at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>    at org.apache.tools.ant.Task.perform(Task.java:364)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>    at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
> or.java:40)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.Main.runBuild(Main.java:668)
>    at org.apache.tools.ant.Main.startAnt(Main.java:187)
>    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> Caused by: C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The
> <torque-sql> type doesn't support the "basepathtodbprops" attribute.
>    at
> org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelpe
> r.java:389)
>    at
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
> ble.java:370)
>    at
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
> ble.java:324)
>    at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
>    at
> org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
>    at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
> 58)
>    at org.apache.tools.ant.Task.perform(Task.java:363)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
> ckExecutor.java:37)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>    ... 22 more
> --- Nested Exception ---
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The <torque-sql>
> type doesn't support the "basepathtodbprops" attribute.
>    at
> org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelpe
> r.java:389)
>    at
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
> ble.java:370)
>    at
> org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigura
> ble.java:324)
>    at org.apache.tools.ant.Task.maybeConfigure(Task.java:254)
>    at
> org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:189)
>    at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:1
> 58)
>    at org.apache.tools.ant.Task.perform(Task.java:363)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
> ckExecutor.java:37)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>    at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>    at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>    at org.apache.tools.ant.Task.perform(Task.java:364)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
> ckExecutor.java:37)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>    at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>    at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>    at org.apache.tools.ant.Task.perform(Task.java:364)
>    at org.apache.tools.ant.Target.execute(Target.java:341)
>    at org.apache.tools.ant.Target.performTasks(Target.java:369)
>    at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>    at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
> or.java:40)
>    at
> org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>    at org.apache.tools.ant.Main.runBuild(Main.java:668)
>    at org.apache.tools.ant.Main.startAnt(Main.java:187)
>    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
>    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>
> Total time: 4 seconds
>
> I appreciate any help on this,
>
> Thanks,
>
> -----Original Message-----
> From: Neelima Yadla
> Sent: Wednesday, May 23, 2007 9:06 AM
> To: torque-user@db.apache.org
> Subject: doesnot support basepathtodbprops
>
> I have torque-gen-templates-3.2.jar in my lib directory. When I try to
> build my app it is giving me the following error:
>
> BUILD FAILED
>
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:122: The following error
> occurred while executing this line:
>
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:181: The following error
> occurred while executing this line:
>
> C:\cbc\tdk\tdk\webapps\scoring\build-torque.xml:195: The <torque-sql>
> type doesn't support the "basepathtodbprops" attribute.
>
>
>
> Thanks,
>
> Neelima
>
>
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message