Hi Watt,
You can't do that exactly -- what you can do is define artifacts based
on local files. You still need to give them artifact identifiers,
though.
Rhett
On Feb 12, 2009, at 11:33 AM, Watt Poosanguansit wrote:
Thank you for your reply. I looked at the source trying to
Compile.with calls Buildr.artifacts which accepts String (among other
things)
So you should be able to do something like:
compile.with Dir['lib/*.jar']
[1]
http://github.com/vic/buildr/blob/e35bc0fe8a0309d4cfdfb980af61cdb6f1a9990c/lib/buildr/core/compile.rb#L278
[2]
Compile.with calls Buildr.artifacts which accepts String (among other
things)
So you should be able to do something like:
compile.with Dir['lib/*.jar']
[1]
http://github.com/vic/buildr/blob/e35bc0fe8a0309d4cfdfb980af61cdb6f1a9990c/lib/buildr/core/compile.rb#L278
[2]
Daniel,
Thanks for the explanation. Looking at the Buildr source, I'm seeing the
delegation happening in the
Groovy compiler but I don't see where it's happening in the Scala compiler.
I fixed my previous error but now it seems just the flex compilation is
happening but never delegates to javac.
I am able to compile Scala files but when I follow the example in the test
section I run into this error
E, [2009-02-12T16:23:04.265000 #2012] ERROR -- : Error instantiating 'scalatest'
task: scala.runtime.BoxedObjectArray.elements()Ljava/lang/Object;
The test that I have is
import