[MAGNOLIA-1784] build : samples' jsps can't be compiled in reactor mode since introduction of cmsfn Created: 16/Oct/07 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
[INFO] Trace Haven't been able to trace what the problem is yet, might be another occurrence of http://jira.codehaus.org/browse/MJSPC-4 Upgraded to maven-jspc-plugin 2.0-alpha-1 but did not help. |
| Comments |
| Comment by Magnolia International [ 16/Oct/07 ] |
|
Vaguely similar to |
| Comment by Magnolia International [ 16/Oct/07 ] |
|
Also we should try and get the JSPs to be compiler with tomcat 5.0.28 instead of 5.5.15 |
| Comment by Magnolia International [ 17/Oct/07 ] |
|
We actually just realized the taglibs aren't "processed" either: here's an excerpt of one of the generated classes: This was also the case with 1.4.7. |
| Comment by Magnolia International [ 09/Sep/08 ] |
|
Version 2.0-alpha-2 of the jspc maven plugin released recently doesn't help in this regard. For the record, I had to add these dependencies to the plugin for it to work at all, for some reason: <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl104-over-slf4j</artifactId>
<version>1.4.1</version>
</dependency>
|
| Comment by Magnolia International [ 09/Sep/08 ] |
|
links to actual issues: |
| Comment by Magnolia International [ 09/Sep/08 ] |
|
2.0-alpha-3 will hopefully fix this if they apply the patch from Kevin Christmas on MJSPC-4. Changed plugin version in magnolia-parent-pom-6-SNAPSHOT. |
| Comment by Magnolia International [ 07/Jan/09 ] |
|
Well, 2.0-alpha-3 doesn't fix the issue. Now it throws an exception, which at least makes things obvious. 1612 [main] INFO org.apache.jasper.JspC - Built File: /mgnl-files/templates/samples/paragraphs/controls-jsp-sample.jsp 1628 [main] WARN org.apache.jasper.compiler.TldLocationsCache - Internal Error: File /WEB-INF/web.xml not found [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] File "/mgnl-files/templates/samples/paragraphs/cms-taglib" not found [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.jasper.JasperException: File "/mgnl-files/templates/samples/paragraphs/cms-taglib" not found at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) |
| Comment by Magnolia International [ 29/May/09 ] |
|
jspc issue still not fixed |
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |