Removed dependencies to sed for the macosx package generation.

Replaced with ant's "replace" and "echo" tasks.
cusax-fix
Romain Kuntz 19 years ago
parent 3e78380ddf
commit fcba89ac94

@ -354,22 +354,23 @@
</condition> </condition>
<!-- Prepare the logging.properties file for macosx --> <!-- Prepare the logging.properties file for macosx -->
<exec executable="/usr/bin/sed" <copy file="${inst.resrc}/logging.properties"
dir="${basedir}" tofile="${macosx.resrc.dir}/logging.properties"
input="${inst.resrc}/logging.properties" overwrite="true"/>
output="${macosx.resrc.dir}/logging.properties"> <replace file="${macosx.resrc.dir}/logging.properties"
<arg value="-f"/> token="java.util.logging.FileHandler.pattern = %h/.sip-communicator/log"
<arg value="${macosx.resrc.dir}/logging.properties.sed"/> value="java.util.logging.FileHandler.pattern = log"/>
</exec>
<!-- Prepare the felix.client.run.properties file for macosx --> <!-- Prepare the felix.client.run.properties file for macosx -->
<exec executable="/usr/bin/sed" <copy file="${lib}/felix.client.run.properties"
dir="${basedir}" tofile="${macosx.resrc.dir}/felix.client.run.properties"
input="${lib}/felix.client.run.properties" overwrite="true"/>
output="${macosx.resrc.dir}/felix.client.run.properties"> <replace file="${macosx.resrc.dir}/felix.client.run.properties"
<arg value="-f"/> token="org.osgi.framework.system.packages="
<arg value="${macosx.resrc.dir}/felix.client.run.properties.sed"/> value="org.osgi.framework.system.packages= com.growl;"/>
</exec> <echo file="${macosx.resrc.dir}/felix.client.run.properties"
append="true">felix.auto.start.70= reference:file:sc-bundles/os-specific/macosx/growlnotification.jar
</echo>
<!-- Delete the old .app if it exists --> <!-- Delete the old .app if it exists -->
<delete dir="${macosx.app.dir}/${macosx.app.name}.app" <delete dir="${macosx.app.dir}/${macosx.app.name}.app"

@ -1,3 +0,0 @@
s/org.osgi.framework.system.packages=/org.osgi.framework.system.packages=\ com.growl;/
$a\
felix.auto.start.70= reference:file:sc-bundles/os-specific/macosx/growlnotification.jar

@ -1 +0,0 @@
s/java.util.logging.FileHandler.pattern\ =\ %h\/.sip-communicator\/log/java.util.logging.FileHandler.pattern\ =\ log/
Loading…
Cancel
Save