| At line 70 added 1 line. |
|
| At line 216 changed 1 line. |
| Place the user2fo.xsl stylesheet in src/web/**/fop/user2fo.xsl. |
| Place the user2fo.xsl stylesheet in src/service/**/fop/xsl/user2fo.xsl. |
| At line 334 changed 1 line. |
| To support the execution of the User service level test, we need another helper file. This file (attached at the end) is called FOPHelper.java and lives in src/service/**/utils. |
| To support the execution of the User service level test, we need another helper file. This file (attached at the end) is called FOPHelper.java and lives in src/service/**/fop. |
| At line 387 changed 1 line. |
| File xslFile = new File(baseDir, "./src/web/org/appfuse/webapp/fop/user2fo.xsl"); |
| File xslFile = new File(baseDir, "./src/service/org/appfuse/fop/xsl/user2fo.xsl"); |
| At line 413 changed 2 lines. |
| [junit] [appfuse] DEBUG [main] UserManagerTest.testGeneratePDF(88) | Input: a User object |
| [junit] [appfuse] DEBUG [main] UserManagerTest.testGeneratePDF(89) | Stylesheet: ././src/web/org/appfuse/webapp/fop/user2fo.xsl |
| [junit] [appfuse] DEBUG [main] UserManagerTest.testGeneratePDF(88) | Input: a UserInputSource object |
| [junit] [appfuse] DEBUG [main] UserManagerTest.testGeneratePDF(89) | Stylesheet: ././src/service/org/appfuse/fop/xsl/user2fo.xsl |
| At line 547 changed 1 line. |
| new ClassPathResource("/org/appfuse/webapp/fop/user2fo.xsl"); |
| new ClassPathResource("/org/appfuse/fop/xsl/user2fo.xsl"); |
| At line 605 removed 4 lines. |
| # |
|
|
|
| At line 656 changed 1 line. |
| Also inside the package-web target add this line: |
| Also inside the package-web target add this block: |
| At line 659 changed 1 line. |
| <include name="**/*.xsl"/> |
|
| <fileset dir="src/service"> |
| <include name="**/*.xsl"/> |
| </fileset> |
|
| At line 668 removed 1 line. |
| <include name="**/*.xsl"/> |
| At line 670 added 3 lines. |
| <fileset dir="src/service"> |
| <include name="**/*.xsl"/> |
| </fileset> |
| At line 672 removed 1 line. |
| which ensures the xsl file is deployed. |
| At line 676 added 2 lines. |
| which ensures the xsl file is deployed into our runtime classpath. |
|
| At line 678 changed 1 line. |
| *src/web/org/appfuse/webapp/fop/user2fo.xsl |
|
| At line 685 added 1 line. |
| *src/service/org/appfuse/fop/xsl/user2fo.xsl |
| At line 693 changed 1 line. |
| *Ensure the xsl file is within your webapps/appfuse/WEB-INF/classes/** runtime directory somewhere |
| *Ensure the xsl file is within your webapps/appfuse/WEB-INF/classes/** runtime directory |