#113 ant task should support a 1:1 copy of launch4j.xml

3.x
closed-invalid
nobody
None
5
2013-08-05
2012-12-22
Oliver Kopp
No

Currently, the format of the parameters for the ant task differs from the saved XML file. Therefore, just copying and pasting the contents of the XML into <launch4j> does not work. Is it possible to support that syntax as alternative?

Discussion

  • ToFi
    ToFi
    2012-12-27

    +1
    Would be great to have all the config file options in ant as well...

     
  • Grzegorz Kowal
    Grzegorz Kowal
    2013-08-05

    • status: open --> closed-invalid
     
  • Grzegorz Kowal
    Grzegorz Kowal
    2013-08-05

    You don't have to copy it, you can simply point to where the config file is and optionally override some of the parameters:

    <launch4j configFile="./l4j/demo.xml" />
    

    You can set or override the following configuration properties...

    jar="absolute path or relative to basedir"
    jarPath="relative path"
    outfile
    fileVersion
    txtFileVersion
    productVersion
    txtProductVersion
    bindir="alternate bin directory..."
    tmpdir="alternate working directory..."
    
     
    Last edit: Grzegorz Kowal 2013-08-05