you can in effect to that simply by having seperate files, and then using
addPackageFromDRL to add it from multiple sources, the PackageBuilder will
merge them all together.
You need to have a package statement in all the files, plus other
dependencies like globals etc... but it should work just
to write it as a plain rule (leaving out the values you had):
when
dh : DealtHand(seat == Seat.NORTH)
eval(dh.getHCP() ={min} dh.getHCP()={max})
or
eval(dh.getHCP() ={min} dh.getHCP()={max})
that can't work as the right hand side of the or will not have the dh
bound variable.
Not sure
haven't seen that one...
You can import the projects one at a time, or import the top level and then
it brings all along with them, it shouldn't give that error.
You may need to run maven/ant to download the dependencies at least once
though, then refresh eclipse so it can get to the jars which