Page 1 of 1

Change Source Code and deploy the app

PostPosted:Fri Jul 02, 2021 6:47 am
by MohamadAli
Hello,

I have a use case where I need to hide task and process definition tabs from Dashborad->Workflow view. For this, I tried to change the source code, but the changes are not showing on the interface.

Here is what Ive done:
  • Using the Openkm dev environment, I made the changes to the following classes: WorkflowWidget and WorkflowForm
  • Generated the .war using maven GWT
  • Replaced openkm.war from tomcat/webapps by the new one
  • Restarted tomcat
When I restarted it, it didnt work because test folder was not there, so I copied it from another instance of openkm and it worked. However, the changes I made in the classes did not show on the interface.

Could you please help me with this issue?
Best regards,
thanks

Re: Change Source Code and deploy the app

PostPosted:Sat Jul 03, 2021 6:44 pm
by jllort
I suggest fork in gihub the problem and share the branch where you have applied the changes. Then will be able to take a look on it.
Also it is a good practice to add some
Code: Select all
Window.alert("text"); // maybe this is not the exact command but I think GWT have something like it -> to ensure your code is really executed