RE: How to handle RAR in Ant

2006-06-27 Thread Keith Hatton
RAR as in J2EE Resource ARchive file? Just use jar with fileset and zipfileset, and unjar. Hope this helps Keith -Original Message- From: Leon Pu [mailto:[EMAIL PROTECTED] Sent: 27 June 2006 04:42 To: Ant Users List Subject: How to handle RAR in Ant Hi all, how to create and extract

How to starta DB using ANT script

2006-06-27 Thread Deepak Rao
Hi, Can we perform these tasks using an ANT build script. - start a DataBase (say mySql) - run a particular DB script on it. - export some particular data(projects) into it. - and then close down. Hope some one has an idea. Thanks and Regards Deepak Rao

Re: How to starta DB using ANT script

2006-06-27 Thread Ben Stringer
On Tue, 2006-06-27 at 14:54 +0530, Deepak Rao wrote: Hi, Can we perform these tasks using an ANT build script. - start a DataBase (say mySql) - run a particular DB script on it. - export some particular data(projects) into it. - and then close down. Hi Deepak, As long as you are

AW: How to starta DB using ANT script

2006-06-27 Thread Jan.Materne
Depend on your database Can we perform these tasks using an ANT build script. - start a DataBase (say mySql) exec with spawn/fork (havent it in my mind). - run a particular DB script on it. exec and your db-script-runner. If your script is in sql, try sql task. - export some

hi..

2006-06-27 Thread prashanth . l
new joinee to the group.. can anyone of you post how to get files from pvcs overwrite in sequence... advance thanx for ur help... Bye.. This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error

Re: hi..

2006-06-27 Thread Scot P. Floess
Take a peak at the pvcs task defined in the optional tasks... [EMAIL PROTECTED] wrote: new joinee to the group.. can anyone of you post how to get files from pvcs overwrite in sequence... advance thanx for ur help... Bye.. This e-Mail may contain proprietary and confidential information

RE: How to handle RAR in Ant

2006-06-27 Thread Leon Pu
Here are the error messages when I try to extract a RAR file which created by WinRAR. == D:\ant test Buildfile: build.xml test: [untar] Expanding: D:\test.rar into D: [untar] Unable to expand to file D:\Rar! BUILD SUCCESSFUL Total

pointer to vote on withdrawal of win98 support on Ant1.7

2006-06-27 Thread Steve Loughran
FYI, there is a vote taking place on the ant developer list about dropping win98 support (batch file, execution) from Ant1.7 if you feel strongly either way, now would be a good time to join the list and vote. Note that Ant on Win98 isnt easily testable, Win98 itself isnt supported by MS,

Logging output from the Java task?

2006-06-27 Thread Vincent Massol
Hi, I'm using Ant programatically in Cargo (to start J2EE containers) and I'd like to be able to log Ant's Java task output to Cargo's logging system. We're currently using Ant 1.5.x but I've seen that there's now an I/O redirector in Ant 1.6.2 which may help. I've also noticed that this

AW: Logging output from the Java task?

2006-06-27 Thread Jan.Materne
I think upgrading Ant is a good idea ;-) Ant 1.6.5 is current, 1.7 is on the pipeline. But you could also implement your own logger and catch all Ants output - including the java stuff. http://ant.apache.org/manual/listeners.html Jan -Ursprüngliche Nachricht- Von: Vincent Massol

SQL task - how to set collation (working with MySQL)

2006-06-27 Thread Eitan Gur
Hi I wanted to know whether (and how) I can instruct ANT to use a specific collation with the SQL task (specifically – when using MySQL). Thanks

RE: Logging output from the Java task?

2006-06-27 Thread Vincent Massol
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mardi 27 juin 2006 17:21 To: user@ant.apache.org Subject: AW: Logging output from the Java task? I think upgrading Ant is a good idea ;-) Ant 1.6.5 is current, 1.7 is on the pipeline. But you could

AW: SQL task - how to set collation (working with MySQL)

2006-06-27 Thread Jan.Materne
I wanted to know whether (and how) I can instruct ANT to use a specific collation with the SQL task (specifically - when using MySQL). Hhmm ... really an Ant related question or more SQL related? Jan - To unsubscribe,

RE: SQL task - how to set collation (working with MySQL)

2006-06-27 Thread Eitan Gur
I think it is an Ant related question, as I only want to know how to tell Ant to use a specific collation - I know how to do this in other clients. For me, Ant is just another client, and I would like to specify a parameter... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

AW: SQL task - how to set collation (working with MySQL)

