[izpack-devel] Eclispe configuration problem?
Bartz, Klaus
Klaus.Bartz at coi.de
Fri Aug 11 17:20:55 CEST 2006
Hi Michael,
be aware that you have often to rebuild IzPack if you debug it
in eclipse.
You use two sets of class files. One from install.jar and one
given by the sources used by eclipse. The used panel classes will
be most resolved from the sources, but not base classes etc.
OK, that is not your problem in the moment.
There is something wrong in your environment.
To debug an installation you have to add the install.jar
as external jar in the eclipse properties for debugging.
The "Classpath" page in the "Debug" dialog.
Add install.jar to the "User Entries" UNDER default classpath
(with the sources; else it will most not stop at breakpoints).
There is no need to add %IZPACK_HOME%\lib\uninstall*.jar; it is
need for packaging (compiling the installation) not for installation
because the jar file have to be in your install.jar. Look into
(may be with WinZip or TotalComander), there have to be an entry
/res/IzPack.uninstaller.
Question is, why eclipse do not find it...
Unfortunately I am out of office in 2 minutes and I am back again
next Wednesday.
Happy debugging... anyhow it works :-)
I take my description for debugging (the one from the IzPack docu)
every ~ two month and create a new debugging project.
Normally no problems.
May be debug the methods which loads the IzPack.uninstaller. Will
be good for you to understand IzPack better...
Next step is debugging the native code of IzPack. That's really
nice...
For it only a description in German exist on my box.
Cheers
Klaus
>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Michael
>Scherer
>Sent: Friday, August 11, 2006 4:51 PM
>To: izpack-devel at lists.berlios.de
>Subject: Re: [izpack-devel] Eclispe configuration problem?
>
>
>Yo.
>
>Mmmh, now the only problem is that you need to (re-)build the
>uninstaller.jar
>creating a new installer which is a bit awkward.
>Any chances to configure Eclipse without the .jar but with the
>possibility of
>the getResourceAsStream("/res/IzPack.uninstaller")?
>
>Greetings,
> Michael
>
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-devel
>
More information about the izpack-devel
mailing list