Uploaded image for project: 'SmartSprites'
  1. SmartSprites
  2. SMARTSPRITES-45

Output is written to Program Files Directory with output.dir.path in build.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.3
    • Fix Version/s: 0.2.4
    • Labels:
      None

      Description

      If the build.xml is executed with a current directory different from the directory of the build.xml file, then the output is not written as expected when output.dir.path is set.

      This means that the smartsprites ant task cannot be easily integrated in some major existing build scripts e.g. build scripts of the NetBeans IDE.

      How to reproduce this:

      • Make a copy of the binary distribution
      • In the NetBeans IDE (Version 6.7.1 RC), in the Favorites window, add the directory of the copy
      • In the Favorites Window, expand the web.xml node
      • Right click on the task "process" and select "Run Target"
      • In Windows, go to the folder "C:\Program Files\NetBeans 6.7\bin". You should not see any output there as expected.
        ok.
      • Edit the file smartsprites.properties (right click, Edit), change output.dir.path=css-output-dir, css.file.suffix=
      • Right click on the task "process" and select "Run Target"
      • In Windows, go to the folder "C:\Program Files\NetBeans 6.7\bin". There is a new folder css-output-dir with images and css.

      This is unexpected.

      It is very good that the distribution contains the examples so reporting an issue is really easy. Many thanks!

        Attachments

          Activity

            People

            • Assignee:
              stachoo Stanisław Osiński
              Reporter:
              bht Bernard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h