Update jars in folder modules

cancel
Showing results for 
Search instead for 
Did you mean: 
Skyor
Active Member

Update jars in folder modules

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?

3 Replies
abhinavmishra14
Advanced

Re: Update jars in folder modules

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

 

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)
Skyor
Active Member

Re: Update jars in folder modules

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. 

abhinavmishra14
Advanced

Re: Update jars in folder modules

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

~Abhinav
(ACSCE, AWS SAA, Azure Admin)