[kepler-users] Problem when building windows installer
Chad Berkley
berkley at nceas.ucsb.edu
Tue Apr 27 13:46:15 PDT 2010
Looks like the path to the icon is incorrect. Probably missing a -2.0
or something. Look at build-area/installer/launch-kepler.xml or
launch-installer.xml. Check that the path to the icon specified exists.
The one I am using has the path
<icon>../../common-2.0/resources/icons/kepler.ico</icon>
chad
Josep Morer Muñoz wrote:
> Thanks for the reply. However, I am still getting errors. I have
> downloaded launch4j.jar and xstream-1.3.1.jar and I put them into the
> kepler directory.
>
> Now, I get this error:
>
> *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:
> net.sf.launch4j.BuilderException: Icon doesn't exist.*
>
> Any idea? Am I forgetting some libraries?
>
> 2010/4/26 Chad Berkley <berkley at nceas.ucsb.edu
> <mailto:berkley at nceas.ucsb.edu>>
>
> 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
> <mailto:Kepler-users at kepler-project.org>
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
>
>
> --
> Josep
More information about the Kepler-users
mailing list