You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Fabien Lesire <FL...@isaserver.be> on 2001/05/08 15:36:03 UTC

Optional Task

Hello,

I have install optional.jar in my ANT_HOME\lib to use ant with PVCS but each
time i try to build, i have the following message :

	D:\Java\scripts\param1.xml:16: Could not create task of type: pvcs.
Common solut
	ions are to use taskdef to declare your task, or, if this is an
optional task, t
	o put the optional.jar in the lib directory of your ant installation
(ANT_HOME).

can someone help me ?

Thanks,
Lesire Fabien




Re: SQL and timestamp

Posted by Stefan Bodewig <bo...@apache.org>.
Murakozi Sandor <h6...@stud.u-szeged.hu> wrote:

> It works, but the filename will be ${DSTAMP} instead of 20010505 eg.
> Can anybody help, please what the problem is?

Ant doesn't expand properties in <sql>.  There is an enhancement
request in bugzilla but it has not been implemented (or a solution
committed) yet.

Stefan

SQL and timestamp

Posted by Murakozi Sandor <h6...@stud.u-szeged.hu>.
	Hi all,

I try to use timestamp in an sql statement, like this:
<sql>
...
>
   backup database db to disk='c:\temp\${DSTAMP}'
</sql>

It works, but the filename will be ${DSTAMP} instead of 20010505 eg.
Can anybody help, please what the problem is?

Thanks in advance,
	Don