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
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
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
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
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
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:
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
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
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