jvanzyl     2004/05/26 19:34:35

  Modified:    maven-mboot/src/bash maven.functions
  Log:
  o teach mboot about generated sources that live in
  
    target/generated-sources
  
  Revision  Changes    Path
  1.39      +8 -1      maven-components/maven-mboot/src/bash/maven.functions
  
  Index: maven.functions
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot/src/bash/maven.functions,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- maven.functions   26 May 2004 23:08:30 -0000      1.38
  +++ maven.functions   27 May 2004 02:34:35 -0000      1.39
  @@ -219,7 +219,14 @@
         if [ ! -z $sourceDirectory ] && [ -d $sourceDirectory ]
         then
           
  -        compile "$projectDependencyClassPath" $buildDest $sourceDirectory
  +        generatedSourceDirectory=target/generated-sources
  +        
  +        if [ -d $generatedSourceDirectory ]
  +        then
  +          generatedSources=`find $generatedSourceDirectory -name '*.java'`
  +        fi
  +        
  +        compile "$projectDependencyClassPath" $buildDest $sourceDirectory 
$generatedSources
         
           isCommandSuccessful $? "Failed compiling classes!"
         
  
  
  

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

Reply via email to