Checkout the antlr plugin.
> -----Original Message----- > From: Steve Garcia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 24 September 2003 11:59 AM > To: 'Maven Users List' > Subject: RE: adding a path to maven.compile.src.set > > > I don't see why not. My "maven:addPath" declarations are > outside of the goal tag so all goals see the changes > (although this may not be what you are looking for.) > > -----Original Message----- > From: Nathan Coast [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 23, 2003 6:59 PM > To: Maven Users List > Subject: Re: adding a path to maven.compile.src.set > > > can this be used within a plugin? > > <goal ...... > > <ant:path > id="my.other.src.dir" > location="${basedir}/debug/src"/> > <maven:addPath > id="maven.compile.src.set" > refid="my.other.src.dir"/> > > <attainGoal name="java:compile"/> > > </goal> > > Brett Porter wrote: > > > There is a question in the FAQ about this... Have you had a > look there > > yet? > > > > Cheers, > > Brett > > > > > >>-----Original Message----- > >>From: Nathan Coast [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, 24 September 2003 11:27 AM > >>To: maven users > >>Subject: adding a path to maven.compile.src.set > >> > >> > >>Hi, > >> > >>Is there any way to add a path to the maven.compile.src.set? I have > >>sources that are used to generate other sources (using ejbgen - like > >>xdoclet). At the > >>moment I'm generating the sources into the same place as the > >>original source and > >>then compiling. I'd like to keep my generated sources away > >>from the 'real' > >>source but still be able to compile them together. Ideally > >>I'd like to be able > >>to add to the maven.compile.src.set in one plugin then call > >>the java:compile > >>goal. I guess the alternative would be to copy the > >>java:compile goal into my > >>plugin and add the appropriate dir to the <ant:src> set. > >> > >>thanks > >>Nathan > >> > >> > >> > >> > >>------------------------------------------------------------ > --------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
