RE: I need to write a task for Tagging

2007-04-19 Thread alam
Hey I am using Ant i need to write one task just like any other task i need to write an ant task for TAG... Gilles Scokart wrote: > > I speak for for me, but no. Sorry I don't understand. > > How/what would you do without ant? > > Gilles > >> -Original Message- >> From: alam [mailto:[

Query regarding working of Ant

2007-04-19 Thread raj kanwal
I have installed Apache Ant1.7.0. When I run ant command it is giving error build.xml file not found..The files that r present in my directory Apache Ant are fetch.xml and get-m2.xml. When I try to run ant -buildfile fetch.xml it is giving an error - "import command not found" , similar is the er

RE: Query regarding working of Ant

2007-04-19 Thread Rebhan, Gilbert
Hi, -Original Message- From: raj kanwal [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 8:43 AM To: user@ant.apache.org Subject: Query regarding working of Ant >build.xml file not found. that's normal when running ant command without pointing to a file, i.e. C:\>ant >ant -b

AW: Query regarding working of Ant

2007-04-19 Thread Jan.Materne
Your main problem is, that you need a buildfile (build.xml) for your project. So you have to write that. http://ant.apache.org/manual/using.html#buildfile http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL

zip-included files

2007-04-19 Thread prasad kumar
Hi, i have to zip the files ofter taking the build,for that one i have used like below but my problem is the zip it is including only two files with 30 MB(ear,rtf files) capacity.i need to include all the files(pdf,properties,xml,ear,rtf

tag inside some other tag(cvs)

2007-04-19 Thread prasad kumar
Hi, i have to create one more tag(for ex: child tag of HEAD tag(cvs)) inside some other tag(for ex:inside HEAD tag(cvs)) ofter a successfull build,is it possible with ant to create one more tag inside some other tag.if then,how, please tell me Thanks, prasad

Fwd: tag inside some other tag(cvs)

2007-04-19 Thread prasad kumar
Note: forwarded message attached. - Check out what you're missing if you're not on Yahoo! Messenger --- Begin Message --- Hi, i have to create one more tag(for ex: child tag of HEAD tag(cvs)) inside some other tag(for ex:inside HEAD tag(cvs)) ofte

Re: zip-included files

2007-04-19 Thread Steve Loughran
prasad kumar wrote: Hi, i have to zip the files ofter taking the build,for that one i have used like below but my problem is the zip it is including only two files with 30 MB(ear,rtf files) capacity.i need to include all the files(pdf,p

Settting environment variables

2007-04-19 Thread query
  Hi, I am having a set of ANT build files. I want to change "Path" and "include" environment variables only in build file. I tried the following options to reset "include" variable in the build file. 1. 2. 3. 4. When I tried to echo "include" variable in the same build

Re: zip-included files

2007-04-19 Thread prasad kumar
hi, no,it is allowing only one inside . but my require ment is i need to copy ear file from the build dir to some other location folder and zip some other location folder files as well as this ear file of current build.for that one i have written below.it is zipping only ear,rtf fi

RE: Settting environment variables

2007-04-19 Thread Kajsa.Anderson
Propertys in Ant are immutable, so you can't reset the value (with vanilla Ant - ant-contrib may let you). Depending on what you need the system property for, though, you may be able to use . Kajsa -Original Message- From: query [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 200

Re: zip-included files

2007-04-19 Thread Steve Loughran
prasad kumar wrote: hi, no,it is allowing only one inside . you shouldnt be allowed any copy inside a zip but my require ment is i need to copy ear file from the build dir to some other location folder and zip some other location folder files as well as this ear file of current b

Re: Settting environment variables

2007-04-19 Thread Martin Gainty
true ..the immutable property primary contribution was in file property expansion and the ability for the value of an environment var to propagate to 'property' If you're looking for the ability to change (a variable) in build.xml take look at ant-contrib 'variable' http://ant-contrib.sourcef

Re: zip-included files

2007-04-19 Thread prasad kumar
hi, please anybody knows the solution to get the ownership on particular folder, give the reply immediately. prasad kumar <[EMAIL PROTECTED]> wrote: hi, if iam using like below it is zipping but it is not not including all the required files. if iam using

Re: zip-included files

2007-04-19 Thread prasad kumar
hi, if iam using like below it is zipping but it is not not including all the required files. if iam using it is giving error as "problem opening .xml". (just i changed dir to src). i checked the folder properties,it is there in read only checked mode i change

tag inside another tag(for tagging the new build files)

2007-04-19 Thread prasad kumar
Hi, i have to create one more tag(for tagging all new files inside this tag,for ex: child tag of HEAD tag(cvs)) inside some other tag(for ex:HEAD tag(cvs)) ofter a successfull build,is it possible with ant to create one more tag inside some other tag. i think there is no option in ant

Re: tag inside some other tag(cvs)

2007-04-19 Thread Geoffrey Mitchell
The question is not "can ant do that?". The question is "can cvs do that?". And the answer is "Huh?". What do you mean by a tag inside of another tag? One version of a file can have multiple tags, but there is no sense of hierarchy to them. However you slice it, this is totally off topic f

RE: help! how to send multiple files to remote machine? ant-jsch

2007-04-19 Thread Anil Philip
Do you mean jsch API? (there is no jscp api) --- "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> wrote: > Anil, Not sure what you are asking. You have seen > the examples for using > scp with a fileset. What is the problem you are > having now? Is it not > working? You mentioned you are using

RE: tag inside some other tag(cvs)

2007-04-19 Thread RADEMAKERS Tanguy
Prasad, How would you do what you are trying to do *without* ant? In other words, how would you do this using just the cvs command line client? If you can post the commands you would use (copy and paste them from your command line window) maybe it would clear things up for us. /t >-Original

RE: help! how to send multiple files to remote machine? ant-jsch

2007-04-19 Thread Anderson, Rob (Global Trade)
Yes. That is what I meant. > -Original Message- > From: Anil Philip [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 9:49 AM > To: Ant Users List > Subject: RE: help! how to send multiple files to remote > machine? ant-jsch > > Do you mean jsch API? > (there is no jscp api) >

RE: I need to write a task for Tagging

2007-04-19 Thread Anderson, Rob (Global Trade)
http://ant.apache.org/manual/index.html http://ant.apache.org/manual/CoreTasks/cvs.html -Rob Anderson > -Original Message- > From: alam [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 19, 2007 12:07 AM > To: user@ant.apache.org > Subject: RE: I need to write a task for Tagging > >

RE: tag inside some other tag(cvs)

2007-04-19 Thread prasad kumar
hi, i know,it is possible to create the child tag(build_xxx) inside some other tag(HEAD) using win cvs to avoid version of a file with some other version of a file. for ex i will create the child tag as follows: remote---> create a tag by module-->tag name-->change from uncheck to

Re: Settting environment variables

2007-04-19 Thread Ninju Bohra
Hello, By the time ANT starts, the PATH and INCLUDE environment variables values are set (by the ant.bat or OS command script) and can not be altered. However if one you target needs to start seperate process (, , , etc...) you can control the value of the enviroment variables that the child p

RE: tag inside some other tag(cvs)

2007-04-19 Thread prasad kumar
hi, u r saying One version of a file can have multiple tags.this maltiple tags can we create with ant regards, prasad prasad kumar <[EMAIL PROTECTED]> wrote: hi, i know,it is possible to create the child tag(build_xxx) inside some other tag(HEAD) using win cvs to avoid v

RE: tag inside some other tag(cvs)

2007-04-19 Thread RADEMAKERS Tanguy
Hello Prasad, OK, i have checked the WinCvs site, and it seems that WinCvs has a window (they call it the "browser status window") that shows you which cvs calls are being made as you use the tool. In this picture: http://www.wincvs.org/wincvs_app.png it is the window at the bottom of the scree

Re: help! how to send multiple files to remote machine? ant-jsch

2007-04-19 Thread Robert Clark
On Thursday April 19, 2007, Anil Philip <[EMAIL PROTECTED]> wrote: > Do you mean jsch API? > (there is no jscp api) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: tag inside some other tag(cvs)

2007-04-19 Thread Shankar S
Prasad, Why don't you just do this? If you are not clear with this then read about CVS tags by doing a quick Google. On 4/20/07, prasad kumar <[EMAIL PROTECTED]> wrote: hi Tanguy, http://www.wincvs.org/wincvs_app.png from what ur showing in the picture,let us

zip included files

2007-04-19 Thread prasad kumar
hi all, if iam using like below it is zipping but it is not not including all the required files.it is including only rtf,ear files.it is not including pdf,xml,properties files if iam using it is giving error as "problem opening 'srcfile". (just i change

RE: tag inside some other tag(cvs)

2007-04-19 Thread prasad kumar
hi Tanguy, http://www.wincvs.org/wincvs_app.png from what ur showing in the picture,let us assume 'cvsgui' is module name in HEAD tag.then i updated the 'cvsgui' module with clean copy option from HEAD tag.ofter getting clean copy of 'cvsgui',i create the tag(let us assume build_xxx) as

Re: Re: Settting environment variables

2007-04-19 Thread query
 When I tried to use in task, it build compilation is failing with the following error. javac doesn't support the nested "sysproperty" element. On Thu, 19 Apr 2007 Ninju Bohra wrote : >Hello, > >By the time ANT starts, the PATH and INCLUDE environment variables values are >set (by the ant.

Re: Re: Settting environment variables

2007-04-19 Thread query
 When I tried to use in and task, build compilation is failing with the following errors. javac doesn't support the nested "sysproperty" element. exec doesn't support the nested "sysproperty" element. It looks like that element is supported only with . But I want to set env variables for

Re: tag inside some other tag(cvs)

2007-04-19 Thread prasad kumar
hi shankar, thanks for u r help.but while creating the tag it is saying that as "[cvs] cvs [rtag aborted]: tag must not contain the characters `$,.:;@'" iam using windows xp professional o/s and wincvs,eclipse if u have already resolved this issue,please give me the reply