[jira] [Commented] (SLING-7044) Scripted tag files are not found
[ https://issues.apache.org/jira/browse/SLING-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16125426#comment-16125426 ] Robert Munteanu commented on SLING-7044: Great, thank you [~cziegeler] . I'll rework this into an IT then. > Scripted tag files are not found > > > Key: SLING-7044 > URL: https://issues.apache.org/jira/browse/SLING-7044 > Project: Sling > Issue Type: Bug > Components: Scripting >Affects Versions: Scripting JSP 2.3.0 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Scripting JSP 2.3.2 > > Attachments: org.apache.sling.its.scripting.jsp.tar.gz > > > If a taglib in a bundle references a tag implemented as a script (located in > /META-INF/tags) this script is not found as it is not searched within the > bundle containing the tld - it's rather used as a resource on the classpath. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-7044) Scripted tag files are not found
[ https://issues.apache.org/jira/browse/SLING-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16125424#comment-16125424 ] Carsten Ziegeler commented on SLING-7044: - [~rombert] Interestingly your code example does take a complete different code path than the examples I used before (although I can't figure out a difference). In any case, I committed an update in rev 1804958 which makes your example pass as well. > Scripted tag files are not found > > > Key: SLING-7044 > URL: https://issues.apache.org/jira/browse/SLING-7044 > Project: Sling > Issue Type: Bug > Components: Scripting >Affects Versions: Scripting JSP 2.3.0 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Scripting JSP 2.3.2 > > Attachments: org.apache.sling.its.scripting.jsp.tar.gz > > > If a taglib in a bundle references a tag implemented as a script (located in > /META-INF/tags) this script is not found as it is not searched within the > bundle containing the tld - it's rather used as a resource on the classpath. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-7044) Scripted tag files are not found
[ https://issues.apache.org/jira/browse/SLING-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16125365#comment-16125365 ] Carsten Ziegeler commented on SLING-7044: - [~rombert] That's interesting. In my tests ParserController.determineSyntaxAndEncoding always passed and it failed some lines below (in doParse) > Scripted tag files are not found > > > Key: SLING-7044 > URL: https://issues.apache.org/jira/browse/SLING-7044 > Project: Sling > Issue Type: Bug > Components: Scripting >Affects Versions: Scripting JSP 2.3.0 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Scripting JSP 2.3.2 > > Attachments: org.apache.sling.its.scripting.jsp.tar.gz > > > If a taglib in a bundle references a tag implemented as a script (located in > /META-INF/tags) this script is not found as it is not searched within the > bundle containing the tld - it's rather used as a resource on the classpath. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-7044) Scripted tag files are not found
[ https://issues.apache.org/jira/browse/SLING-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16125361#comment-16125361 ] Robert Munteanu commented on SLING-7044: [~cziegeler] {noformat} java.io.FileNotFoundException: Cannot find /META-INF/tags/slingtest/test.tag at org.apache.sling.scripting.jsp.SlingIOProvider.getInputStream(SlingIOProvider.java:104) at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.getInputStream(JspCompilationContext.java:158) at org.apache.sling.scripting.jsp.jasper.compiler.JspUtil.getInputStream(JspUtil.java:856) at org.apache.sling.scripting.jsp.jasper.xmlparser.XMLEncodingDetector.getEncoding(XMLEncodingDetector.java:108) at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:308) at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.doParse(ParserController.java:172) at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.parse(ParserController.java:103) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.generateJava(Compiler.java:164) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:302) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:282) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:269) at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext.java:498){noformat} > Scripted tag files are not found > > > Key: SLING-7044 > URL: https://issues.apache.org/jira/browse/SLING-7044 > Project: Sling > Issue Type: Bug > Components: Scripting >Affects Versions: Scripting JSP 2.3.0 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Scripting JSP 2.3.2 > > Attachments: org.apache.sling.its.scripting.jsp.tar.gz > > > If a taglib in a bundle references a tag implemented as a script (located in > /META-INF/tags) this script is not found as it is not searched within the > bundle containing the tld - it's rather used as a resource on the classpath. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (SLING-7044) Scripted tag files are not found
[ https://issues.apache.org/jira/browse/SLING-7044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16125357#comment-16125357 ] Carsten Ziegeler commented on SLING-7044: - [~rombert] Looks basically good to me, what exception do you get? > Scripted tag files are not found > > > Key: SLING-7044 > URL: https://issues.apache.org/jira/browse/SLING-7044 > Project: Sling > Issue Type: Bug > Components: Scripting >Affects Versions: Scripting JSP 2.3.0 >Reporter: Carsten Ziegeler >Assignee: Carsten Ziegeler > Fix For: Scripting JSP 2.3.2 > > Attachments: org.apache.sling.its.scripting.jsp.tar.gz > > > If a taglib in a bundle references a tag implemented as a script (located in > /META-INF/tags) this script is not found as it is not searched within the > bundle containing the tld - it's rather used as a resource on the classpath. -- This message was sent by Atlassian JIRA (v6.4.14#64029)