2006-06-27 Thread Jan.Materne
Can you give an command line example for MySQL? Jan -Ursprüngliche Nachricht- Von: Eitan Gur [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 27. Juni 2006 18:38 An: Ant Users List Betreff: RE: SQL task - how to set collation (working with MySQL) I think it is an Ant related question, as

Re: How to handle RAR in Ant

2006-06-27 Thread Alexey N. Solofnenko
You need to run unrar with exec (maybe with uptodate condition). ZIP and RAR are different archive formats. - Alexey. Leon Pu wrote: Here are the error messages when I try to extract a RAR file which created by WinRAR. == D:\ant test

RE: Logging output from the Java task?

2006-06-27 Thread Vincent Massol
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mardi 27 juin 2006 17:39 To: user@ant.apache.org Subject: AW: Logging output from the Java task? Thanks Jan. Actually you're right! We're already using a build listener to catch Ant's logs so I guess

AW: How to handle RAR in Ant

2006-06-27 Thread Jan.Materne
You need to run unrar with exec (maybe with uptodate condition). ZIP and RAR are different archive formats. Yes, dont be confused with * RAR - Roshal ARchive format http://en.wikipedia.org/wiki/RAR application/x-rar-compressed * RAR - J2EE ResourceArchive (zip-based)

RE: SQL task - how to set collation (working with MySQL)

2006-06-27 Thread Eitan Gur
Sure. If I use the console for example, I use: mysql -u[user] -p[password] --default-character-set=[charset] This causes the console client to use the corresponding charset, and by that - the corresponding collation (which is fine by me). So maybe my question was how to instruct ant to use a

AW: Logging output from the Java task?

2006-06-27 Thread Jan.Materne
Do you get the output of java when using Ant alone? No. When using java there's an output attribute to collect the process's output but it points to a file. AFAIK there's no way to have the java task's output logged when using Ant 1.5.x but that's what I would like to confirm... :-) If you

RE: SQL task - how to set collation (working with MySQL)

2006-06-27 Thread Keith Hatton
I think you need to specify that in the URL for the JDBC connection. http://dev.mysql.com/doc/refman/5.0/en/cj-configuration-properties.html It's really a MySQL/JDBC configuration question. Hope this helps Keith -Original Message- From: Eitan Gur [mailto:[EMAIL PROTECTED] Sent: 27

pvcs - ant usage..

2006-06-27 Thread prashanth . l
where to specify pvcs user id password.. pvcs repository=/mnt/pvcs pvcsproject=/myprj/ there is no option in the manual pages.. Thanx Scot, Prashant Scot P. Floess [EMAIL PROTECTED] 06/27/2006 08:06 PM Please respond to Ant Users List To: Ant Users List user@ant.apache.org

RE: Logging output from the Java task?

2006-06-27 Thread Vincent Massol
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mardi 27 juin 2006 17:52 To: user@ant.apache.org Subject: AW: Logging output from the Java task? Do you get the output of java when using Ant alone? No. When using java there's an output attribute to

Re: pvcs - ant usage..

2006-06-27 Thread Scot P. Floess
I just looked at the document and it seems that you can do: pvcs ... userid = your user id It's been a long time since I had to use PVCS...and I never used ant with it when I did... Regarding the password, no clue... Sorry I can't be more help... [EMAIL PROTECTED] wrote: where to specify

Re: pvcs - ant usage..

2006-06-27 Thread prashanth . l
I am using ant versin 1.6, can u confirm yours.. no probs.. thanks for that infor. Scot P. Floess [EMAIL PROTECTED] 06/27/2006 09:40 PM Please respond to Ant Users List To: Ant Users List user@ant.apache.org cc: (bcc: prashanth.l/Polaris) Subject:Re:

RE: How to starta DB using ANT script

2006-06-27 Thread Anderson, Rob (Global Trade)
Yes. http://ant.apache.org/manual/index.html -Rob A -Original Message- From: Deepak Rao [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 2:25 AM To: Ant Users List Subject: How to starta DB using ANT script Hi, Can we perform these tasks using an ANT build script. -

AW: Logging output from the Java task?

2006-06-27 Thread Jan.Materne
If you dont set these properties, logs should go to Ant's log - means to Cargo's Rah! So simple... Over all those years I've never realized that not specifying an output would make Ant log the process's output... Dunno why I didn't think about it... Thanks a lot Jan. I'm really glad I

RE: Logging output from the Java task?

2006-06-27 Thread Vincent Massol
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: mardi 27 juin 2006 18:27 To: user@ant.apache.org Subject: AW: Logging output from the Java task? If you dont set these properties, logs should go to Ant's log - means to Cargo's Rah! So

Re: pvcs - ant usage..

2006-06-27 Thread Scot P. Floess
I am using 1.6.5... I looked in the online docs and saw the user id attribute but not a password one... [EMAIL PROTECTED] wrote: I am using ant versin 1.6, can u confirm yours.. no probs.. thanks for that infor. Scot P. Floess [EMAIL PROTECTED] 06/27/2006 09:40 PM Please respond to Ant

Extending the javadoc task...

2006-06-27 Thread Karl
Hello, I have a need to essentially fail on warning during a javadoc task. While the task provides a failonerror there doesn't appear to be such an animal for warnings. I'm pretty well versed on how I might structure the Ant extension code itself, but I'm trying to figure out how I, in a platform

RE: pvcs - ant usage..

2006-06-27 Thread pritesh.saharey
This will work on PVCS server and not on remote m/c, to do a get from PVCS on remote client m/c you have to use download.exe, which you can find at at the following path: \Serena\ChangeMan\Dimensions\9.1\prog This is the only way I have seen to do a get from PVCS, I have done something like this,

Question on finding what executable ant uses to javac/jar

2006-06-27 Thread Michael Wenk
Hi, I am a fairly new to ant, and unfortunately, I have not been able to find my answer by googling and searching the list archives, tho I have to figure its been asked before. I need help in calling an external program. This program has been compiled with make. There's some internal

Re: Question on finding what executable ant uses to javac/jar

2006-06-27 Thread Ben Stringer
On Tue, 2006-06-27 at 21:56 -0700, Michael Wenk wrote: Hi, I am a fairly new to ant, and unfortunately, I have not been able to find my answer by googling and searching the list archives, tho I have to figure its been asked before. I need help in calling an external program. This program