Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-562

WAR package isn't updated if files under src/main/webapp are updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.5
    • Packaging
    • None

    Description

      Reported by Ingo Schmidt in http://buildr.markmail.org/thread/lqdctt6gzwgegruk:

      consider this very simple project with just two files in it:
      /test/app-war/src/main/webapp/css/test.css
      /test/app-war/src/main/webapp/test.html

      Create a build file from directory structure for this and then execute
      the following commands:

      buildr package
      echo "test" > /test/app-war/src/main/webapp/css/test.css
      buildr package

      The first command creates a WAR package with my files in it. So far, so
      good.
      The second command updates the test.css file.
      The third command executes the package task again, but buildr did not
      detect any changes! The WAR still contains the old file!

      Attachments

        Activity

          People

            boisvert Alex Boisvert
            boisvert Alex Boisvert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: