This is simple to do but hard to figure out.

  1. Define the run.args.extra property in the suite's file. (i.e. run.args.extra=-J-Xms48m -J-Xmx512m)
  2. Add/edit this target to your suite's build.xml file:
    <target name="build-launchers" depends="">
            <replace file="build/launcher/etc/${}.conf">
                <replacefilter token="/dev" value="/${app.version}" />
                <replacefilter token="-J-Xms24m -J-Xmx64m" value="${run.args.extra}" />
  3. Build your application.
  4. Note: The above will work with any distribution method (i.e. zip, installer, etc...)

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo