[ http://issues.apache.org/jira/browse/TAPESTRY-412?page=all ]
Howard M. Lewis Ship reassigned TAPESTRY-412:
---------------------------------------------
Assign To: Howard M. Lewis Ship
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]