Advertisement

11.15.2007 at 02:14AM PST, ID: 22962432
[x]
Attachment Details

Problems accessing resources inside Jar

Asked by ogog in Java Programming Language, Eclipse

Tags: jar, inside, accessing, resource, from

Hi everyone, I've got a small open source project that i'm having problems with. My development tool is eclipse and it's the tool that compiles the code. Also, I use a .bat file to make the jar file and I think the problem is here. As I've heard of, get resources suits for both directories or jar files. However, even though everything works great on eclipse debugger, when I make the jar, lots of things become unavailable. I'm using helpgui (from sourceforge) and TinyLAF (both open source) to present the help file and use skins. From TinyLAF I corrected the problem on the source code of the project but I can't seem to do it to Helpgui. I know the problem is not even there, but on my jar file. So I deleted the source code of Helpgui from eclipse and referenced the compiled library that exists on their website. However I can't do anything now! Not even in the debbugger. So what I'm asking (and giving all my points to) is that someone patient and willing to make points (I guess easily) will download the project sourcecode into eclipse, take a look at the debbugger and the bat file and tell me what i'm doing wrong. It's the only thing that ain't fixed. This little bug is preventing me from releasing the binaries as jar executables.

Thank you all in advance.

Eclipse project folder: http://cannonbang.sourceforge.net/cannonbang.rar

The line that triggers help gui is on the class: net.sourceforge.cannonbang.GuiMain (as is the main method) I understand that it takes time and that's why i'm giving big points.Start Free Trial
 
Loading Advertisement...
 
[+][-]11.15.2007 at 05:19AM PST, ID: 20288639

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.15.2007 at 05:50AM PST, ID: 20288812

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.15.2007 at 06:07AM PST, ID: 20288926

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.15.2007 at 09:04AM PST, ID: 20290516

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.17.2007 at 12:20AM PST, ID: 20303691

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, Eclipse
Tags: jar, inside, accessing, resource, from
Sign Up Now!
Solution Provided By: ogog
Participating Experts: 1
Solution Grade: A
 
 
[+][-]11.17.2007 at 09:02AM PST, ID: 20304726

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628