You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Weaver, Scott" <Sw...@rippe.com> on 2002/02/06 23:54:47 UTC
[PATCH] value in build.xml incorrect in TDK
env:
velocity= 1.3-dev
turbine = 2.2
tdk = built from CVS HEAD
ant = 1.4.1
I think there is a pathing issue with the build.xml generated for projects.
in the "idtable-init-sql" target the torque-sql task has
contextProperties="sql/id-table/turbine.props"
ant(texen?) cannot resolve "sql/id-table/turbine.props" and causes
$InitialID to be null within the context of id-table templates which in turn
generates bad SQL.
by changing it to
contextProperties="${templatePath}/sql/id-table/turbine.props"
everything works fine.
I checked on older TDK versions and they seemed to have the same value for
contextProperties but worked correctly. If no one else can duplicate this
please let me know so I can figure what I screwed up on my development
machine ;-)
Scott
Re: [PATCH] value in build.xml incorrect in TDK
Posted by Jason van Zyl <jv...@zenplex.com>.
On 2/9/02 7:31 PM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:
> I took a cursory look and couldn't tell one way or another (I didn't
> attempt to build). Jason, any comment on this one?
>
> Dan
Sure, I'll take a look.
Scott,
What TDK are we talking about here because I know you build it yourself. You
know the stuff in CVS isn't much like what's in the 2.1 TDK build file wise.
> "Weaver, Scott" <Sw...@rippe.com> writes:
>
>> env:
>> velocity= 1.3-dev
>> turbine = 2.2
>> tdk = built from CVS HEAD
>> ant = 1.4.1
>>
>> I think there is a pathing issue with the build.xml generated for projects.
>>
>> in the "idtable-init-sql" target the torque-sql task has
>>
>> contextProperties="sql/id-table/turbine.props"
>>
>> ant(texen?) cannot resolve "sql/id-table/turbine.props" and causes $InitialID
>> to be null within the context of id-table templates which in turn generates
>> bad
>> SQL.
>>
>> by changing it to
>>
>> contextProperties="${templatePath}/sql/id-table/turbine.props"
>>
>> everything works fine.
>>
>> I checked on older TDK versions and they seemed to have the same value for
>> contextProperties but worked correctly. If no one else can duplicate this
>> please let me know so I can figure what I screwed up on my development
>> machine
>> ;-)
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [PATCH] value in build.xml incorrect in TDK
Posted by Daniel Rall <dl...@finemaltcoding.com>.
I took a cursory look and couldn't tell one way or another (I didn't
attempt to build). Jason, any comment on this one?
Dan
"Weaver, Scott" <Sw...@rippe.com> writes:
> env:
> velocity= 1.3-dev
> turbine = 2.2
> tdk = built from CVS HEAD
> ant = 1.4.1
>
> I think there is a pathing issue with the build.xml generated for projects.
>
> in the "idtable-init-sql" target the torque-sql task has
>
> contextProperties="sql/id-table/turbine.props"
>
> ant(texen?) cannot resolve "sql/id-table/turbine.props" and causes $InitialID
> to be null within the context of id-table templates which in turn generates bad
> SQL.
>
> by changing it to
>
> contextProperties="${templatePath}/sql/id-table/turbine.props"
>
> everything works fine.
>
> I checked on older TDK versions and they seemed to have the same value for
> contextProperties but worked correctly. If no one else can duplicate this
> please let me know so I can figure what I screwed up on my development machine
> ;-)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>