[kepler-users] Problem when building windows installer

Chad Berkley berkley at nceas.ucsb.edu
Mon Apr 26 11:17:52 PDT 2010


Hi Josep,

If you want to build the installer, you'll need to install launch4j. 
You can download it and put it in the same directory where your kepler 
directory is.

chad


Josep Morer Muñoz wrote:
> Hi all,
> 
> I am having problems trying to build the windows installer for the 
> current kepler version. I have build linux one without problems but for 
> windows installer I get this error:
> 
> 
> urops at urops-laptop:~/KeplerClean/build-area$ ant build-windows-installer
> Buildfile: build.xml
> 
> set-installer-properties:
>      [echo] Kepler Release Name: Kepler-2.0-RC1
> 
> compile:
>   [compile] Compiling configuration-manager...
>   [compile] Compiling module-manager...
>   [compile] Compiling core...
>   [compile] Compiling event-state...
>   [compile] Compiling util...
>   [compile] Compiling component-library...
>   [compile] Compiling sms...
>   [compile] Compiling data-handling...
>   [compile] Compiling ssh...
>   [compile] Compiling io...
>   [compile] Compiling job...
>   [compile] Compiling repository...
>   [compile] Compiling authentication...
>   [compile] Compiling gui...
>   [compile] Compiling module-manager-gui...
>   [compile] Compiling authentication-gui...
>   [compile] Compiling ecogrid...
>   [compile] Compiling dataturbine...
>   [compile] Compiling opendap...
>   [compile] Compiling actors...
>   [compile] Compiling loader...
>   [compile] Compiling r...
>   [compile] adding compilation exclude: class 
> org.kepler.osx.KeplerApplicationListener will only be compiled on  Mac OS X
>   [compile] adding compilation exclude: class 
> org.kepler.osx.KeplerOSXExtension will only be compiled on  Mac OS X
>   [compile] Compiling apple-extensions...
>   [compile] Compiling tagging...
>   [compile] Compiling provenance...
>   [compile] Compiling reporting...
>   [compile] Compiling workflow-run-manager...
>   [compile] Compiling wrp...
> 
> build-windows-installer:
> [startup-script] Script written to /home/urops/KeplerClean/kepler.bat
> 
> build-winexe:
> 
> *BUILD FAILED
> /home/urops/KeplerClean/build-area/build.xml:350: The following error 
> occurred while executing this line:
> /home/urops/KeplerClean/build-area/build.xml:416: Problem: failed to 
> create task or type launch4j
> Cause: the class net.sf.launch4j.ant.Launch4jTask was not found.
> Action: Check that the component has been correctly declared
>         and that the implementing JAR is in one of:
>         -/usr/share/ant/lib
>         -/home/urops/.ant/lib
>         -a directory added on the command line with the -lib argument
> 
> Do not panic, this is a common problem.
> It may just be a typographical error in the build file or the task/type 
> declaration.
> The commonest cause is a missing JAR.
> This is not a bug; it is a configuration problem*
> 
> 
> What's the solution? Have I modify the build.xml file?
> 
> Thanks
> 
> -- 
> Josep
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users



More information about the Kepler-users mailing list