• Speed work in developer mode

  • He we will discuss about how to make customization and improvement to the OpenKM source code.
He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #43609  by sgarcia
 
Hi

I download the OpenKM portable Dev and i updated to 6.3.3 from Git repo.

I have not worked with this system and I do not know what is the fastest way to compile.

Try with frontent screens to check the use, change values and use "Build openkm 6.3" with: clean gwt:compile compile war:exploded.

But waste several minutes to finish.

What is the best method to test without compiling the entire project? If it exists.

Thanks
 #43615  by jllort
 
What consumes a lot of core's and ram if GWT compilation for all the browsers. You can save a lot of time compiling only for firefox or chrome. Here is explained how doing it:
https://docs.openkm.com/kcenter/view/ok ... ermutation

If you are making only frontend changes, then I suggest do not compile the entire project for each change. In this scenario have two options:
1- Compile only GWT ( will take some time ) take a look here https://docs.openkm.com/kcenter/view/ok ... romeclipse
2- Enable remote debug ( super dev mode or GWT Shell ). Althought plugin for GWT shell is discontinued in new browsers, using older firefox you can take it running ( I think portable edition comes with portable firefox with this plugin into ). Take a look here https://docs.openkm.com/kcenter/view/ok ... rinterface

You can take a quick look at this documentation section https://docs.openkm.com/kcenter/view/ok ... pment.html

We are now working in release a new development environment based in virtual machine ( OVA ) what we think will be more confortable and portable rather existing zip.
 #43618  by sgarcia
 
I am testing with one permutation using this property in main.gwt.xml
<!-- Compile for Firefox only -->
<set-property name="user.agent" value="gecko_18"/>
From this help page : https://docs.openkm.com/kcenter/view/ok ... ermutation

I think this is an error, and the correct property is :
<!-- Compile for Firefox only -->
<set-property name="user.agent" value="gecko1_8"/>
Like GWT agent list say :

https://gwt.googlesource.com/gwt/+/mast ... nt.gwt.xml

Thanks
 #43620  by jllort
 
Thanks, I have corrected the mistake in the documentation.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.