Update jars in folder modules

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 07:40 AM
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?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 11:00 AM
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
(ACSCE, AWS SAA, Azure Admin)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2020 04:52 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2020 01:47 PM
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
(ACSCE, AWS SAA, Azure Admin)
