Re:Google App Engine Blog: 1.6.6 SDK Released
by gregorynicholas on Thursday May 24, 2012 @02:40AM
(#4017163)
would love to collab with you on your build scripts, hit me up at http://twitter.com/gregorynich
[ Parent
| on HN ]
Re:Google App Engine Blog: 1.6.6 SDK Released
by harrywye on Thursday May 24, 2012 @05:12AM
(#4017521)
Not much of a build script, really. I used to (and, still do, for a limited purposes) use ant script to copy GAE jar files to war dir. (Now, Eclipse plugin seems to do that for me.) In any case, the relevant part is as follows (which used to have hard-coded SDK dir). I changed it last night to use "environment" var, GAESDK_HOME.
...
<property environment="myenv" />
<property name="gae.sdk.dir" value="${myenv.GAESDK_HOME}"/>
...
<target name="copyGAEJars">
<copy todir="${warLibDir}" overwrite="true" flatten="true">
<fileset dir ="${gae.sdk.dir}/lib/user">
<include name="**/*.jar" />
</fileset>
</copy>
</target>
....