Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-114

images-dir incorrect in default site

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.6
    • Component/s: Skins (general issues)
    • Labels:
      None

      Description

      Using a brand new directory structure with a freshly seeded site a number of errors are generated at build time. These are regarding missing images at the point when the pdfs are being generated.

      The default location for the project-logo.gif in a freshly seeded site is src/documentation/content/xdocs/images/project-logo.gif whereas the default location used by the build is src/documentation/resources/images/project-logo.gif.

      The workaround for now is to uncomment the following lines in
      forrest.properties:

      project.content-dir...
      project-xdocs-dir...
      project.images-dir..

      Set project.images-dir to "${project.xdocs-dir}/images".

      This is discussed in the following mailing list thread:

      http://marc.theaimsgroup.com/?t=107582031900001&r=1&w=2

        Activity

        Hide
        brondsem Dave Brondsema added a comment -
        Works for me with a fresh seed. I think we fixed this a few weeks ago.
        Show
        brondsem Dave Brondsema added a comment - Works for me with a fresh seed. I think we fixed this a few weeks ago.
        Hide
        rgardler Ross Gardler added a comment -
        Did you test with PDF generation? I did create a workaround for this but I never fixed it in CVS. I don't recall anyone else actually fixing it.

        I'm afraid I can't test at present due to bandwidth problems and an out of date copy on my laptop. Please verify that images work properly in PDF generation, and re-open if necssary.
        Show
        rgardler Ross Gardler added a comment - Did you test with PDF generation? I did create a workaround for this but I never fixed it in CVS. I don't recall anyone else actually fixing it. I'm afraid I can't test at present due to bandwidth problems and an out of date copy on my laptop. Please verify that images work properly in PDF generation, and re-open if necssary.
        Hide
        brondsem Dave Brondsema added a comment -
        You're right; it's still broken.
        Show
        brondsem Dave Brondsema added a comment - You're right; it's still broken.
        Hide
        brondsem Dave Brondsema added a comment -
        The fault was actually in how PDFs determined image locations. I made some improvements so it will find them properly in most cases, but it's still not too flexible
        Show
        brondsem Dave Brondsema added a comment - The fault was actually in how PDFs determined image locations. I made some improvements so it will find them properly in most cases, but it's still not too flexible

          People

          • Assignee:
            Unassigned
            Reporter:
            rexley Rob Exley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development