Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 4682 invoked by uid 500); 2 Oct 2001 19:52:29 -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 4664 invoked from network); 2 Oct 2001 19:52:28 -0000 Message-ID: <3BBA1BD1.143E058B@cisco.com> Date: Tue, 02 Oct 2001 15:56:01 -0400 From: Paul Michali X-Mailer: Mozilla 4.73 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Can't get Ant to work with CVS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In preparation for using CruiseControl, I've modified my build.xml to add this code: ... I'm running on a PC, accessing a CVS repository on a Unix server that is setup for SSH access (using the :ext: mode). First, CVS commands that I enter from the command line are always prefixed with the password (for SSH). How do I handle that, when running from Ant (without blowing security by hardcoding my password)? Second, when I run the build.xml, I get several errors.... [CVSElement] java.text.ParseException: Unparseable date: "${lastGoodBuildTime}" [CVSElement] at ... [CVSElement] Log command failed to execute succesfully [CVSElement] java.lang.NullPointerException [CVSElement] at java.util.Calendar.setTime(Calendar.java:882) [CVSElement] ... [CVSElement] [modificationset] Too much repository activity...sleeping for: 30.0 seconds. [CVSElement] Log command failed to execute succesfully [CVSElement] java.lang.NullPointerException [CVSElement] at java.util.Calendar.setTime(Calendar.java:882) [CVSElement] ... BUILD FAILED E:\Java\Sources\PathFinder\build.xml:62: No Build Necessary Am I setting the lastbuild correctly in the modificationset? Is that causing the null pointer exception in the logging? Why is it saying there is too much activity in the repository, when I'm the only one using it? Why is it saying there is no build necessary, when I changed a source file prior to the build (is it all because of time stamp problems)? Thanks in advance!!! PCM (Paul Michali) Carrier Voice Gateway Business Unit (CVGBU) Cisco Systems, Inc. 250 Apollo Drive Chelmsford, MA 01824 Phone : (800) 572-6771 x 45817 (978) 244-5817 [direct] Paging: (800) 365-4578 [voice] pcm@epage.cisco.com [email page]