My bad!!! Total agree with code generation scenarios
-D On Sat, 4 Sep 2004 08:48:20 -0700, David Jencks <[EMAIL PROTECTED]> wrote: > Generally plugins that generate additional source (javacc, xmlbeans, > presumably xdoclet for a few) generate the source into a clearly > labelled subdirectory of target and add this to the source path > themselves. > > I don't see any reason to allow "static" configuration of multiple > source directories. I do think that an easier-to-find guide on "how to > write a code generation plugin that adds the generated source to the > source path" might be a good idea. > > thanks > david jencks > > > > On Sep 4, 2004, at 2:13 AM, Geoffrey wrote: > > > If some sources are generated (for example with JAXB, GUI builders, > > ...), > > it is a good idea to keep them separated from the normal sources (to > > be able > > to clean them etc), > > so it seems logical to me that Maven includes the option directly to > > have > > several source directories. > > Having some sources being generated is not a valid reason to have > > separate > > module I think. > > > > But maybe this should be looked at together with RMI stub generation > > and other binary class generators (jsp precompilation?). > > It would be nice if there is a general system to plugin plugins that > > generate sources > > or plugins that generate class files. > > > > -- > > With kind regards, > > Geoffrey > > > > "dan tran" <[EMAIL PROTECTED]> schreef in bericht > > news:[EMAIL PROTECTED] > >> Roberto, > >> > >> Maven discourages from this kind of build practice, unless you are > >> willing > > to > >> do it your self, by combining multiple source directories into one via > >> preGoal of > >> java:complile. > >> > >> The correct way is to break your project into multiple projects and > >> use Multiproject plugin to build them. > >> > >> -D > >> > >> > >> > >> On Mon, 30 Aug 2004 10:36:11 -0300, Roberto Castro > >> <[EMAIL PROTECTED]> wrote: > >>> Hi, in my project, java source codes are in more than one > >>> subdirectory, > > like this: > >>> --Source > >>> | > >>> +-Dir1 > >>> | > >>> +subdir1 > >>> | + . . . > >>> | > >>> +subdir2 > >>> + . . . > >>> I tried to configure "project.xml" this way: > >>> <build> > >>> <sourceDirectory>Source/Dir1/**</sourceDirectory> > >>> > >>> But, maven was not able to find java source codes. > >>> Is there a way to compile all this codes in one subproject? > >>> Thanks in advance for the help, > >>> > >>> Roberto de Castro > >>> Analista de Suporte > >>> Cetip - Desus Rio de Janeiro > >>> +55 21 2276-7439 > >>> mailto:[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] > > > > --------------------------------------------------------------------- > 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]
