Re: ‘MapStack’ weirdness.

2018-07-26 Thread Scott Gray
I looked back through an old copy of the pre-ASF repo and found that the "context" references were added in 2006 and it had something to do with making MapStack a LocalizedMap for screen/form widget internalization rendering. The commit message and a small explanation in the mailing lists didn't

Re: svn commit: r1813640 - in /ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity: GenericDelegator.java GenericEntity.java GenericPK.java GenericValue.java

2018-07-26 Thread Scott Gray
FYI, I think this commit accidentally introduced a weird import into GenericPK: import org.apache.sis.internal.jdk7.Objects probably intended to be java.util.Objects Regards Scott On 28 October 2017 at 15:19, wrote: > Author: mbrohl > Date: Sat Oct 28 15:19:56 2017 > New Revision: 1813640 > >

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread Mathieu Lirzin
Hello James, James Yong writes: > Have you looked into http://dcevm.github.io/ ? > > No comment about gretty as I haven't tried. I didn't know about it. I will take a look. Thanks. -- Mathieu Lirzin GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread James Yong
Hi Mathieu, Have you looked into http://dcevm.github.io/ ? No comment about gretty as I haven't tried. Regards, James Yong On 2018/07/26 09:08:44, Mathieu Lirzin wrote: > Hello, > > Being a bit frustrated by the slowness of having to stop/compile/restart > OFBiz manually each time a java

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread Taher Alkhateeb
Yes agreed Michael. This is a "someday" to do item. On Thu, Jul 26, 2018, 1:53 PM Michael Brohl wrote: > Hi Pradhan, Taher, > > I think this would be a huge undertaking and I am not sure if this would > be a project goal for the near future. > > We have many fields of action which should have

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread Michael Brohl
Hi Pradhan, Taher, I think this would be a huge undertaking and I am not sure if this would be a project goal for the near future. We have many fields of action which should have more focus like UI, functionality, documentation etc.. So yes, nice goal but more on the long view... Regrds,

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread Michael Brohl
Hi Mathieu, hot code replacement works fine in Eclipse if you have updated the Eclipse classpath through ./gradlew eclipse. You can run/debug OFBiz in Eclipse without problems mostly. Sometimes you have to restart, depending of the changes. For me this is working sufficiently. Best

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread Yash Sharma
Hello Mathieu, I have tried jRebel link: https://zeroturnaround.com/software/jrebel/ with IntelliJ. +1 Taher for the change in architecture from a single huge monolithic to some microservice hot swap (dynamic loading) flexible architecture. Thanks & Regards, Pradhan Yash Sharma On Thu, Jul

Re: Gradle ‘gretty’ Plugin

2018-07-26 Thread Taher Alkhateeb
Hmm, at a quick glance, I think this will not work. The problem is that OFBiz is currently designed as a "collection" of webapps each loaded separately but housed in one jar file that also includes an embedded web server. So you have to alter the Catalina Container or something like that to

Gradle ‘gretty’ Plugin

2018-07-26 Thread Mathieu Lirzin
Hello, Being a bit frustrated by the slowness of having to stop/compile/restart OFBiz manually each time a java file is changed, I have been searching for a way to make Java code hot-deployable, meaning recompiling and redeploying Java classes each time a ‘.java’ file is saved. The ‘gretty’