why doesnt the SubappModule contribute the LibraryMapping itself?
why do you have to access the resources yourself?

Tapestry 5 is enhancing component, page and mixin classes. therefore
it uses an own classloader. i guess this is the reason why you can't find
the classes.

g,
kris



Von:    ??? <donghp1...@gmail.com>
An:     "Tapestry users" <users@tapestry.apache.org>
Datum:  15.04.2010 11:36
Betreff:        Re: Antwort: Why SubModule exported by eclipse can't auto 
loaded it's pages/* ? but sub module packaged by maven can be loaded?



But I annotation it in AppModule like this:
@SubModule(com.gsww.subapp.SubappModule.class)
public class AppModule {
.....
}
I trace into ComponentClassResolverImpl'class , the 
ClassLoader.getResources("com/gsww/subapp/pages") can't found
this package URLs.
I think because the jar exported by eclipse has not package entrys, just 
has 
.class entry, so search package return nothing!
Did anyone has such problem?

--------------------------------------------------
From: "Kristian Marinkovic" <kristian.marinko...@porsche.co.at>
Sent: Thursday, April 15, 2010 2:26 PM
To: "Tapestry users" <users@tapestry.apache.org>
Subject: Antwort: Why SubModule exported by eclipse can't auto loaded it's 

pages/* ? but sub module packaged by maven can be loaded?

> i guess you're missing the Tapestry-Module-Classes entry in your
> META-INF/manifest.mf file
>
> see also: 
http://tapestry.apache.org/tapestry5/tapestry-ioc/autoload.html
>
> g,
> kris
>
>
>
> Von:    董和平 <donghp1...@gmail.com>
> An:     "Tapestry users" <users@tapestry.apache.org>
> Datum:  15.04.2010 02:56
> Betreff:        Why SubModule exported by eclipse can't auto loaded it's
> pages/* ? but sub module packaged by maven can be loaded?
>
>
>
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


Reply via email to