Referencing library from root source causes tapestry to trim off first charater 
from file name.
-----------------------------------------------------------------------------------------------

                 Key: TAP5-1353
                 URL: https://issues.apache.org/jira/browse/TAP5-1353
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.2.4, 5.2.3, 5.2.2, 5.2.1, 5.2.0
            Reporter: Adam Zimowski
            Priority: Minor


Given the following annotation on a component  (or page but haven't tried) 
class:

@Import(library="classpath:util.js")

Given the following contribution in the module:

public static void 
contributeClasspathAssetAliasManager(MappedConfiguration<String, String> 
configuration) {
 // see http://markmail.org/thread/rq4vp7hi437smsrh
 configuration.add("js", "/");
}

Given that file util.js lives directly under src/

Tapestry renders the page fine, but the reference to util.js is such that first 
character of the file name is trimmed off:

<script src="/assets/ac7583cf1b184d5f/js/til.js" 
type="text/javascript"></script>

Of course the file is inaccessible that way, but if I you manually add the 
missing 'u' it will load fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to