RE: Suppress javac warning

2008-04-09 Thread Sumit.Srivastava
Hi Kevin, I'm using Java 1.6 and ANT 1.7. Thanks, Sumit -Original Message- From: Toomey, Kevin H (ATS, IT) [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 12:52 PM To: Ant Users List Subject: RE: Suppress javac warning What version of Ant/Java are you using? -Orig

RE: Suppress javac warning

2008-04-07 Thread Sumit.Srivastava
Hi Kevin, Thanks for the reply and you got my question right. However, setting the nowarn attribute to "on"/"yes"/"true" does not help. I still see all the warning and deprecated messages. This is how I'm setting it : Is there anything

Suppress javac warning

2008-04-05 Thread Sumit.Srivastava
Hi All, I need to suppress javac warning and specially deprecated messages to the compiler. I tried nowarn, no luck. Any pointers on how can I achieve the same ? Thanks, Sumit Visit our website at http://www.ubs.com This message contains confidential information and is intended only fo

RE: If task

2008-03-13 Thread Sumit.Srivastava
Ohh yeah..It works that way..I saw at the ant contribs and didn't realise the two args can be compared. Thanks a ton for the help Francis.. ~Sumit -Original Message- From: Francis Brennan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 9:08 PM To: Ant Users List Subject: Re: I

If task

2008-03-13 Thread Sumit.Srivastava
Hi All, is there a way to implement the following if-else clause in ANT ?

RE: SQL scripts in ANT

2008-03-13 Thread Sumit.Srivastava
Hi Robert.. Thanks for the suggestions, unfortunately none works with ANT 1.7 The other way of doing it would be to create different ANT targets to run different scripts and call them as per requirement.. This doesn't make a lot of sense to me, as that would not be the best way to do it in our sce

SQL scripts in ANT

2008-03-12 Thread Sumit.Srivastava
Hi Experts.. I need to run multiple SQL scripts thru ANT...Following is my code snippet :

RE: Overwrite Property at runtime

2008-01-24 Thread Sumit.Srivastava
Hi Barry, Thanks for the response. Since it's not a ANT releated property, I done think providing an option of -DPROP_VALUE from cmd prompt would work. Also, I cant afford to have user intervention is providing the value of the Property at runtime.. The Variable is actually defined insid

Overwrite Property at runtime

2008-01-23 Thread Sumit.Srivastava
Hi Experts, I need to assign value of property at run time in ANT . This property variable is defined inside a Java file which has to be set during run time. Its NOT related to Ant properties. I tried using but it didn't help. For eg

Running TestSuite with ANT

2008-01-22 Thread Sumit.Srivastava
Hi Experts, Can we run the TestSuites from ANT, there is no documentation on how to run the TestSuites from ANT junt tasks. If I follow the single test way, it just says " [junit] Test dao.testsuite FAILED " This is my tests target :

RE: cannot resolve symbol

2007-10-23 Thread Sumit.Srivastava
Please check your classpath entries. Warm Regards, Sumit Srivastava Voice : (203) 719 - 5894 Email :[EMAIL PROTECTED] Chat :srivassb To go far, explore first what is near.. -Original Message- From: Chris Styles [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 2:18 PM To: user

RE: Memory and Ant

2007-10-23 Thread Sumit.Srivastava
Hi, I meant the ANT tasks,for eg This link might help you more http://ant.apache.org/manual/CoreTasks/java.html Hth, Sumit -Original Message- From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 10:44 AM To: Ant Users List Subject: AW: Memory and

RE: Memory and Ant

2007-10-23 Thread Sumit.Srivastava
Yes, basically it needs to be passed as an argument to java.exe. In ANT it can be accomplished, if you add "maxmemory=128m" to the tasks. If you run ant with -v (verbose) option you would see that "maxmemory=128m" translates into java.exe -Xmx128m. HTH, Sumit To go far, explore first w

RE: Junit tasks with TestSuite

2007-10-19 Thread Sumit.Srivastava
Hi Steve, None of the ANT utilities (debug,verbose,diag) show up anyything RED, all looks green. Yes, It goes through IDE pretty clean. And the TestSuite (where it hangs,) is not expecting any User inputs. I don't know where it is getting stuck. Attached is the TestSuite file Warm Rega

RE: Junit tasks with TestSuite

2007-10-19 Thread Sumit.Srivastava
No, allocating memory explicitly doesn't helps. Warm Regards, Sumit Srivastava Voice : (203) 719 - 5894 Email :[EMAIL PROTECTED] Chat :srivassb To go far, explore first what is near.. -Original Message- From: Knuplesch, Jürgen [mailto:[EMAIL PROTECTED] Sent: Friday, October 19, 2007 3

Junit tasks with TestSuite

2007-10-18 Thread Sumit.Srivastava
Hi All, I am using Junit task for the Unit testing , following is my task fileset dir="${src.

RE: How to include multiple source directories in "compile" target

2007-10-05 Thread Sumit.Srivastava
Hi, Define two more properties like src.java.company.transact = src/java/com/company/transact/ src.java.company.deals = src/java/com/company/deals And include in the target as Warm Regards, Sumit Srivastava Voice : (203) 719 - 5894 Email :[EMAIL PROTECTED] Chat :srivassb To g