Help with ant task

2011-05-24 Thread rakesh mailgroups
Hi, hope you can help as I am struggling to get this to work!! I have a lib directory that may potentially contain libs such as: acme.jar acme-2011050241533.jar The two jars are related but I want only one in the directory. So, if acme-*.jar exists, then I need to delete acme.jar. I've tried

SOLUTION: Cvs and extSSH and Ant

2005-09-20 Thread rakesh mailgroups
Hi All, i have seen various posts here and elsewhere about talking to a cvs server using ant when the auth method is ssh. I have finally managed to track down a web page with instructions that work for windows. Here it is: http://nlp.stanford.edu/javanlp/cvs-guide.html I can confirm the Wind

Re: os independent paths

2005-04-15 Thread rakesh mailgroups
Hi, that definately works on windows. can't get to a UNIX environment just yet but will get back if theres a problem. Thanks!!! On 4/15/05, Peter Reilly <[EMAIL PROTECTED]> wrote: > Just use the location attribute of property: > > > > Peter > > r

os independent paths

2005-04-15 Thread rakesh mailgroups
Hi, found the ant website a bit cryptic when i looked up pathconvert. I hope someone can help me. I would like to be able to take one of my properties such as ${build.dir}, (defined as build.dir=war/WEB-INF) and and then convert that into a os-dependent path to use in my config files. So, for w

question

2005-03-15 Thread rakesh mailgroups
Hi, I would like my build file to abort if a file does not exist. I couldn't find a way to find out if the file exists, but I did see a way to check for the existence of properties (since the file is a property file), I did this: Value of password is ${sun.password} However,

Re: directory paths

2005-03-04 Thread rakesh mailgroups
, James Fuller <[EMAIL PROTECTED]> wrote: > rakesh mailgroups wrote: > > >Hi, > > > >sometimes Ant gives you too many ways to do things and you cobble > >something together that works but you think can probably done easier. > >Here's what i am trying t

Re: directory paths

2005-03-04 Thread rakesh mailgroups
, James Fuller <[EMAIL PROTECTED]> wrote: > rakesh mailgroups wrote: > > >Hi, > > > >sometimes Ant gives you too many ways to do things and you cobble > >something together that works but you think can probably done easier. > >Here's what i am trying t

directory paths

2005-03-04 Thread rakesh mailgroups
Hi, sometimes Ant gives you too many ways to do things and you cobble something together that works but you think can probably done easier. Here's what i am trying to do: My web.xml needs to contain a full path to a config file. This path should work whether on windows or unix. The location is al

Problems Ant + CVS + Cygwin

2005-02-25 Thread rakesh mailgroups
Hi, i have seen similar posts but nothing that helps me. We have a CVS respository on the network accessed via ssh. Eclipse works fine, as does the cygwin command line. Getting Ant to talk to the repository however does not work. Here is my code: Ant just seems to ha