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: Buildr and AutoJar

2011-01-18 Thread Antoine Toulme
Not that I'm aware of. It sounds like a neat tool for specific use cases. I looked around and could not find a ant integration or a Maven plugin that works with it. I guess you can create your own task for it for now. 2011/1/18 Marc-André Laverdière marcandre.laverdi...@gmail.com Hello, I am

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:

Re: Why are test dependencies added to runtime dependencies

2011-01-18 Thread Alex Boisvert
Oh, I see what you mean now. When I added the run task in buildr 1.3.5, I didn't really think about the equivalence to runtime dependencies from Maven world. I wanted the run task to require little / no configuration. Anyway, looking back at it now, I think it would be better to use

Re: Buildr and AutoJar

2011-01-18 Thread Alex Boisvert
Somebody did a quick integration with autojar last year. It's pretty rough but could get you started. http://buildr.markmail.org/search/?q=autojar http://buildr.markmail.org/search/?q=autojaralex On Tue, Jan 18, 2011 at 7:32 AM, Antoine Toulme anto...@lunar-ocean.comwrote: Not that I'm

Re: Why are test dependencies added to runtime dependencies

2011-01-18 Thread John Shahid
Awesome, let me know if there's anything I can do to help. On Tue, Jan 18, 2011 at 1:13 PM, Alex Boisvert alex.boisv...@gmail.comwrote: Oh, I see what you mean now. When I added the run task in buildr 1.3.5, I didn't really think about the equivalence to runtime dependencies from Maven