Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 76472 invoked from network); 12 Feb 2005 16:06:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Feb 2005 16:06:22 -0000 Received: (qmail 17203 invoked by uid 500); 12 Feb 2005 16:06:20 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 17148 invoked by uid 500); 12 Feb 2005 16:06:20 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 17135 invoked by uid 99); 12 Feb 2005 16:06:20 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 12 Feb 2005 08:06:18 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1CG6FHR017577 for ; Sat, 12 Feb 2005 17:06:15 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j1CG6F4C017575; Sat, 12 Feb 2005 17:06:15 +0100 Date: Sat, 12 Feb 2005 17:06:15 +0100 Message-Id: <200502121606.j1CG6F4C017575@ajax.apache.org> From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 33534] - AspectJ compiler X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=33534 ------- Additional Comments From kevin.jackson@it.fts-vn.com 2005-02-12 17:06 ------- Ok, so after a quick break to watch the football... I've implemented a compiler for iajc, but I've only tested with an old version of AspectJ, this has one major problem: Old versions (ajc) require that aspect source files be called foo.aj, not foo.java. New versions of AspectJ compiler (iajc) don't have this deficiency. To get it working with the old (ajc) I replaced the GlobPatternMapper with a RegexpPatternMapper so that it could pull in *.aj and *.java files. I'm now going to download the newer compiler (iajc) and rename my files, revert the RegexpPatternMapper to the GlobPatternMapper and see if this works. Apart from this problem (which should be resolved with the newer compiler), all the changes will be local to taskdefs.compilers. Obviously this implementation hasn't been thoroughly tested, and as yet I've only got a barebones (compile, no fancy debug options etc) implemetation completed. Pros: - enables compilation of AspectJ code within Ant without having to use an external taskdef - iajc is based on the eclipse compiler and will happily compile 'normal' Java code along with aspects - minimal impact on the codebase (one change to CompilerAdapterFactory, and a new Iajc class) Cons: - still requires aspectjtools.jar on the classpath for the target eg: Again sorry for using Bugzilla for this, but my ISP is still not happy. Kev -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org