Thanks Christopher. I had modified launch-kepler.xml by myself to build the installer.<br><br><div class="gmail_quote">2010/5/8 Christopher Brooks <span dir="ltr"><<a href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Josep,<br>
<br>
I fixed this in the devel trunk.<br>
<br>
kepler/build-area/installer/launch-kepler.xml<br>
had<div class="im"><br>
  <icon>../../common-2.0/resources/icons/kepler.ico</icon><br>
<br></div>
However, in the devel trunk, there is no common-2.0, so I changed<br>
it to<br>
<br>
  <icon>../../common/resources/icons/kepler.ico</icon><br>
<br>
I'm surprised this was not caught by the nightly build.  Hopefully the<br>
nightly build is building installers.<br>
<br>
After a fix to build.xml,<br>
I was able to build an installer for the devel trunk, but building an<br>
installer for the 2.0 branch fails, see<br>
<a href="http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4994" target="_blank">http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4994</a><br>
<br>
BTW - Instructions for building installers may be found at:<br>
<a href="https://kepler-project.org/developers/teams/build/building-kepler-installers" target="_blank">https://kepler-project.org/developers/teams/build/building-kepler-installers</a><br>
<br>
_Christopher<div><div></div><div class="h5"><br>
<br>
On 4/27/10 1:46 PM, Chad Berkley wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
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<br>
exists. The one I am using has the path <icon>../../common-2.0/resources/icons/kepler.ico</icon><br>
<br>
chad<br>
<br>
<br>
Josep Morer Muñoz wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
<br>
Now, I get this error:<br>
<br>
*BUILD FAILED<br>
/home/urops/KeplerClean/build-area/build.xml:350: The following error occurred while executing this line:<br>
/home/urops/KeplerClean/build-area/build.xml:416: net.sf.launch4j.BuilderException: Icon doesn't exist.*<br>
<br>
Any idea? Am I forgetting some libraries?<br>
<br>
2010/4/26 Chad Berkley <<a href="mailto:berkley@nceas.ucsb.edu" target="_blank">berkley@nceas.ucsb.edu</a> <mailto:<a href="mailto:berkley@nceas.ucsb.edu" target="_blank">berkley@nceas.ucsb.edu</a>>><br>
<br>
Hi Josep,<br>
<br>
If you want to build the installer, you'll need to install launch4j.<br>
You can download it and put it in the same directory where your<br>
kepler directory is.<br>
<br>
chad<br>
<br>
<br>
Josep Morer Muñoz wrote:<br>
<br>
Hi all,<br>
<br>
I am having problems trying to build the windows installer for<br>
the current kepler version. I have build linux one without<br>
problems but for windows installer I get this error:<br>
<br>
<br>
urops@urops-laptop:~/KeplerClean/build-area$ ant<br>
build-windows-installer<br>
Buildfile: build.xml<br>
<br>
set-installer-properties:<br>
[echo] Kepler Release Name: Kepler-2.0-RC1<br>
<br>
compile:<br>
[compile] Compiling configuration-manager...<br>
[compile] Compiling module-manager...<br>
[compile] Compiling core...<br>
[compile] Compiling event-state...<br>
[compile] Compiling util...<br>
[compile] Compiling component-library...<br>
[compile] Compiling sms...<br>
[compile] Compiling data-handling...<br>
[compile] Compiling ssh...<br>
[compile] Compiling io...<br>
[compile] Compiling job...<br>
[compile] Compiling repository...<br>
[compile] Compiling authentication...<br>
[compile] Compiling gui...<br>
[compile] Compiling module-manager-gui...<br>
[compile] Compiling authentication-gui...<br>
[compile] Compiling ecogrid...<br>
[compile] Compiling dataturbine...<br>
[compile] Compiling opendap...<br>
[compile] Compiling actors...<br>
[compile] Compiling loader...<br>
[compile] Compiling r...<br>
[compile] adding compilation exclude: class<br>
org.kepler.osx.KeplerApplicationListener will only be compiled<br>
on Mac OS X<br>
[compile] adding compilation exclude: class<br>
org.kepler.osx.KeplerOSXExtension will only be compiled on Mac OS X<br>
[compile] Compiling apple-extensions...<br>
[compile] Compiling tagging...<br>
[compile] Compiling provenance...<br>
[compile] Compiling reporting...<br>
[compile] Compiling workflow-run-manager...<br>
[compile] Compiling wrp...<br>
<br>
build-windows-installer:<br>
[startup-script] Script written to<br>
/home/urops/KeplerClean/kepler.bat<br>
<br>
build-winexe:<br>
<br>
*BUILD FAILED<br>
/home/urops/KeplerClean/build-area/build.xml:350: The following<br>
error occurred while executing this line:<br>
/home/urops/KeplerClean/build-area/build.xml:416: Problem:<br>
failed to create task or type launch4j<br>
Cause: the class net.sf.launch4j.ant.Launch4jTask was not found.<br>
Action: Check that the component has been correctly declared<br>
and that the implementing JAR is in one of:<br>
-/usr/share/ant/lib<br>
-/home/urops/.ant/lib<br>
-a directory added on the command line with the -lib argument<br>
<br>
Do not panic, this is a common problem.<br>
It may just be a typographical error in the build file or the<br>
task/type declaration.<br>
The commonest cause is a missing JAR.<br>
This is not a bug; it is a configuration problem*<br>
<br>
<br>
What's the solution? Have I modify the build.xml file?<br>
<br>
Thanks<br>
<br>
-- Josep<br>
<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a><br>
<mailto:<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a>><br>
<a href="http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
<br>
<br>
<br>
<br>
--<br>
Josep<br>
</blockquote>
_______________________________________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a><br>
</div></div><div class="im"><a href="http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
</div></blockquote><font color="#888888">
<br>
-- <br>
Christopher Brooks, PMP                       University of California<br>
CHESS Executive Director                      US Mail: 337 Cory Hall<br>
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774<br>
ph: 510.643.9841 fax:510.642.2718             (Office: 545Q Cory)<br>
home: (F-Tu) 707.665.0131 cell: 707.332.0670<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Josep<br>