Re: OFBiz & Gradle building OFBiz

2016-07-17 Thread Pierre Smits
Taher, It is not the vendor of hosting services dictating the GRC policies and procedures IT organisations and/or (implementation) service providers (consultants, developers, etc) need to adhere to. They merely convey the boundaries they operate in and have a price for their services that is

Re: OFBiz & Gradle building OFBiz

2016-07-17 Thread Taher Alkhateeb
Hi Pierre, By the way if you don't want to / cannot copy the .gradle folder then I'm afraid you have to build a new jar yourself because the generated Jar contains the absolute Class-Path entries for all other jars required. If you want to put them in a different folder then you have to

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Hi Taher, Bringing the dev environment up to the latest revision did the trick. Thanks! Even Pierre Smits ORRTIZ.COM OFBiz based solutions & services OFBiz Extensions Marketplace http://oem.ofbizci.net/oci-2/ On Sat, Jul 16, 2016 at 9:10 PM, Taher Alkhateeb

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Taher Alkhateeb
Hi Pierre, Maybe try it without the word apache because you're on an older revision? On Jul 16, 2016 9:10 PM, "Pierre Smits" wrote: > Hi Taher, > > You said: 'You can run the system by typing java -cp build/libs/jarname.jar > org.apache.ofbiz.base.start.Start or running

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Hi Taher, You said: 'You can run the system by typing java -cp build/libs/jarname.jar org.apache.ofbiz.base.start.Start or running the jar directly. I tried: java -cp build/libs/ofbiz-gradle.jar org.apache.ofbiz.base.start.Start I guess that 'ofbiz-gradle.jar' is the 'jarname.jar' you

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Thanks. In a wadload of postgresql jars found I got: ./Users/pierre/.gradle/caches/modules-2/files-2.1/postgresql/postgresql/9.0-801.jdbc4/153f2f92a786f12fc111d0111f709012df87c808/postgresql-9.0-801.jdbc4.jar So that adds to the traceability issue I have. A pom in one folder and a jar in

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Taher Alkhateeb
find . -iname "*postgres*.jar" On Jul 16, 2016 7:50 PM, "Pierre Smits" wrote: > Hmm. > > It seems I overlooked that it was a directory. > > This is what I have in the directory: > > Pierres-MacBook-Pro:files-2.1 pierre$ ls > >

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Hmm. It seems I overlooked that it was a directory. This is what I have in the directory: Pierres-MacBook-Pro:files-2.1 pierre$ ls ./caches/modules-2/files-2/postgresql/postgresql/9.0-801.jdbc4/58952dea25c6251a7666d8eea01e4a31da0f8cf7 postgresql-9.0-801.jdbc4.pom And the pom file contains:

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Taher Alkhateeb
Hi Pierre, The jar name is there, what is hashed is the directory name. For example the postgresql jar on my computer is ./caches/modules-2/files-2.1/postgresql/postgresql/9.0-801.jdbc4/153f2f92a786f12fc111d0111f709012df87c808/postgresql-9.0-801.jdbc4.jar Regards, Taher Alkhateeb On Sat, Jul

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Taher, Have a look at: https://issues.apache.org/jira/browse/OFBIZ-7783?focusedCommentId=15380747=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15380747 It appears that the build proces doesn't only copy the jars, but also transforms them. The files stored aren't

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Hi Taher, Jacques already implemented a change to the rc scripts in the tools folder, but that works through the gradle build proces. And building is something that isn't allowed on production servers. In order to meet SLAs they are optimized to maximum uptime and maximum performance. Best

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Taher, Deployment is very controlled process/procedure bound by constraints, so the deployment process must bring all required elements together in to something that can be deployed. In OFBiz terminology the convenience package or binary release. In this deployment process this also means that

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Hence why I created: - OFBIZ-7796 Running OFBiz as a service fails - OFBIZ-7783 External libraries are not in the OFBiz folder structure - OFBIZ-7782 Duplicates of .properies and Label files appear Best regards, Pierre Smits ORRTIZ.COM OFBiz based solutions &

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Taher Alkhateeb
Hi Pierre, Okay I'll try to answer and provide as much relevant information as I can. - So first, the system currently does create a jar file in /build/libs. The name of the jar is the name of the project (currently defaulting to the folder name). You can run the system by typing java -cp

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
I thought that Gradle was not unlike the other java based build tools like Ant and Maven, and that it could generate a jar too. Ohh. I forgot to mention some other requirements: - The 3rd party libraries must reside within the application - Auditors must be able to track the origin of 3rd

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Pierre Smits
Hi Taher, Thanks for your quick response. The reason why this is needed is because I am limited in my options in hardened servers in production environments, as a result of GRC policies and procedures. This entails (amongst others): - no ports open than those that are required to access the

Re: OFBiz & Gradle building OFBiz

2016-07-16 Thread Taher Alkhateeb
Hi Pierre, Can I ask what do you want the jar for maybe I can provide an alternative answer? Taher Alkhateeb On Jul 16, 2016 6:31 PM, "Pierre Smits" wrote: > Hi all, > > I am still working my way through how our gradle implementation works and > how I can apply it in a