On Mon, Feb 28, 2011 at 8:16 AM, Adam Murdoch
<[email protected]> wrote:
>> options.group("Core API", ["org.qi4j.core.api.*"]).
>> group("Core SPI", ["org.qi4j.core.spi.*"]).
>> group("Core Bootstrap", ["org.qi4j.core.bootstrap.*"])
>> }
> The strings in the second argument to group() are treated as package names,
> not patterns. So, you should try something like:
> options.group('Core API', ['org.qi4j.core.api'])
They are treated as patterns (as import statements in Java, so only
trailing). What my problem was that I don't even know my own project's
package names. org.qi4j.core.api.* should be org.qi4j.api.*, and
things work as expected.
Note to others; Both "org.qi4j.api" and "org.qi4j.api.*" are needed
though to get the classes in the top level...
Cheers
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email