Hi.

I reported this problem some time ago, and betas keep coming out, but it seems this never got deserved attention. Anyway, I am fan of keping my resources (pictures, page/component specifications...) in my classpath, and I was delighted at first with new "classpath" prefix, but till now I didn't see it work.

IMPORTANT NOTE: I'm *not* using any kind of Tapestry libraries, because I heard someone having no problems when used inside library.

Anyway, I tried beta-7 today, and having no luck with either specifying page spec location:

<page name="Home" specification-path="classpath:/hr/tis/devrepo/tapestry/Home.page"/>

(it raises following : Unable to locate asset '/hr/tis/devrepo/tapestry/Home.page' relative to context:/WEB-INF/tapestry.application at org.apache.tapestry.asset.ClasspathAssetFactory.createAsset(ClasspathAssetFactory.java:43) )
so I'm back at uglier :
<page name="Home" specification-path="/WEB-INF/classes/hr/tis/devrepo/tapestry/Home.page"/>

Same thing with trying to specify my gif location using :
<asset name="info" path="classpath:/hr/tis/devrepo/tapestry/info.gif"/>
,so practicaly there's still no equivalence to <private-asset> from 3.0

Regards,
Vjeran


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

Reply via email to