Thanks Christopher. I had modified launch-kepler.xml by myself to build the installer.
2010/5/8 Christopher Brooks <cxh at eecs.berkeley.edu> > Hi Josep, > > I fixed this in the devel trunk. > > kepler/build-area/installer/launch-kepler.xml > had > > <icon>../../common-2.0/resources/icons/kepler.ico</icon> > > However, in the devel trunk, there is no common-2.0, so I changed > it to > > <icon>../../common/resources/icons/kepler.ico</icon> > > I'm surprised this was not caught by the nightly build. Hopefully the > nightly build is building installers. > > After a fix to build.xml, > I was able to build an installer for the devel trunk, but building an > installer for the 2.0 branch fails, see > http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4994 > > BTW - Instructions for building installers may be found at: > > https://kepler-project.org/developers/teams/build/building-kepler-installers > > _Christopher > > > On 4/27/10 1:46 PM, Chad Berkley wrote: > >> 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 >>> >> _______________________________________________ >> Kepler-users mailing list >> Kepler-users at kepler-project.org >> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users >> > > -- > Christopher Brooks, PMP University of California > CHESS Executive Director US Mail: 337 Cory Hall > Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774 > ph: 510.643.9841 fax:510.642.2718 (Office: 545Q Cory) > home: (F-Tu) 707.665.0131 cell: 707.332.0670 > -- Josep -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20100508/5b5046cb/attachment.html>

