Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 12890 invoked by uid 500); 19 Jun 2001 12:41:36 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 12729 invoked from network); 19 Jun 2001 12:41:35 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4418.65 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Question: How to make ant running with cvs Date: Tue, 19 Jun 2001 14:41:34 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Question: How to make ant running with cvs Thread-Index: AcD4vNTDPudFNggZQPSX5oMTbizipgAAEqmQ From: "Juraj Lenharcik" To: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N hi, =20 you have to login before you star the script. =20 =20 cu =20 -----Original Message----- From: Alexander Saupp [mailto:asaupp@gmx.de] Sent: Dienstag, 19. Juni 2001 14:39 To: ant-user@jakarta.apache.org Subject: Question: How to make ant running with cvs Hi,=20 =20 i tried to make Ant running with CVS. Is there an additional jar i need? I guess no. A cvs client is installed, up and running, I am able to access the CVS server on cmd line. =20 If I create ant tasks like the following, I receive the exception above: =20 This is runinng on command line, but not in ant. =20 getJSPs: =20 BUILD FAILED =20 C:\DEPLOY\config\build.xml:106: java.io.IOException: CreateProcess: cvs -d :pserver:asaupp@xx.xx.200.141:/cvsdata history -a error=3D2 --- Nested Exception --- java.io.IOException: CreateProcess: cvs -d :pserver:asaupp@xx.xx.200.141:/cvsdata history -a error=3D2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute .java:509) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329) at org.apache.tools.ant.taskdefs.Cvs.execute(Cvs.java:181) at org.apache.tools.ant.Target.execute(Target.java:153) at org.apache.tools.ant.Project.runTarget(Project.java:898) at org.apache.tools.ant.Project.executeTarget(Project.java:536) at org.apache.tools.ant.Project.executeTargets(Project.java:510) at org.apache.tools.ant.Main.runBuild(Main.java:421) at org.apache.tools.ant.Main.main(Main.java:149) =20 Total time: 1 second CVS server uses passowrd authentication, may be that's a problem? How to configure cvs to get a one line login? cvs -d :pserver:asaupp:thepass@xx.xx.200.141:/cvsdata login=20 wasn't working. =20 Any idea what the reason could be? Thanks. =20 Alex