Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 69739 invoked from network); 15 May 2010 22:46:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 May 2010 22:46:29 -0000 Received: (qmail 86272 invoked by uid 500); 15 May 2010 22:46:28 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 86233 invoked by uid 500); 15 May 2010 22:46:28 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 86224 invoked by uid 99); 15 May 2010 22:46:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 May 2010 22:46:28 +0000 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jimchy@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-ww0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 May 2010 22:46:22 +0000 Received: by wwb13 with SMTP id 13so1459716wwb.4 for ; Sat, 15 May 2010 15:46:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=32a4F6d5zGbGADgyrqgV59opZvK5B9dt4QqsYJitHiE=; b=CeL7+dmQbf/nb1PrYs1vSRhaImMdgAU5rcdjnJhH01kWqYB/05b4aB9BzMBPHfdC8+ wBqOQ3v1Y0knGoRvj5+i/tlayWCd/GKPmULi0nGKucl2Bq9gK938e14ZYWXUVJz3IXm8 +qsCIwoW5qYq8kbd9x8x1rBGYmFfkTC8hkdNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=K9uI7buk0Q0niWzAgPAHxMkhq7Gees5BgjPXZ2n1C2Fh0bBbk7OA25+r2If0H0PJgc smR9Vnog8GZOOfv4KcQUm+RnR5XCMrKxcHtpot7nRWQd3UNfrXxlRFvH66FYmPOrJmbY l9MDjZhgfacucJmw3nhpZkTmim28qZckDjw0g= MIME-Version: 1.0 Received: by 10.216.88.68 with SMTP id z46mr1952651wee.222.1273963560707; Sat, 15 May 2010 15:46:00 -0700 (PDT) Received: by 10.216.29.81 with HTTP; Sat, 15 May 2010 15:46:00 -0700 (PDT) Date: Sat, 15 May 2010 18:46:00 -0400 Message-ID: Subject: Core ant project in Eclipse From: James Chy To: dev@ant.apache.org Content-Type: multipart/alternative; boundary=0016e6daa82b7e2c2b0486a9c1d9 --0016e6daa82b7e2c2b0486a9c1d9 Content-Type: text/plain; charset=ISO-8859-1 All, I have had a hard time finding information on running ant locally in Eclipse so I can use the debugger to debug core ant code. Do the developers on the project typically use Eclipse for development? If so, what class path works in Eclipse to do this? Is there a set of commands to get all the dependent jars? Can I debug org.apache.tools.ant.launch.Launcher directly? If so, where should the build.xml be that it runs? Below are the steps I have completed get this going. I have checked out. http://svn.apache.org/repos/asf/ant/core/trunk from subversion to a directory called ant-core. I got up to revision 944382 which is 1.8.2alpha. I created a new Java Project against this code. The default output folder is ant-core/bin. The default Libraries are ant-antunit-1.1.jar, junit-3.8.2.jar and the JRE (I'm currently using jdk1.6.0_14) Eclipse detects the default source directories as the following: ant-core/src ant-core/src/etc/testcases/core/containerssrc ant-core/src/etc/testcases/core/loaderref/src ant-core/src/etc/testcases/taskdefs/apt ant-core/src/etc/testcases/taskdefs/fixcrlf/expected ant-core/src/etc/testcases/taskdefs/fixcrlf/input ant-core/src/etc/testcases/taskdefs/manifestclasspath ant-core/src/etc/testcases/taskdefs/optional/depend/src1 ant-core/src/etc/testcases/taskdefs/optional/depend/src2 ant-core/src/etc/testcases/taskdefs/optional/depend/src3 ant-core/src/etc/testcases/taskdefs/optional/depend/src4 ant-core/src/etc/testcases/taskdefs/optional/depend/src5 ant-core/src/etc/testcases/taskdefs/optional/javah/input ant-core/src/etc/testcases/taskdefs/rmic/src ant-core/src/etc/testcases/taskdefs/types/assertions ant-core/src/main ant-core/src/etc/tests/antunit/core/location/src ant-core/src/etc/tests/antunit/taskdefs/javac-dir/bad-src ant-core/src/etc/tests/antunit/taskdefs/javac-dir/good-src ant-core/src/etc/tests/antunit/taskdefs/optional/junit/src ant-core/src/test/junit This results in approximately 862 errors. I was able to build.bat and it built the project into dist. But, I would like to be able to use Eclipse's debugger. The main launch point appears to be org.apache.tools.ant.launch.Launcher. I can right-click on this file and select Debug Java application and hit breakpoints I set, but I would need a clean build to do this. --0016e6daa82b7e2c2b0486a9c1d9--