Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A6A89242 for ; Wed, 2 May 2012 14:45:27 +0000 (UTC) Received: (qmail 66281 invoked by uid 500); 2 May 2012 14:45:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 66222 invoked by uid 500); 2 May 2012 14:45:23 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 66213 invoked by uid 99); 2 May 2012 14:45:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 14:45:23 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [76.96.59.228] (HELO qmta15.westchester.pa.mail.comcast.net) (76.96.59.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 14:45:16 +0000 Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60]) by qmta15.westchester.pa.mail.comcast.net with comcast id 52dx1j00B1HzFnQ5F2kvoU; Wed, 02 May 2012 14:44:55 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.109.145]) by omta14.westchester.pa.mail.comcast.net with comcast id 52kv1j01J38FjT13a2kwvG; Wed, 02 May 2012 14:44:56 +0000 Message-ID: <4FA14867.4080302@christopherschultz.net> Date: Wed, 02 May 2012 10:44:55 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: tomcat deps on ant which deps on junit ... BUILD FAILED References: <99C8B2929B39C24493377AC7A121E21FB01970AFBF@USEA-EXCH8.na.uis.unisys.com> <4F9FF3D5.4060602@christopherschultz.net> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Albrecht, On 5/2/12 5:32 AM, Albretch Mueller wrote: >> Any particular reason you are building from source? > > I may need to work on the source, for example, TC's log valve. So I > want to make sure that my baseline compiled Fair enough. My release-testing script downloads, builds, and tests Tomcat 7 like this (simplified, since my script is fairly complex): $ wget ${BASE_URL}/${TOMCAT_SOURCE} $ tar xzf ${TOMCAT_SOURCE} $ cd ${TOMCAT_SOURCE_DIR} $ echo "base.path=/place/to/store/downloads" \ > "tarball/build.properties" $ ant download-compile download-test-compile [might not be necessary] $ ant test At that point (well, several minutes later), you should have a completely-tested source tree. Some of the tests may fail if you don't have tcnative built. I'll leave it as an exercise for the reader to figure out how to disable those tests (or build tcnative, which isn't so hard). If you want to build a deployable Tomcat so you can actually run it (that is, build something that looks like CATALINA_HOME), you need to do: $ ant deploy Actually, "deploy" is the default target, so $ ant ...should work. > Also, why should you have a "particular reason" to build from > source? ;-) Some people think they must build Tomcat for some reason, even though we package "binaries" that you can just use. Happy hacking! - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+hSGcACgkQ9CaO5/Lv0PD90ACeLYgsNcYKqxRQnhkis3cIHOMJ DekAoI1NqhY7slMaFLy0TbPXey8t7awk =XHuG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org