As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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