Bug 1269605
Summary: | Add setting to disable background build triggered from Project Explorer | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Hiroko Miura <hmiura> | ||||
Component: | Business Central | Assignee: | manstis | ||||
Status: | CLOSED EOL | QA Contact: | Jiri Locker <jlocker> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.1.0 | CC: | alazarot, hfuruich, kverlaen, rrajasek | ||||
Target Milestone: | ER5 | ||||||
Target Release: | 6.2.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-03-27 19:06:49 UTC | Type: | Enhancement | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Hiroko Miura
2015-10-07 17:03:59 UTC
You can set a global system property (in system.git) to disable the automatic builds triggered by Project Explorer. 1) git clone <path to .niogit/system.git> 2) Edit "settings.global" file 3) Add the following: <entry> <string>build.disable-project-explorer</string> <item> <name>build.disable-project-explorer</name> <value class="string">true</value> </item> </entry> 4) git add 5) git commit 6) git push origin master Thanks for quick implementation. Unfortunately, customer is running BRMS on Windows where is not allowed to install 3rd party software (e.g. git). Is it possible to enable this option without git command? Hi Hiroko, I'm reluctant to add "yet another way" to configure preferences - as we already have a muddle of services in Business Central that we're working on trying to consolidate. However, if the customer cannot manipulate system.git on a different computer (e.g. copy system.git from the server to a developers' PC, change, commit and copy back to the server) they can write an implementation of org.guvnor.common.services.backend.preferences.ApplicationPreferencesLoader that copies a System Property into Business Central's settings. The customer can then set System Property "build.disable-project-explorer" to "true" and not have to fiddle with system.git. I've attached an example. They would need to: 1) Change package name in .java file to fit either BRMS or BPMS 2) Compile into a .class file 3) Copy file to WEB-INF/classes/org/kie/workbench/backend Created attachment 1084306 [details]
Example class to load System Properties into workbench settings
Hi Mike, Thank you very much for kindly provide example code as an alternative of direct git command. Customer would be happy with it. Anyway, I have already strongly recommended them to install git on their Windows env again in my case as it would be highly possible that git is needed in the future to manage git repository directly. Verified for both BRMS and BPM Suite by following steps in comment 5. Michael Anstis <michael.anstis> updated the status of jira JBPM-4795 to Closed |