Skip to content

Commit

Permalink
Fix for build issue with gaeDeploy.sh which fails, add softlink
Browse files Browse the repository at this point in the history
Invocation of ./gradlew gaeUpload
fails with srcDirs path not found.  It appears the gradle-gae-plugin
(https://github.com/bmuschko/gradle-gae-plugin) has changed how it sets
both srcDirs and warDir with Gaelyk 1.2.  In commit: 3df134 on iUi,
the transition to Gaelyk 1.2 takes place.  This is a big deal and
affects the entire gaelyk build.  I believe, based on review of the
above github URL, that there is a bug in the gradle gae plugin that
always uses the default srcDirs path 'src/main/webapp' to find
WEB-INF/groovy.  I was unable to coerce the build.gradle to use
anything other than the expected default gradle directory structure.
So that it uses the default directory isn't a problem, but the problem
was that I couldn't override the srcDirs property.  I will explore this
later.

The quick fix is to add a soft link to 'src/main/webapp' ->../../web-app

This begs the question, why not adopt the proper gradle directory
structure?  So I see this fix as a workaround until we answer the real
question.
  • Loading branch information
truedat101 committed Jul 22, 2012
1 parent e19f52c commit 45380c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/webapp

0 comments on commit 45380c1

Please sign in to comment.