The wolips (release HEAD-5473) default build script "package" target
loses the execute permissions on the startup script. The default is.
<target name="package" unless="servletDeployment">
<tar destfile="${dest.dir}/${build.app.name}-Application.tar.gz"
compression="gzip"
basedir="${dest.dir}"
longfile="gnu"
includes="${build.app.name}.woa/**">
</tar>
<tar destfile="${dest.dir}/${build.app.name}-
WebServerResources.tar.gz"
compression="gzip"
basedir="${wsdest.dir}/WebObjects"
longfile="gnu"
includes="${build.app.name}.woa/**">
</tar>
</target>
However, to keep execute permissions on the startup script, the
"package" target can be modified to
<target name="package" unless="servletDeployment">
<tar destfile="${dest.dir}/${build.app.name}-Application.tar.gz"
compression="gzip"
longfile="gnu">
<tarfileset dir="${dest.dir}" mode="750">
<include name="${build.app.name}.woa/${build.app.name}"/>
</tarfileset>
<tarfileset dir="${dest.dir}">
<exclude name="${build.app.name}.woa/${build.app.name}"/>
<include name="${build.app.name}.woa/**"/>
</tarfileset>
</tar>
<tar destfile="${dest.dir}/${build.app.name}-
WebServerResources.tar.gz"
compression="gzip"
basedir="${wsdest.dir}/WebObjects"
longfile="gnu"
includes="${build.app.name}.woa/**">
</tar>
</target>
Cheers
Tim
On 10/09/2008, at 8:19 PM, Mike Schrag wrote:
>> Not sure if this script now offers advantages over the standard
>> build.xml and preferences in the New Hotness. I will have a look
>> at it next week... and either deprecate it while showing how to
>> accomplish same thing with New Hotness or update it to work with
>> new woproject. Meanwhile the attributes are explained here:
>> http://wiki.objectstyle.org/confluence/display/WOL/WOApplication
> The default build scripts in nightly include a (slightly) modified
> implementation of Kieran's split install code. You should replace
> your build.xml with one from a new project.
>
> ms
>
>
This archive was generated by hypermail 2.0.0 : Fri Sep 12 2008 - 01:10:47 EDT