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]toRoberto,
Maven discourages from this kind of build practice, unless you are willinglike this: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,--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]
