IzPack does not work

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

IzPack does not work

Dieter Engelhardt-2
Hi there,
i've tried to integrate IzPack in my build environment but when i
execute thze ant task: make_install_jar i get the following:
LzPack:
     [java] .::  IzPack - Version 3.11.0 ::.
     [java] < compiler specifications version: 1.0 >
     [java] - Copyright (c) 2001-2008 Julien Ponge
     [java] - Visit http://izpack.org/ for the latest releases
     [java] - Released under the terms of the Apache Software License
version 2.0.
     [java] -> Fatal error :
     [java]    bad argument
     [java] java.lang.Exception: bad argument
     [java]     at
com.izforge.izpack.compiler.CompilerConfig.main(CompilerConfig.java:2208)
     [java]     at
com.izforge.izpack.compiler.Compiler.main(Compiler.java:709)
     [java] (tip : use -? to get the commmand line parameters)

The command line help tells me, that i should use -h instead of -HOME
but this doesn't work either.
Here is  my test ant task:
    <target name="LzPack" depends="init">
        <java jar="${izpack.home.dir}/lib/compiler.jar"
              fork="true"
              failonerror="true"
              maxmemory="128m"
        >
            <arg value="-HOME"/>
            <arg value="${izpack.home.dir}"/>
           
            <arg value="${basedir}/build/${izpack.config.file}"/>
            <arg value="-b"/>
            <arg value="${basedir}/build"/>
            <arg value="-k"/>
            <arg value="standard-kunststoff"/>
            <arg value="-o"/>
            <arg
value="${basedir}/../squirrel-sql-dist/${name}-${version}-install.jar"/>

            <classpath>
                <pathelement
location="${izpack.home.dir}/lib/compiler.jar"/>
                <pathelement path="${java.class.path}"/>
            </classpath>
        </java>        
    </target>        

Does anybody of you guys have a hint for me whats wrong?

I'm just want to make shure, that my new plugin is working in a new
distribution of squirrel.

Thanx for your help,
Dieter.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Squirrel-sql-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
Reply | Threaded
Open this post in threaded view
|

Re: IzPack does not work

Robert Manning
On Sun, Apr 6, 2008 at 5:12 PM, Dieter Engelhardt <[hidden email]> wrote:

> Hi there,
>  i've tried to integrate IzPack in my build environment but when i
>  execute thze ant task: make_install_jar i get the following:
>  LzPack:
>      [java] .::  IzPack - Version 3.11.0 ::.
>      [java] < compiler specifications version: 1.0 >
>      [java] - Copyright (c) 2001-2008 Julien Ponge
>      [java] - Visit http://izpack.org/ for the latest releases
>      [java] - Released under the terms of the Apache Software License
>  version 2.0.
>      [java] -> Fatal error :
>      [java]    bad argument
>      [java] java.lang.Exception: bad argument
>      [java]     at
>  com.izforge.izpack.compiler.CompilerConfig.main(CompilerConfig.java:2208)
>      [java]     at
>  com.izforge.izpack.compiler.Compiler.main(Compiler.java:709)
>      [java] (tip : use -? to get the commmand line parameters)
>
>  The command line help tells me, that i should use -h instead of -HOME
>  but this doesn't work either.

Check again, the "-h" switch should work fine.  In case you are
wondering, we cut releases from the snapshot directory
(build-weekly.xml) under build.  I've had a desire to integrate the
two build files (build.xml and build-weekly.xml) for some time.  We
should probably replace the make_install_jar target from the main
build file when the two are integrated.  For now I'll fix build.xml so
that it uses "-h" instead of "-HOME" (which only works for IzPack
versions prior to 3.7)

>  I'm just want to make shure, that my new plugin is working in a new
>  distribution of squirrel.

You should be able to download the last snapshot build installer from
the downloads page and test it that way for now.

Rob

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Squirrel-sql-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
Reply | Threaded
Open this post in threaded view
|

Re: IzPack does not work

Robert Manning
On Mon, Apr 7, 2008 at 6:56 AM, Robert Manning
<[hidden email]> wrote:
> On Sun, Apr 6, 2008 at 5:12 PM, Dieter Engelhardt <[hidden email]> wrote:
>  > Hi there,
>  >  i've tried to integrate IzPack in my build environment but when i
>  >  execute thze ant task: make_install_jar i get the following:

Dieter,

It took some work, but I restored the make_install_jar target in the
main build script (i.e. sql12/buid/build.xml)
Make sure you have the latest IzPack installed (3.11.0).  This target
doesn't create all of the release artifacts
that we make available on the downloads site (that build script is in
sql12/build/snapshot/build-weekly.xml)
However, it should provide you with the Windows/Unix installer jar
that you can use to test your plugin integration
with the installer.  Additionally, we usually make new snapshot builds
available on the download site each weekend
if there have been any notable changes during the week. Enjoy!

Rob

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Squirrel-sql-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop