Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 40210 invoked by uid 500); 20 Jul 2003 22:59:51 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 40198 invoked from network); 20 Jul 2003 22:59:51 -0000 Received: from web40907.mail.yahoo.com (66.218.78.204) by daedalus.apache.org with SMTP; 20 Jul 2003 22:59:51 -0000 Message-ID: <20030720225958.24128.qmail@web40907.mail.yahoo.com> Received: from [66.72.23.167] by web40907.mail.yahoo.com via HTTP; Sun, 20 Jul 2003 15:59:58 PDT Date: Sun, 20 Jul 2003 15:59:58 -0700 (PDT) From: Jason Varsoke Reply-To: jvarsoke@yahoo.com Subject: cvspass conflict? To: user@ant.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In my build-file I have ${cvs.root} set either to the anonymous public CVS or the developers' CVS based on whether ${cvs.login} is set. My cvs target looks like this: --- cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ictk or cvs.root=:ext:${cvs.login}@cvs.sourceforge.net:/cvsroot/ictk depending on if cvs.login is valid cvs.passwd="" no matter what since the developer is always prompted for the password. If I use the cvs target only for anon login things are just fine. But if I use the developer's login once it works, but the anon login will fail next time with some strange errors. Deleting the ~/.cvspass cures this until next round. This is the error: cvs: [cvs] Using cvs passfile: /home/jvarsoke/.cvspass [cvs] cvs [export aborted]: internal error: get_cvs_port_number called for invalid connection method (ext): Invalid argument A quick check with "cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ictk login" produces the same results. The ~/.cvspass looks like this: :ext:jvarsoke@cvs.sourceforge.net:/cvsroot/ictk A :pserver:anonymous@cvs.sourceforge.net:/cvsroot/ictk A So I started thinking I don't really need the cvspass target. So after commenting it out it produces this for the anon: cvs: [cvs] cvs export: warning: failed to open /home/jvarsoke/.cvspass for reading: No such file or directory [cvs] cvs export: Updating ictk [cvs] . . . Which works fine except for the warning reported. But since this is a publically released library I'd rather users not get a warning. All works just fine for the developer's login w/ cvspass. So, other than keeping a local .cvspass and deleting it after each run, or using 2 different .cvspass files, is there something I'm doing wrong? -jason __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org