Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 70299 invoked from network); 2 Jul 2009 18:21:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 18:21:12 -0000 Received: (qmail 3678 invoked by uid 500); 2 Jul 2009 18:21:20 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 3575 invoked by uid 500); 2 Jul 2009 18:21:19 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 3565 invoked by uid 99); 2 Jul 2009 18:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 18:21:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 18:21:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MMQtt-0002io-CF for users@maven.apache.org; Thu, 02 Jul 2009 11:20:49 -0700 Message-ID: <24311699.post@talk.nabble.com> Date: Thu, 2 Jul 2009 11:20:49 -0700 (PDT) From: clconway To: users@maven.apache.org Subject: Re: maven-antrun-plugin: Java classes don't compile after an Ant task In-Reply-To: <88c1b40907012250k130790c1w916007c86b93dc5e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cconway@cs.nyu.edu References: <4a051d930907011613r6e3e1ae5o8a6c8172a4be9372@mail.gmail.com> <88c1b40907012250k130790c1w916007c86b93dc5e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Stephen Connolly-2 wrote: > > you need to use buildhelper-maven-plugin to attach the generated-sources > directory. Maven does not know that you've generated additional sources. > Most/all of the source generator maven plugins will add the > generated-sources/pluginname folder as an additional source path... > buildhelper is there to allow you to achieve the same from outside of a > plugin. > I don't think I was clear in my original message: the problem is that none of my Java classes are being compiled, not even the pre-existing, non-generated ones. Also, the problem does not occur with the echo Ant task. In that case, all of the Java classes do get compiled, both the pre-existing classes and the generated class. The sourceRoot element of the plugin configuration adds the generated sources to the source path. The problem seems to be more specifically with the java Ant task, which somehow seems to prevent Maven from continuing on to compile the Java classes. Thanks, Chris -- View this message in context: http://www.nabble.com/maven-antrun-plugin%3A-Java-classes-don%27t-compile-after-an-Ant-task-tp24300991p24311699.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org