No you can't .

But you can write a pregoal of the java:compile that process some source
code normally and then append to the  maven.compile.src.set  variable
like that

      <goal name="othersource" description="Generate source from antlr
grammars">

            <!-- in case generate the source here -->

            <ant:path id="maven.extra.src.set" location=
"${project.src.gen.dir}" />

            <m:addPath id="maven.compile.src.set" refid=
"maven.extra.compile.src.set" />

      </goal>
      <preGoal name="java:compile">
            <attainGoal name="othersource" />
      </preGoal>

Best Regards
Michele


|---------+---------------------------->
|         |           "Ricardo de Souza|
|         |           Moura"           |
|         |           <[EMAIL PROTECTED]|
|         |           tmail.com>       |
|         |                            |
|         |                            |
|         |           24/09/2004 10:59 |
|         |           Please respond to|
|         |           "Maven Users     |
|         |           List"            |
|         |                            |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |                                                                                    
                                          |
  |        To:                                         [EMAIL PROTECTED]               
                                     |
  |        cc:                                         (bcc: Michele Forte/SwissRe)    
                                          |
  |        bcc:                                        Michele Forte/SwissRe           
                                          |
  |        Subject:                                    source directory                
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




Can I have two diferentes source directory ?

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com


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






This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender


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

Reply via email to