In a jar in a separate Eclipse probject I have

package us.antera.t5.lib;
import org.apache.tapestry.ioc.Configuration;
import org.apache.tapestry.services.LibraryMapping;

public class LibModule
{
        public static void contributeComponentClassResolver
(Configuration<LibraryMapping> configuration)
   {
       configuration.add(new LibraryMapping("antera", "us.antera.t5.lib"));
   }
}

The implementing class us.antera.t5.lib.components.Style is written
and works find in a Tapestry project if directly included.  The above
module loads (I know by mis-naming it in the manifest file for the jar
and then watching the T5 IoC failure in the T5 project).

I make a jar with the above class and
us.antera.t5.lib.components.Style in it, put it in src/main/resources
in my T5 project, put it on the build path, in a component class I ask
for <style t:type="antera/Style" />, restart the server, and poof:
Unable to resolve component type 'antera/Style' to a component class
name.

What am I doing wrong?

bill

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to