questions about dirset and depend task

2010-01-12 Thread 張毓成
Hi, everyone! I wanna ask two questions. 1. how to select folders and sub folders that contains the specific filetype, and excludes all files. e.g. select all folders that contains js files. i use the following script and it did not work. 2.how to use the depend task? I delele a java

Re: SQl task error - A ? placed at beginning of lines of sql file

2010-01-12 Thread mtbvang
Removing the "SET FOREIGN_KEY_CHECKS=0" resolved the issue in my create table statement. Now I'm getting pretty much the same error in my insert test data script. The strange thing is, when I embed this sql between the tags it runs, but when I specify a file using the src attribute of transaction

Re: SQl task error - A ? placed at beginning of lines of sql file

2010-01-12 Thread mtbvang
Thanks Antoine, that was it. It was a no brainer that I didn't see. Much appreciated. Vang mtbvang wrote: > > Hi, > > I am getting the following error when using the > /mysql-connector-java-5.1.10-bin.jar in an Ant 1.7 SQL task. For some > reason a ? is being placed at the beginning of my com

Re: SQl task error - A ? placed at beginning of lines of sql file

2010-01-12 Thread Antoine Levy-Lambert
Hello, maybe "SET FOREIGN_KEY_CHECKS=0" is not valid for a JDBC connection. There are some vendor specific SQL instructions which are not valid inside JDBC. The ant sql task is a wrapper around JDBC. Maybe the task would need to be extended somehow to allow this kind of settings. Regards, Ant

SQl task error - A ? placed at beginning of lines of sql file

2010-01-12 Thread mtbvang
Hi, I am getting the following error when using the /mysql-connector-java-5.1.10-bin.jar in an Ant 1.7 SQL task. For some reason a ? is being placed at the beginning of my comment and sql statement lines. I've included the error from the cmd prompt and my and tasks below. Any one know what's goin

[ANN] Ant 1.8.0RC1 released

2010-01-12 Thread Antoine Levy Lambert
Hi, Apache Ant 1.8.0RC1 is now available for download. The most important changes are : * a new top level element extension-point allows build files to be extended with custom targets more easily * if and unless attributes will be evaluated according to the values of the properties ente

Update manifest in existing jars with additional attributes

2010-01-12 Thread Vinayak
Hi, I have a need to build a target that updates/adds the manifest of jar files with additional attributes (perhaps replace if it's already present). If I use a jar task, with 'update="true"' and an inline manifest element containing the property I want to add, and no files specified, what is it