You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/10/01 14:02:52 UTC

[jira] Resolved: (TAPESTRY-412) Specifying asset path by "classpath" prefix doesn't work

     [ http://issues.apache.org/jira/browse/TAPESTRY-412?page=all ]
     
Howard M. Lewis Ship resolved TAPESTRY-412:
-------------------------------------------

    Resolution: Duplicate

> Specifying asset path by "classpath" prefix doesn't work
> --------------------------------------------------------
>
>          Key: TAPESTRY-412
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-412
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Vjeran Marcinko
>     Assignee: Howard M. Lewis Ship

>
> Basically, I ran into same issue that Henri Dupre reported on dev list recently, so I am copying his description:
> I have in my .jwc file:
>  <asset name="dispo1"
> path="classpath:/actualis/web/tapestry/components/resources/dispo/a1.gif"/>
> And I get this error:
> Unable to locate asset
> '/actualis/web/tapestry/components/resources/dispo/a1.gif' relative to
> context:/WEB-INF/components/DispoArticle.jwc.
> This was working in tp3 as private asset.
> I run the execution through a debugger and the Resource passed to the
> ClassPathAssetFactory is a ContextResource. I believe it should be
> ClasspathResource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org