Problem with packaging WARs

2011-01-18 Thread Ingo Schmidt
Hi folks, 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

Re: Problem with packaging WARs

2011-01-18 Thread Antoine Toulme
I haven't seen your Buildfile, so it's kind of a shot in the dark: since we use timestamps to control what changed, Buildr probably didn't do anything the second time you asked, as the modification occurred last than a second before. Maybe adding a sleep for 1s would help. On Tue, Jan 18, 2011

Re: Problem with packaging WARs

2011-01-18 Thread Ingo Schmidt
Hi Antoine, I hadn't included the buildfile, because I had included the steps how to create it (I let buildr create it). Anyway, here it is for convenience: --- snip --- # Generated by Buildr 1.4.3, change to your liking # Version number for this release VERSION_NUMBER

Re: Problem with packaging WARs

2011-01-18 Thread Rhett Sutphin
Hi, I can reproduce this problem, though I also don't see the WAR repackaged if I make changes to src/main/webapp/test.html. This is on OS X 10.6.6 with buildr 1.4.4 on MRI 1.8.7. $ ls -l target/ total 8 -rw-r--r-- 1 rsutphin wheel 637 Jan 18 10:17 buildr-1.0.0.war $ ls -l

Re: Problem with packaging WARs

2011-01-18 Thread Alex Boisvert
Yes, definitely a bug. I created an issue: https://issues.apache.org/jira/browse/BUILDR-562 https://issues.apache.org/jira/browse/BUILDR-562Looks like we currently add src/main/webapp as dependency but not every file under src/main/webapp. As a temporary workaround, you can write: