Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24
  1. #21
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,435
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by kmm1977 View Post
    ok i ll look into it


    I now make a runnable jar , with eclipse and all is fine

    only the resource files i.e. png files are not shown in the help system of my application

    the png files lie under the subfolder of, the folder structure is as follows

    application folder
    - src/main
    - JRE System Lib
    - Reference Lib
    - bin ( here i have my jar files , also jhall.jar )
    - docBook
    - jh ( here is the jhelpset.hs )
    - resources
    - src
    If you have stored your .png files in your .jar (as you should've done) they're not just plain files anymore but they are also resources and they should be found that way; also my previous reply applies again.

    kind regards,

    Jos

  2. #22
    kmm1977 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default helpset problem

    If you have stored your .png files in your .jar (as you should've done) they're not just plain files anymore but they are also resources and they should be found that way;

    Yes i store the png files under the main project subfolder from which i generate the Runnable jar.

    All is well when i execute the application from Eclipse

    Only when i run the application the jar file directly standalone , the image files are missing

  3. #23
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    the image files are missing
    Look in the jar file to see if the images are there and if the path to the images is correct.

  4. #24
    kmm1977 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default helpset problem

    that was a good one

    the runnable jar wizard copies are resource files in the same folder

    and i had in my html files links to these resource files based on the original folder structure , so it couldnt find the files

    thank you for that

Page 2 of 2 FirstFirst 12

Similar Threads

  1. IndexSearch.docfreq returns 0.0
    By noir in forum Lucene
    Replies: 0
    Last Post: 04-26-2010, 09:32 AM
  2. Carriage Returns in JTEXTAREA
    By AJArmstron@aol.com in forum Advanced Java
    Replies: 8
    Last Post: 04-17-2010, 07:34 PM
  3. String file and carriage returns
    By AJArmstron@aol.com in forum New To Java
    Replies: 2
    Last Post: 04-17-2010, 01:28 AM
  4. NetworkInterface returns only ports that are up
    By dogbert in forum Networking
    Replies: 0
    Last Post: 10-13-2009, 05:12 PM
  5. What's the need for co-variant returns ?
    By ajeeb in forum New To Java
    Replies: 0
    Last Post: 03-23-2009, 09:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •