Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 36716 invoked from network); 31 Dec 2006 11:22:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Dec 2006 11:22:53 -0000 Received: (qmail 63158 invoked by uid 500); 31 Dec 2006 11:23:00 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 62754 invoked by uid 500); 31 Dec 2006 11:22:59 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 62743 invoked by uid 99); 31 Dec 2006 11:22:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Dec 2006 03:22:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Dec 2006 03:20:14 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BBDF1714286 for ; Sun, 31 Dec 2006 03:17:23 -0800 (PST) Message-ID: <31581282.1167563843767.JavaMail.jira@brutus> Date: Sun, 31 Dec 2006 03:17:23 -0800 (PST) From: "Bernd Bohmann (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TOBAGO-204) APT does not see sources in "self" project when processing generated sources In-Reply-To: <22252904.1164815241249.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/TOBAGO-204?page=comments#action_12461576 ] Bernd Bohmann commented on TOBAGO-204: -------------------------------------- I'm not able to test the patch on windows. Have you tested the patch in a windows environment? > APT does not see sources in "self" project when processing generated sources > ---------------------------------------------------------------------------- > > Key: TOBAGO-204 > URL: http://issues.apache.org/jira/browse/TOBAGO-204 > Project: MyFaces Tobago > Issue Type: Bug > Components: Maven Apt Plugin > Affects Versions: 1.0.8 > Reporter: Thierry Monney > Assigned To: Bernd Bohmann > Priority: Minor > Fix For: 1.0.10 > > Attachments: projects.zip, workingDir.patch > > > We have a multi-module setup in which module A defines an annotation processor and module B uses maven-apt-plugin to generate source code. The generation itself works OK. > When APT runs on the generated sources, since the working directory is ${tempRoot} in forked mode, APT has no access to source files. This looks like normal behavior from APT point of view (the same happens on the command line), but results in parsing errors (although the generated code is correct and builds correctly). > A solution would be to add a ${workingDir} parameter to the mojo and make it point to the project source folder. I will submit a patch shortly. -- 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