Hey. I want to change the .js file in the .jar file which is located in the modules / share folder. How should I do it?
With the information you provided it is hard to tell what you exactly want to achieve. Can you please provide some additional info?
1- What is the jar file ? Is it a the custom module ? (as per your inputs, it looks like a custom module and deployed in modules/share location)
2- Which js file you want to change ?
3- Are you using SDK?
It is recommended to use extension method for changing/updating any ootb modules.
Take a look at this doc: https://docs.alfresco.com/5.2/concepts/dev-extensions-share-surf-extension-modules.html
https://docs.alfresco.com/5.2/tasks/dev-extensions-share-tutorials-js-customize.html
Thanks for answer. Yes, it's custom module (Alvex). I open jar file via winrar and I want change js file inside it, js generates task items in HTML, but after changing and restart tomcat changes are not accepted. Few times the changes were accepted, but I do not see any logic.
I would suggest you to use SDK instead. Import the custom module project in IDE and make changes accordingly. Once changes are done and tested in IDE, build and copy the jar file to modules/share.
https://docs.alfresco.com/5.2/concepts/sdk-intro.html
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.