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.3 When I try to execute the target at the command line, everyting works perfectly. The error I get is: Caught exception: CreateProcess: cvs -d:pserver:[EMAIL PROTECTED]:/nasdata/CVS update -d -l ids/java error=2 I know what the exception means, he can't find the cvs.exe. I already tried to set it as an additional path for the ant execution -> didn't work, I also tried to run a command file before the execution, setting the path -> didn't work, so now I'm pretty much out of ideas to figure out what is going wrong. Does anybody have any idea what could cause this problem? I would be very very thankful for your answer! This is a part of the build file: <!-- The build.properties files contains the cvs.repository property --> <property file="conf/build.properties"/> <property name="cvs.package.dependencies" value="ids/java/lib"/> <property name="cvs.package.conf" value="ids/java/conf"/> <target name="set.environment"> <exec dir="${basedir}/${conf.dir}" executable="cmd.exe"> <arg value="/c setenv.cmd"/> </exec> </target> <target name="dependencies" depends="set.environment" description="Update the external libraries that are used from CVS"> <cvs command="update -d" cvsroot="${cvs.repository}" package="${cvs.package.dependencies}" dest="."/> <cvs command="update -d" cvsroot="${cvs.repository}" package="${cvs.package.conf}" dest="."/> <cvs command="update -d -l" cvsroot="${cvs.repository}" package="ids/java" dest="."/> </target> Greetz Lieve
Privileged Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]