tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Resolved: (TAPESTRY-412) Specifying asset path by "classpath" prefix doesn't work
Date Sat, 01 Oct 2005 12:02:52 GMT
     [ 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


Mime
View raw message