浏览代码

Fix having the jvm args being copied to the conf file

Toni Helenius 2 年之前
父节点
当前提交
5816b3af9e
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      build.xml

+ 1 - 3
build.xml

@@ -37,9 +37,7 @@
         <property name="jdkhome.string" value='#jdkhome="/path/to/jdk"'/>
         <copy file="${harness.dir}/etc/app.conf" tofile="build/launcher/etc/${app.name}.conf" overwrite="true">
             <filterchain>
-                <replacestring from="$${branding.token}" to="${branding.token}"/>
-                <replacestring from="$${APPNAME}/dev" to="$${APPNAME}/${app.version}"/>
-                <replacestring from="-J-Xmx64m" to="${run.args.extra}"/>
+                <replacestring from="$${branding.token}" to="${branding.token} ${run.args.extra}"/>
                 <replacestring from='#jdkhome="/path/to/jdk"' to ='${jdkhome.string}'/>
             </filterchain>
         </copy>