Hi,

> What can I do to change de JAVA_HOME using assmble goal to generate a
program, not a daemon?

You can use either the JAVA_HOME variable direct before calling the script (.bat/.sh) or you can configure a setup environment file...

like this:

        <configuration>
          <environmentSetupFileName>setup-env</environmentSetupFileName>
          <extraJvmArguments>-Xms16m</extraJvmArguments>
          <platforms>
            <platform>all</platform>
          </platforms>
          <programs>
            <program>

<mainClass>org.codehaus.mojo.appassembler.example.helloworld.HelloWorld</mainClass>
              <name>basic-test</name>
              <commandLineArguments>
                <commandLineArgument>arg1</commandLineArgument>
                <commandLineArgument>arg2</commandLineArgument>
            </commandLineArguments>
            </program>
          </programs>
        </configuration>

This file should be located in the bin folder ...and will be called automatically by the scripts.


Kind regards
Karl Heinz Marbaise
Mojo Team.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to