> -----Original Message-----
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
> Sent: 5. januar 2003 23:32
> To: Turbine Maven Users List
> Subject: Re: generated src directories
>
>
> On Sun, 2003-01-05 at 16:54, Brett Porter wrote:
> > Hi Jason,
> >
> > This is the technique I used - thanks. However, this doesn't add the
> > files to the javadoc generation list.
>
> That isn't very consistent is it :-)
>
> > Do you think it is appropriate that javadoc uses compile.src.set? Or
> > should there be a javadoc.src.set? At the moment, the javadoc plugin is
> > just using a single src directory in the ant task, but I'd like to be
> > able to include all source, generated source and test
> directories in the
> > one set.
>
> Yes, a mutable source set would probably be best in this case to allow
> for generation as the compilation phase does.
>
> Off the top of my head I think that compile.src.set would suffice but
> we'll leave it for a couple hours and see if anyone else chimes in.
> We'll pop a src set in there soon though to make it consistent. Good
> catch.
>

I submitted a patch a few months back that does exactly that. Works fine for
me.

http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-134

Aslak

> > Cheers,
> > Brett
> >
> > Jason van Zyl wrote:
> > > On Thu, 2003-01-02 at 23:26, Brett Porter wrote:
> > >
> > >>Hi,
> > >>
> > >>I know multiple source directories have been ruled out (can't
> find the
> > >>specific discussion I was reading the in archives, something about
> > >>adding another type alongside test/src and src).
> > >>
> > >>What is the best approach for generated source (I'm thinking
> > >>specifically of JAXB). I'd like to compile and javadoc these with the
> > >>others without manual overrides, but don't want to dump them into the
> > >>man src directory. Is there another way?
> > >
> > >
> > > Look at the antlr plugin. It's the way we'll be promoting.
> For generated
> > > sources you can dynamically add paths to the compile.src.set
> which will
> > > then be compile.
> > >
> > >
> > >>Thanks,
> > >>Brett
> > >>
> > >>
> > >>--
> > >>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> >>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.

  -- Jacques Ellul, The Technological Society


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to