Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 18839 invoked from network); 24 Sep 2004 10:04:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Sep 2004 10:04:04 -0000 Received: (qmail 87724 invoked by uid 500); 24 Sep 2004 10:06:06 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 87676 invoked by uid 500); 24 Sep 2004 10:06:03 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 87658 invoked by uid 99); 24 Sep 2004 10:06:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [203.59.3.44] (HELO mail.iinet.net.au) (203.59.3.44) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 24 Sep 2004 03:06:01 -0700 Received: (qmail 20008 invoked from network); 24 Sep 2004 10:05:56 -0000 Received: from unknown (HELO ?127.0.0.1?) (203.206.246.2) by mail.iinet.net.au with SMTP; 24 Sep 2004 10:05:56 -0000 Message-ID: <4153F17F.5090601@apache.org> Date: Fri, 24 Sep 2004 20:05:51 +1000 From: Brett Porter Reply-To: brett@apache.org User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven Developers List Subject: Re: [idea plugin] trying to muck with plugin to use antlr sources References: <1096013309.17227.26.camel@fermi.trunk.joshua-tree.org> In-Reply-To: <1096013309.17227.26.camel@fermi.trunk.joshua-tree.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I think it was David Jencks that attached a patch to MPIDEA-10 today for generated sources. I haven't looked at it yet, but if you want to check it out and see if it does the job for you, let me know. I'll probably apply it in the next few days once I've had a chance to look anyway. If not, we can take a closer look - we'd need to review the antlr code to figure how it determines if sources are present and whether it sets a variable, but I would definitely NOT be adding that to the idea plugin (that's a nasty cross dependency...) It would be much better for the idea plugin to parse the maven.compile.src.set instead. - Brett Alex Karasulu wrote: >Hiya, > >I've been playing with the idea plugin to see if I can get it to include >the antlr generated path. Here's the change I made by the way does not >work: > >(cvs diff inside maven-plugins/idea in trunk) > >Index: src/plugin-resources/templates/v4/module.jelly >=================================================================== >RCS file: >/home/cvspublic/maven-plugins/idea/src/plugin-resources/templates/v4/module.jelly,v >retrieving revision 1.7 >diff -r1.7 module.jelly >123a124,127 > > >> >> > >> >path="${maven.antlr.target.dir}" separator="/" /> > > >> > >> >isTestSource="true"/> > > >> >> >> > >Now this does not work because I did not know if there was an equivalent >to sourcesPresent for antlr. I made up 'antlrSourcesPresent' above as a >place holder. Was wondering what I should use here instead or does no >equivalent property exist for antlr sources? > >Thanks, >Alex > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org >For additional commands, e-mail: dev-help@maven.apache.org > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org