RE: Uff VSS, hanging

2005-01-28 Thread Keith Hatton
Hi Pritesh, You need serverPath="\\your-vss-server\vss-share\path\to\vss" in your Ant task. This path must be where the srcsafe.ini file is *on the server*. Hope this helps Keith -Original Message- From: Pritesh Saharey [mailto:[EMAIL PROTECTED] Sent: 28 January 2005 07:00 To: Ant Users

CVS command with Ant in IntelliJ

2005-01-28 Thread Lieve Van den Heuvel
Hi, I'm just new to the mailing list but I'm experiencing a very "frustrating" problem. I've written a buildscript for our project but I'm not able to execute a cvs-command in the buildfile. The environment I'm working in: Ant: 1.6.2 CVSNT (from winCVS -> latest stable version) Idea IntelliJ 4.5

Re: CVS command with Ant in IntelliJ

2005-01-28 Thread James Abley
On Fri, 2005-01-28 at 10:17, Lieve Van den Heuvel wrote: > Hi, > > I'm just new to the mailing list but I'm experiencing a very > "frustrating" problem. I've written a buildscript for our project but > I'm not able to execute a cvs-command in the buildfile. > > The environment I'm working in: >

Re: CVS command with Ant in IntelliJ

2005-01-28 Thread Lieve Van den Heuvel
Hi James Thank you for your answer but I know that the exec command doesn't make the thing work but it was just one of my try-outs.. I tried to add the path to the cvs.exe in IntelliJ but it seems that he doesn't find it afterall and that's the thing that's causing me these frustrations. So is t

RE: CVS command with Ant in IntelliJ

2005-01-28 Thread Nemana, Satya V
Try to take care of this PATH at the system environment level. Make sure cvs is found is the $PATH ot %PATH% when you open a DOS cmd or Unix shell. This will fix PATH on IntelliJ like tools, as the system environment is pre-set. -Satya -Original Message- From: Lieve Van den Heuvel [mailto:

RE: CVS command with Ant in IntelliJ

2005-01-28 Thread Lieve Van den Heuvel
Thank you thank you thank you That seemed to be the problem.. IntelliJ used the system path from its startup point.. Thank you all very much! Greetz Lieve >>> [EMAIL PROTECTED] 28/01/2005 11:42:12 >>> Try to take care of this PATH at the system environment level. Make sure cvs is found is the $

regexp question

2005-01-28 Thread Rebhan, Gilbert
Hi, scenario = a txtfile where i have to put a value in. The line where that value should go is always line number 26 of that file. line number 26 is always blank and should contain the value after transformation. I've tried with :

Re: taskdef failing when classpathref contains a non existent directo ry

2005-01-28 Thread Antoine Levy-Lambert
Hello Larry, the issue is not one of taskdef. fileset s are not happy when basedir does not exist. I think there is a bug report of other(s) users having trouble with this. Cheers, Antoine > Consider the following directory structure and build file: > > You have a build.xml in the root direct

AW: regexp question

2005-01-28 Thread Jan . Materne
I have doubts with the 25-part ... Quick hack: The text to be inserted. Maybe multiple lines? import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOExcept

RE: Uff VSS, hanging

2005-01-28 Thread Pritesh Saharey
Thanks Keith, Thanks Murali for taking intrest in my problem, I resolved the problem. pritesh Quoting [EMAIL PROTECTED]: > Hi Pritesh, You needserverPath="\your-vss-servervss-sharepathtovss" in your Anttask. This path must be where the srcsafe.ini file is *on theserver*. Hope this helps

Problem setting variables conditionally

2005-01-28 Thread Charl Gerber
Hi have this problem: Set a global variable 'env' in my ant script based on: the command line value, if not set, then environment variable value, if not set, then default value I have this in my project root, ie, not in a target, but it does not work: The 'en

RE: taskdef failing when classpathref contains a non existent directory

2005-01-28 Thread Dominique Devienne
> From: Shatzer, Larry [mailto:[EMAIL PROTECTED] > > Is it possible to have non existent directories listed in your path, and > not have taskdef blow up on it? Of course! Any non-existent is silently ignored. What you can't have is non-existent fileset dirs ;-) One work around you can use is to

RE: Problem setting variables conditionally

2005-01-28 Thread Dominique Devienne
> From: Charl Gerber [mailto:[EMAIL PROTECTED] > Set a global variable 'env' in my ant script based on: > the command line value, if not set, then > environment variable value, if not set, then > default value > > I have this in my project root, ie, not in a target, > but it does not work: > >

PropertyFile task is optional?

2005-01-28 Thread Stein, Ben
Last night I tried to use the PropertyFile task. Unfortunately I got the error that ant could not find the task. seeing that it was an optional task I looked at the library dependencies table in the manual. Unfortunately there was no mention of the task. I then went on a three hour quest on

Re: PropertyFile task is optional?

2005-01-28 Thread Matt Benson
--- "Stein, Ben" <[EMAIL PROTECTED]> wrote: [SNIP] > If PropertyFile is in the standard ant distribution > for 1.6.2 then why is it an Optional task? That's not the right question; lots of optional tasks exist in the standard distribution. You are close, however. The correct question is al

RE: PropertyFile task is optional?

2005-01-28 Thread Dominique Devienne
> From: Matt Benson [mailto:[EMAIL PROTECTED] > Indeed, I have myself wondered (though I never have > bothered to bring it up) why propertyfile and > echoproperties are an optional tasks when they have no > external dependencies? > > Any old-timers have any insights? I suspect it's related to the

RE: PropertyFile task is optional?

2005-01-28 Thread Stein, Ben
But if these tasks are dependent on a particular jdk then why isn't that placed in the library dependencies table? -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 11:12 AM To: Ant Users List Subject: RE: PropertyFile task is optional?

Re: PropertyFile task is optional?

2005-01-28 Thread Stefan Bodewig
On Fri, 28 Jan 2005, Matt Benson <[EMAIL PROTECTED]> wrote: > Indeed, I have myself wondered (though I never have > bothered to bring it up) why propertyfile and > echoproperties are an optional tasks when they have no > external dependencies? > > Any old-timers have any insights? Unless Conor j

RE: retrive value in listener

2005-01-28 Thread Radha Sangal
U r right! But my project requirements are that I need to access (manipulate) value of a variable (attribute of the task-'message') used in the custom task I had created through Java. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 6

Getting my own core task implementation ahead of ant.jar

2005-01-28 Thread Ninju Bohra
Hello all, I am using ANT 1.6.2 on WinXP and Lunix enviroments... I have some issues with the task (defined by the class org.apache.tools.ant.taskdefs.SQLExec) in ant.jar (i.e. does not handle PL/SQL, no interactive error handling, etc...) and have made suggestions to the ant-dev group as t

Re: Getting my own core task implementation ahead of ant.jar

2005-01-28 Thread Matt Benson
You should be able simply to your own task to the "sql" name, replacing the builtin with your own. -Matt --- Ninju Bohra <[EMAIL PROTECTED]> wrote: > Hello all, > > I am using ANT 1.6.2 on WinXP and Lunix > enviroments... > > I have some issues with the task (defined by > the class org.apa

RE: Getting my own core task implementation ahead of ant.jar

2005-01-28 Thread Michael Sunde
Hi, In our case we wanted to make an enhancement to one of the existing ant tasks. Here is what we did: - subclassed the existing implementation - Loaded new implementation using taskdef - use presetdef to redirect the standard implementation to our implementation. No need to modify all the exist

VSS Re-Labeling

2005-01-28 Thread Velagapudi, Murali
Hi, ss Label $/root/java2/file1.java "-vl label1" "-l label2" -I-Y By Executing the above command it renames the label1 to label2 for the file file1.java is there any way to do this from ANT, Finally I wanted to re-label all the files in the project under root which have "label1" but if i

RE: Echo: How to include a \t.

2005-01-28 Thread Kajsa.Anderson
> From: Nat Gross [mailto:[EMAIL PROTECTED] > Matt Benson wrote: > >--- Nat Gross <[EMAIL PROTECTED]> > >wrote: > > > >>Hi; > >>How can I embed a \t within an echo string? > >>I tried to console and file, with and without > >>message attribute, to no > >>avail. > > > >I believe this is an XML thin

RE: Getting my own core task implementation ahead of ant.jar

2005-01-28 Thread Ninju Bohra
Hello Michael, In your example what do all the "jar" means? I assume that in the task, the my.properties files declares new task (using the my: namespace), while the my.jar contains the implementation. As for the task, are you re-directing the core to use your task and by doing this way (via

RE: Echo: How to include a \t.

2005-01-28 Thread Ninju Bohra
The works!! --- [EMAIL PROTECTED] wrote: > > From: Nat Gross > [mailto:[EMAIL PROTECTED] > > Matt Benson wrote: > > >--- Nat Gross > <[EMAIL PROTECTED]> > > >wrote: > > > > > >>Hi; > > >>How can I embed a \t within an echo string? > > >>I tried to console and file, with and without > > >>message

RE: Getting my own core task implementation ahead of ant.jar

2005-01-28 Thread Michael Sunde
"Jar" is the ant task that we wanted to modify. Re is this right: Yes Michael -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 3:02 PM To: Ant Users List Subject: RE: Getting my own core task implementation ahead of ant.jar Hello Michael, I

Re: VSS Re-Labeling

2005-01-28 Thread Ninju Bohra
If you find that you can do something using the ss command line app that you can't do via the VSS task(s) you have two options: 1) Use the task and invoke the ss command line app directly 2) Modify the MSVSS(LABEL, AND, CREATE, etc...) task classes to take the addition parameters. These task cla

Re: PropertyFile task is optional?

2005-01-28 Thread Douglas Kramer
Stefan Bodewig wrote: On Fri, 28 Jan 2005, Matt Benson <[EMAIL PROTECTED]> wrote: Indeed, I have myself wondered (though I never have bothered to bring it up) why propertyfile and echoproperties are an optional tasks when they have no external dependencies? Any old-timers have any insights? Unles

RE: Problem with classfileset

2005-01-28 Thread Dominique Devienne
> From: Rhino [mailto:[EMAIL PROTECTED] > > > > > > When I run it, the jar contains only three class files (and a manifest): > > mydomain.foo.Foo.class > mydomain.foo.FooConstants.class > mydomain.foo.FooPreferences.class > > mydomain.foo.Foo is indeed the main class of the program and it

Ant + jUnit +++ deal with failures?

2005-01-28 Thread Dan
First, I have searched the archives and found some ideas, but I would like to get more ideas from people on the best ways to do what I want. I have a J2EE system running on Weblogic that I want to write a monitoring app to watch. I want to check that the servers are up, that the db is returning

RE: VSS Re-Labeling

2005-01-28 Thread ed . wittmann
I'd use the ant task, and add the recursive property: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 28, 2005 3:19 PM To: user@ant.apache.org Subject: Re: VSS Re-Labeling If you find that you can do something using the ss command line app th

RE: VSS Re-Labeling

2005-01-28 Thread Velagapudi, Murali
Thanks,but will create a new Label with Release1 recursively for entire source/aProject ,my concern is to with re-label with new label i.e label "Release1" to "Release2" through out the project. thanks, Murali -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent:

Re: Problem with classfileset

2005-01-28 Thread Rhino
Dominique, To answer your question, *some* of my dependent classes are in ${bin.dir} but most are in a different directory. Here is my setup: ${bin.dir} = eclipse\workspace\foo: package mydomain.foo.Foo: -> mydomain.foo.Foo.class; mydomain.foo.FooConstants.class; mydomain.foo.FooPreferences.class