Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 14093 invoked from network); 18 Apr 2006 21:17:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2006 21:17:24 -0000 Received: (qmail 84315 invoked by uid 500); 18 Apr 2006 21:17:19 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 84178 invoked by uid 500); 18 Apr 2006 21:17:18 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 84131 invoked by uid 99); 18 Apr 2006 21:17:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 14:17:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2006 14:17:17 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A54497142C1 for ; Tue, 18 Apr 2006 21:16:18 +0000 (GMT) Message-ID: <22808087.1145394978667.JavaMail.jira@brutus> Date: Tue, 18 Apr 2006 21:16:18 +0000 (GMT+00:00) From: "matt c (JIRA)" To: dev@beehive.apache.org Subject: [jira] Commented: (BEEHIVE-372) Change AptTask to do up-front copying of all files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-372?page=comments#action_12374996 ] matt c commented on BEEHIVE-372: -------------------------------- Verified as fixed. This bug can be closed, as the original issue revolves around using the non-java extensions, and that is no longer a supported way of creating webservices and jpfs in beehive. This bug can be closed. > Change AptTask to do up-front copying of all files > -------------------------------------------------- > > Key: BEEHIVE-372 > URL: http://issues.apache.org/jira/browse/BEEHIVE-372 > Project: Beehive > Type: Improvement > Components: Controls > Versions: V1Beta > Reporter: Kyle Marvin > Assignee: Jacob Danner > Priority: Minor > > If the ANT AptTask uses the "compileByExtension" flag, it incrementally processes each file extension on the input list one by one. For each extension, it will copy all input sources files of that extension to a .java file, then process/compile all files w/ the same extension as a group. (The copy is needed because apt will only take .java files as input) > The rub comes if a file w/ one extension wants to reference a type declared in a file w/ a different non-java extension that is processed after it. Because the copy-to-java doesn't happen until the latter extension is reached in the list, the source parser can't find it and will ultimately give unresolved type errors. > A better algorithm would be to do the copy-to-java step for all input files as a precursor to attempting to process any of them. This will offer much more flexibility in cross-extension type references. > As a workaround, the user is always able to handle dependency ordering more directly by breaking a project build down into a series of invocations based upon dependency ordering requirements. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira