"dest" attribute of apply task is not working as expected?

2006-06-05 Thread Guttula, Mohan
Hello All, I'm using "apply" task to compile my actuate reports using the following target: -

How to dynamically initialize a property at runtime based on the values of other properties initialized using inside a target?

2006-05-23 Thread Guttula, Mohan
Hello All, I have some properties that I'm initilizing by using task in some targets. I want to dynamically initialize the value of some other property inside other target based on the values from other targets. Is this possible? Thanks, Mohan **

RE: How to initialize the value of a boolean property based on the output from Custom Java ANT task?

2006-05-03 Thread Guttula, Mohan
tproperty, isLabelFrozen); } isLabelFrozen is the result of your checking if the label is frozen. 3) you can then use the outputproperty in the "if/unless" attributes of a target. SH On 5/2/06, John Sisson <[EMAIL PROTECTED]> wrote: > > Surely the java

How to initialize the value of a boolean property based on the output from Custom Java ANT task?

2006-05-02 Thread Guttula, Mohan
Hello All,   I have a requirement of checking out files from StarTeam only if the Label is frozen. StarTeam Doesn’t provide a way to check the Status of a Label (Frozen or not) using StarTeam Client. So I have written a Java class to get the status of label with Custom ANT Task. Now I ha

RE: Would like to suppress leading spaces in multi-line and

2006-05-01 Thread Guttula, Mohan
Hello Michael, Try using inside filter chain. A sample snippet of the build

RE: Create a file that contains files in directory

2006-04-21 Thread Guttula, Mohan
The following IVAN's suggestion resolved the issue: ${line.seprator} -Original Message- From: Guttula, Mohan Sent: Friday, April 21, 2006 3:16 PM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: RE: Create a file that contains files in directory --- Snippet

RE: Create a file that contains files in directory

2006-04-21 Thread Guttula, Mohan
mp1/temp1.ind @temp4/temp4.ind @temp2/temp2.trg @temp5/temp5.trg Thanks, Mohan -Original Message- From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 9:11 PM To: Ant Users List Subject: RE: Create a file that contains files in directory

RE: Create a file that contains files in directory

2006-04-19 Thread Guttula, Mohan
Subject: RE: Create a file that contains files in directory Hello, Your code seems ok. Ypu may want to start ant with -verbose option to see what is going wrong. Also can you try defining master_base property not with value but with location attribute: Regards Ivan --- "Guttula, Mohan&qu

RE: Create a file that contains files in directory

2006-04-19 Thread Guttula, Mohan
build.xml ${all.files} Regards, Mohan -Original Message----- From: Guttula, Mohan Sent: Wednesday, April 19, 2006 3:35 PM To: Ant Users List Subject: RE: Create a file that contains files in directory Hello, didn't resolve the abso

RE: Create a file that contains files in directory

2006-04-19 Thread Guttula, Mohan
ntains files in directory Hello, Here is a sample script that does this: ${all.files} Note that allfiles.txt will contain the absolute locations of the files. If you need relative ones you may want to use mappers: Regards Ivan --- "Guttula, Moha

RE: Multiple JVM

2006-04-18 Thread Guttula, Mohan
Hello Jaysheel, Could you please double check if you have hard coded JDK in the Environment Variables? i.e., right click on the "My Computer" and then click Properties. Choose "Advanced" and click "Environment Variables". In the "System variables" check if you have a variable "JAVA_HOME"? If so, r

Create a file that contains files in directory

2006-04-17 Thread Guttula, Mohan
Hello All, I need to generate a file that contains list of files from a directory (that will contain subdirectories). Something similar to copying the output of "ls" or "dir" to a file. For example: Folder "temp" contains folders "temp1", "temp2", and a file "temp.tab" Folder "temp1" c

RE: Help with ftp

2006-04-12 Thread Guttula, Mohan
I guess he may be referring to common-net library recommended in the following links: http://ant.apache.org/manual/install.html#commons-net http://jakarta.apache.org/commons/net/index.html We definitely need this jar file when using FTP task (with ANT 1.6.5 -- I couldn't get the FTP task working

RE: Hi frm Kishore

2006-04-11 Thread Guttula, Mohan
task following instructions from http://ant.apache.org/manual/develop.html#set-magic and http://www.onjava.com/pub/a/onjava/2004/06/02/anttask.html Thanks, Mohan Guttula From: Kishore.G [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 1:20 PM To: Guttula, Mo

RE: Looping through a file contents and dynamically add for each line in the file to task

2006-04-11 Thread Guttula, Mohan
Hello Jon, Thanks for all your help. Your solution resolved my issue. Question: What is the industry standard for Database scripts?(i.e., either using "SQL" ANT task or using sqlplus.exe inside ant through "Apply/Exec" tasks)? Thanks, Mohan -Original Message- From: [EMAIL PROTECTED] [ma

RE: Looping through a file contents and dynamically add for each line in the file to task

2006-04-08 Thread Guttula, Mohan
----- From: Guttula, Mohan Sent: Friday, April 07, 2006 10:32 AM To: Ant Users List Subject: RE: Looping through a file contents and dynamically add for each line in the file to task Thank you for your Response. Part of my requirement is to call the "SQL" task only once and add as

RE: Looping through a file contents and dynamically add for each line in the file to task

2006-04-07 Thread Guttula, Mohan
- create a project.xml file containing just that target 2. use to call that (new) project Jan >-Ursprüngliche Nachricht- >Von: Guttula, Mohan [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 6. April 2006 22:05 >An: user@ant.apache.org >Betreff: Looping through a file co

Looping through a file contents and dynamically add for each line in the file to task

2006-04-06 Thread Guttula, Mohan
Hello All, I have a "sample.sql" file (this file contents change dynamically) that contains the following lines: -- release\Country.sql release\State.sql release\City.sql ---

RE: Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Guttula, Mohan
Sphere Mosiac WebSphere Brandmark "Guttula, Mohan" <[EMAIL PROTECTED]> wrote on 04/06/2006 09:37:01 AM: > Hello All, > > > > Requirement: Dynamically increase the number of arguments to EXEC task > based on the number and name of the file in a directory. &g

Dynamically increase the number of arguments to EXEC task based on the number and name of the file(s) in a directory.

2006-04-06 Thread Guttula, Mohan
Hello All, Requirement: Dynamically increase the number of arguments to EXEC task based on the number and name of the file in a directory. For example a sample directory contains the following files with extension "*.rod" (Number of rod files in the "src" directory dynamically change): C: