This is how my personal build.xml does it:

<target name="db">
  <ant antfile="build-torque.xml" />
  <ant antfile="build-torque.xml" target="create-db" />
  <ant antfile="build-torque.xml" target="id-table-init-sql" />
  <ant antfile="build-torque.xml" target="insert-sql" />
 </target>

----- Original Message -----
From: "Rick Ross" <[EMAIL PROTECTED]>
To: "Turbine Torque Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 10:44 AM
Subject: Re: problem with bookstore sample


> You need to run the create-db target first.
>
> ----- Original Message -----
> From: "Russell Smyth" <[EMAIL PROTECTED]>
> To: "Turbine-Torque-User (E-mail)"
<[EMAIL PROTECTED]>
> Sent: Wednesday, August 28, 2002 10:41 AM
> Subject: problem with bookstore sample
>
>
> > I am trying to get the bookstore sample working "as advertised" - I have
> > gotten it working by hand tweeking or hand running sql, but I would like
> to
> > get to the point where all that should be automated is - this is very
> > relevant for the real project in which we are considering Torque.
> >
> > the problem I am having is when I run
> >
> > ant -f  build-torque.xml insert-sql
> >
> > the id_table population is attempted BEFORE the id_table is created,
which
> > of course fails.
> >
> > Is this a known problem? is there a fix/workaround? (other than running
> the
> > id_table population seperately.
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to