It is if you don't want to configure the task manually.... I personally
think it feels hack-ish to do project.createTask, but it works and <sql>
isn't ever going to get renamed!  :)


----- Original Message -----
From: "Edson Alves Pereira" <[EMAIL PROTECTED]>
To: ""Ant Developers List"" <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 2:48 PM
Subject: RE: Re: Task inside task


>   I called new SQLExec( )! But now i think that project.createTask( ) is
the best way to do that,isn�t?
>
> "Erik Hatcher" <[EMAIL PROTECTED]> wrote:
>
> >How about including some Java code with your questions so we can better
tell
> >what you're doing under the hood.
> >
> >Have you called project.createTask("sql")? Or doing 'new SQLExec()'? Use
> >createTask. You can also call setTaskName for internally used tasks.
> >
> > Erik
> >
> >----- Original Message -----
> >From: "Edson Alves Pereira" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Monday, April 15, 2002 2:20 PM
> >Subject: Task inside task
> >
> >
> >> Hello again! I trying to create a custom task to automatic take the
> >files to configure a database, create a database an build the tables.
Those
> >three things are in different files and two of then ( the configuration
and
> >the connection of database is not SQL, so i need to parse then to SQL to
> >SQLExec understand, the last one that i need to create the tables is
normal
> >SQL statements and i can pass to SQLExec using setSrc( ) method. My
problem
> >i, what the normal way to call a task inside another? Because when
SQLExec
> >show me its output as:
> >>
> >> [null] Executing commands
> >> [null] Failed to execute: create database bdata
> >>
> >> With best wishes,
> >> Edson Alves Pereira
> >>
> >>
> >> __________________________________________________________________
> >> Your favorite stores, helpful shopping tools and great gift ideas.
> >Experience the convenience of buying online with [EMAIL PROTECTED]
> >http://shopnow.netscape.com/
> >>
> >> Get your own FREE, personal Netscape Mail account today at
> >http://webmail.netscape.com/
> >>
> >>
> >> --
> >> 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]>
> >
> >
>
>
> --
> ///////////////////////////////////////
> Better well done than well said.
>  --//--
> To follow the path:
> look to the master,
> follow the master,
> walk with the master,
> see through the master,
> become the master.
>
> Modern Zen poem
> ///////////////////////////////////////
>
>
>
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with [EMAIL PROTECTED]
http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
>
>
> --
> 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