nafiesa.allie Posted January 4, 2022 Share Posted January 4, 2022 A number of references is made to the runtime_dependencies folder, but it does not exist and neither is the content that was available in Jasper Server 7.5 available in Jasper Server 8.0.0. How do one obtain these or what is the workaround or new approach to access this folder's content? C:apache-tomcat-10.0.14webappsjasperserverWEB-INFdecoratorsdesignerMinimalImports.jsp (8 hits) Line 131: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css", Line 131: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css", Line 132: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css", Line 132: "${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css", Line 240: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css" type="text/css" media="screen,print"/> Line 240: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/jquery.ui.theme.css" type="text/css" media="screen,print"/> Line 241: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css" type="text/css" media="screen"> Line 241: <link rel="stylesheet" href="${pageContext.request.contextPath}/${scriptsFolder}/runtime_dependencies/jquery-ui/themes/redmond/jquery-ui-1.10.4-custom.css" type="text/css" media="screen"> Link to comment Share on other sites More sharing options...
Solution Yuriy Plakosh Posted January 11, 2022 Solution Share Posted January 11, 2022 For a proper way of loading CSS files see how it is done in decoratorMinimalImports.jsp:<link rel="stylesheet" href="${pageContext.request.contextPath}/<spring:theme code="jquery-ui/jquery-ui.css"/>" type="text/css" media="screen,print"/>[/code] 1 Link to comment Share on other sites More sharing options...
andrew.kerr Posted February 3, 2022 Share Posted February 3, 2022 I think they have made some major changes in 8.0.0.We used to do some customization to the javascript files to make changes to the interface that work well for us. Many of those changes were in scripts in the runtime_dependencies directory. As you have noticed, that directory is no longer there. It looks like they have separated out the code for the "jasperserver-ui" into a new component, which is then run through webpack, making the final code minimized and unreadable.I guess I'm going to have to figure out how to build jasperserver-ui. There are some README files, at least. The Jasper Server Source Build Guide is useless, as it still referes to the missing runtime_dependencies directory. Link to comment Share on other sites More sharing options...
raja_siet Posted December 26, 2023 Share Posted December 26, 2023 We had used below files as per our customoziation but as the runtime-dependencies folder removed,these files are not present in jasper8. Please suggest how to proceed. 1. repository.search.actions.js 2. jobModel.js is present Link to comment Share on other sites More sharing options...
Domenico Donofrio Posted January 8 Share Posted January 8 Hello raja, for version 8, repository.search.actions.js is in jasperserver-ui\ce\jrs-ui\src\repository folder. jobModel.js is in jasperserver-ui\ce\jrs-ui\src\scheduler\model Also please refer to this Dr Jaspersoft session to know how to apply UI customizations since version 8 by using Webpack 1 Link to comment Share on other sites More sharing options...
raja_siet Posted January 23 Share Posted January 23 Thanks Domenico. But we are using jasperserver pro version and we are using jasperserver-pro.war file for installation. So there is no path like jasperserver-ui\ce\jrs-ui\src\scheduler\model Below attached ss for our folder structure. Please suggest where to get jasperserver-ui Link to comment Share on other sites More sharing options...
Yuriy Plakosh Posted January 26 Share Posted January 26 To do JavaScript customizations for JRS 8.x+ the source code (not bundled chunks) should be used. The source code is provided as a separate artifact (<name>_<version>_src.zip) and is different from binary distribution (<name>_<version>_bin.zip). Link to comment Share on other sites More sharing options...
raja_siet Posted January 29 Share Posted January 29 Thanks Yuriy for the response. But in jasperserver_src.zip, below files are not present for pro version. Its only available in ce version. repository.search.actions.js jobModel.js So can i use above files from ce folder inside jasperserver_src.zip?? Same issue with notificationsTabTemplate.htm and outputTabTemplate.html please advice. Link to comment Share on other sites More sharing options...
Yuriy Plakosh Posted January 30 Share Posted January 30 JRS commercial edition is based on the source files from the ce and pro folders. Whatever you find in <name>_<version>_src.zip is used to build the final commercial JRS. So, yes you can use files from the ce folder. 2 Link to comment Share on other sites More sharing options...
raja_siet Posted January 31 Share Posted January 31 Thanks Yuriy for the response. It really helps Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now