Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 71982 invoked by uid 500); 18 Jul 2001 14:02:01 -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 71971 invoked from network); 18 Jul 2001 14:02:00 -0000 Message-ID: <3B5596D3.D474B6F0@healthlanguage.com> Date: Wed, 18 Jul 2001 08:01:55 -0600 From: "Larry V. Streepy, Jr." Organization: Health Language, Inc. X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Re: Conditional javadocs build References: <753866CAB183D211883F0090271F46C20589DC1F@mailhost.armature.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Mark Hewitt wrote: > > Is it possible to tell the javadoc task to execute only if there > have been any changes to the packages over which it is running? > > For some of our projects, the resources required to generate the > javadocs are rate limiting, and while I can conditionalise the > compilation, there does not seem to be a well defined means of > doing the same for javadoc. It's not exactly perfect, but the fragment below works well enough for us. You can probably tweak it so it works for you. -- Larry V. Streepy, Jr. Chief Technical Officer and VP of Engineering Health Language, Inc. -- "We speak the language of healthcare" 970/626-5028 (office) mailto:streepy@healthlanguage.com 970/626-4425 (fax) http://www.healthlanguage.com