Hi, how to delegate the path/to/cvs.exe to command ?
i've tried several combinations, f.e. = <cvs cvsroot="${cvsroot}" package="bla" dest="${ant.working.dir}" command="C:/cvsnt/cvs.exe -Q co" failonerror="true" /> What's the right syntax for the command line ? Gilbert -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 12:18 PM To: user@ant.apache.org Subject: AW: setting env variable in ant script Use the command attribute of <cvs>. Jan >-----Ursprüngliche Nachricht----- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 28. Oktober 2005 12:14 >An: user@ant.apache.org >Betreff: setting env variable in ant script > > >Hi, > >normally i run my scripts via batfile and do a set PATH=%PATH%;c:\cvnst > >now i have to run the same script on another machine, where my >ant script is called from java and ant-launcher. > >Problem = cvsnt isn't on path so script gets cvs error=2 > >Question = > >how to set an env variable in my antscript similar to set PATH >in my bat file ? > ><property environment="env" ... >won't help as cvsnt isn't on path at that machine > > >Gilbert > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] For >additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]