Again answering myself...

On Thu, July 12, 2007, Martin Dietze wrote:

> Exception constructing service
> 'ClasspathAssetAliasManager': Error invoking constructor
> org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request,
> Map) (at ClasspathAssetAliasManagerImpl.java:50) (for service
> 'ClasspathAssetAliasManager'): Error invoking service contribution method
> net.keso.ted.jscalendar.JsCalendarModule.contributeClasspathAssetAliasManager(MappedConfiguration,
> String): Exception constructing service 'ClasspathAssetAliasManager':
> Construction of service 'ClasspathAssetAliasManager' has failed due
> to recursion: the service depends on itself in some way. Please check
> org.apache.tapestry.internal.services.ClasspathAssetAliasManagerImpl(Request,
> Map) (at ClasspathAssetAliasManagerImpl.java:50) for references to another
> service that is itself dependent on service 'ClasspathAssetAliasManager'.

Having browsed the T5 sources a bit I found this solution:

[file JsCalendarModule.java]

|    public static void contributeClasspathAssetAliasManager(
|            MappedConfiguration<String, String> configuration,
|            @Symbol("net.keso.ted.jscalendarscript.path")
|            String jsCalendarScriptPath)
|    {
|        configuration.add("jscalendar/", jsCalendarScriptPath + "/");
|    }


Cheers,    

Martin

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Katz' Law: Man and nations will act rationally when all other 
           possibilities have been exhausted. 

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

Reply via email to