On Sat, 2002-08-31 at 12:36, [EMAIL PROTECTED] wrote:
> FWIW,
> 
> we used to have multiple source directories. With ant as the plugin 
> architecture it was a pain in the butt. Ant has no concept of looping 
> through defined paths for example. Read the archives for the gory details.
> 
> Anyway.....we used to have a prepare source goal....did that get nuked?

It did as the antlr plugin provides a much better way to deal with
generated sources: you generate your sources to any given directory and
they you modify the the path using the <addPath/> so that you can
compile static sources along with generated sources.

> --
> dIon Gillard, Multitask Consulting
> Work:      http://www.multitask.com.au
> Developers: http://adslgateway.multitask.com.au/developers
> 
> 
> "Ara Abrahamian" <[EMAIL PROTECTED]> wrote on 30/08/2002 07:59:00 PM:
> 
> > I'm in the same camp. I'm trying to convert a huge multi-subsystem
> > project to maven. I use xdoclet too. A project.xml for each subsystem is
> > ok for me, but the single source folder approach absolutely not. I like
> > the idea of using Ant style Path for setting up src. At leasy imho a
> > gensrc should be added to Maven. Like tests are treated specially, auto
> > generated sources/artifacts should be too.
> > 
> > Ara. 
> > 
> > > -----Original Message-----
> > > From: J. Matthew Pryor [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, August 29, 2002 3:00 AM
> > > To: Turbine Maven Users List
> > > Subject: RE: projects with multiple source directories
> > > 
> > > Another complicated scenario is where you have a combination of "real"
> > > source & generated source (xdoclet generated for example)
> > > 
> > > Given how well Ant handles Path-like-structures why is it that maven
> > can't
> > > treat src as a path-like-structure rather than a single
> > > directory
> > > 
> > > Thanks,
> > > jmp
> > > 
> > > > -----Original Message-----
> > > > From: Barry Kaplan [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, August 29, 2002 6:51 AM
> > > > To: Turbine Maven Users List
> > > > Subject: Re: projects with multiple source directories
> > > >
> > > >
> > > > Downey, Kyle wrote:
> > > >
> > > > >Hello,
> > > > >
> > > > >I found a July message that this feature used to exist (in fact,
> > FYI,
> > > in the
> > > > >image of the POM in the documentation it's still there) but was
> > > removed. I
> > > > >saw a reply that said this was done for simplicity, but I know of
> > > multiple
> > > > >projects with this kind of structure. If Maven won't do this,
> > what's
> > > the
> > > > >workaround?
> > > > >
> > > > >For the project I'm converting to Maven there are multiple source
> > > > >directories because it's broken into distinct modules that build
> > their
> > > own
> > > > >JARs (and each has its own third-party library dependencies, which
> > are
> > > > >handled in the existing build.xml files). What are my options if I
> > want
> > > to
> > > > >create a Maven site that has CVS, style and other reports plus
> > Javadocs
> > > for
> > > > >all five modules?
> > > > >
> > > > >
> > > > The general answer has been to create multiple maven projects. Our
> > > > project has multiple directories also, but they don't correspond 1-1
> > > > with jars. They exists to make development via IDEs easier. (We use
> > the
> > > > IDEs all day, so it was an easy decision.) So what I did, was to
> > write a
> > > > goal to copy the files from their true location into a maven-only
> > src
> > > > tree. I also had to modify the cvs plugins since the cvs info is not
> > in
> > > > the maven src tree, but in the source tree. (Those mods are clean
> > and
> > > > backward compatible. I'll post the them soon and see if the maveners
> > > > will commit them.)
> > > >
> > > > Maven is too nice to not use just because the directory limitation.
> > > > Copying the files is not so tuff. But it does pretty much relegate
> > maven
> > > > to batch mode.
> > > >
> > > > Making maven support multiple source directories would really not be
> > > > that hard. I suppose it seemed like the better thing to do given the
> > way
> > > > the plugins were written. Most would access the pom properties
> > > > directory. If instead a jellybean was defined that would provide the
> > > > appropiate fileset/path, projects could install a multi-directory
> > > > version of that jellybean if they needed to. (At some point, I'll
> > spike
> > > > this to see if it is really that easy.)
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> > > [EMAIL PROTECTED]>
> > > > For additional commands, e-mail: <mailto:turbine-maven-user-
> > > [EMAIL PROTECTED]>
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> > > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:turbine-maven-user-
> > > [EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> > [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]>

Reply via email to