ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fanyun" <yun....@vtradex.com>
Subject Ant SQL call and double byte charactors
Date Fri, 10 Aug 2001 04:12:07 GMT
Hi all:

I am using ant 1.3.   When I want use ant to execute an sql file which has some chinese charactor
inside it,  I find ant seems can not handle double bytes correctly.  Is there any solution?

The sql file its self can be installed correctly using 
	
	mysql < a.sql


Regards


fanyun

-----Original Message-----
From: Jason Rogers [mailto:jason.rogers@tumbleweed.com]
Sent: Friday, August 10, 2001 2:00 AM
To: 'ant-user@jakarta.apache.org'
Subject: RE: How do I remove multiple directories?


I think you could do the following:

<delete includeEmptyDirs="true" >
   <fileset dir="parent_of_dirname-*" />
</delete>

If that doesn't work, do an <exec/> on the *nix command.

-Jason

    > -----Original Message-----
    > From: Ivan Bilenjkij [mailto:ibilenjkij@mistwireless.com]
    > Sent: Thursday, August 09, 2001 1:52 PM
    > To: ant-user@jakarta.apache.org
    > Subject: How do I remove multiple directories?
    > 
    > 
    > Hello,
    > 
    > I have a group of directories with names like: 
    > dirname-0001, dirname-0002,
    > etc. that I would like to remove, regardles whether 
    > they're empty or not. On
    > *nix box I would just type rm -rf dirname-* but if I try 
    > to do this with
    > ant, like: <delete file="dirname-*" /> nothing happens. 
    > Does anybody know
    > how do I do this?
    > 
    > 
    > Thanx
    > 
    > 
    > 

Mime
View raw message