o teach mboot about generated sources that live in

target/generated-sources


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-05-27 02:34:35 +00:00
parent ee5bc4d5f9
commit cd6829f8b5
1 changed files with 8 additions and 1 deletions

View File

@ -219,7 +219,14 @@ buildMavenProject()
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!"