ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taher Alkhateeb <slidingfilame...@gmail.com>
Subject Re: OFBiz & Gradle building OFBiz
Date Sat, 16 Jul 2016 16:42:36 GMT
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 16, 2016 at 7:38 PM, Pierre Smits <pierre.smits@gmail.com>
wrote:

> Taher,
>
> Have a look at:
>
> https://issues.apache.org/jira/browse/OFBIZ-7783?focusedCommentId=15380747&page=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 recognisable. Not by their type
> nor by name.
>
> Best regards,
>
> Pierre Smits
>
> ORRTIZ.COM <http://www.orrtiz.com>
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
> On Sat, Jul 16, 2016 at 6:26 PM, Pierre Smits <pierre.smits@gmail.com>
> wrote:
>
> > 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 regards,
> >
> > Pierre Smits
> >
> > ORRTIZ.COM <http://www.orrtiz.com>
> > OFBiz based solutions & services
> >
> > OFBiz Extensions Marketplace
> > http://oem.ofbizci.net/oci-2/
> >
> > On Sat, Jul 16, 2016 at 6:21 PM, Pierre Smits <pierre.smits@gmail.com>
> > wrote:
> >
> >> 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 everything not needed in
> >> the production environment must be removed:
> >>
> >>    - java source code
> >>    - build definition files
> >>    - the OFBiz data sets
> >>    - etc
> >>
> >> Best regards,
> >>
> >> Pierre Smits
> >>
> >> ORRTIZ.COM <http://www.orrtiz.com>
> >> OFBiz based solutions & services
> >>
> >> OFBiz Extensions Marketplace
> >> http://oem.ofbizci.net/oci-2/
> >>
> >> On Sat, Jul 16, 2016 at 6:13 PM, Pierre Smits <pierre.smits@gmail.com>
> >> wrote:
> >>
> >>> 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 <http://www.orrtiz.com>
> >>> OFBiz based solutions & services
> >>>
> >>> OFBiz Extensions Marketplace
> >>> http://oem.ofbizci.net/oci-2/
> >>>
> >>> On Sat, Jul 16, 2016 at 5:57 PM, Pierre Smits <pierre.smits@gmail.com>
> >>> wrote:
> >>>
> >>>> 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 party libraries
> >>>>    residing in applications
> >>>>
> >>>> Best regards,
> >>>>
> >>>>
> >>>> Pierre Smits
> >>>>
> >>>> ORRTIZ.COM <http://www.orrtiz.com>
> >>>> OFBiz based solutions & services
> >>>>
> >>>> OFBiz Extensions Marketplace
> >>>> http://oem.ofbizci.net/oci-2/
> >>>>
> >>>> On Sat, Jul 16, 2016 at 5:51 PM, Pierre Smits <pierre.smits@gmail.com
> >
> >>>> wrote:
> >>>>
> >>>>> 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 server
> >>>>>    environment (ssh) or the application (in the case of OFBiz: the
> designated
> >>>>>    ajp port.
> >>>>>    - no manual starting of stopping of services other than through
> >>>>>    services (rc scripts) and chron jobs
> >>>>>    - no downloading of software etc from within the server
> >>>>>    - no build processes allowed on application servers when the
> >>>>>    reside in the production environment.
> >>>>>
> >>>>> I trust that answers your question.
> >>>>>
> >>>>> Best regards,
> >>>>>
> >>>>> Pierre Smits
> >>>>>
> >>>>> ORRTIZ.COM <http://www.orrtiz.com>
> >>>>> OFBiz based solutions & services
> >>>>>
> >>>>> OFBiz Extensions Marketplace
> >>>>> http://oem.ofbizci.net/oci-2/
> >>>>>
> >>>>> On Sat, Jul 16, 2016 at 5:33 PM, Taher Alkhateeb <
> >>>>> slidingfilaments@gmail.com> wrote:
> >>>>>
> >>>>>> 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" <pierre.smits@gmail.com>
> >>>>>> wrote:
> >>>>>>
> >>>>>> > Hi all,
> >>>>>> >
> >>>>>> > I am still working my way through how our gradle implementation
> >>>>>> works and
> >>>>>> > how I can apply it in a CI/CD environment. And I still
have some
> >>>>>> questions.
> >>>>>> > So I hope someone will help me a bit.
> >>>>>> >
> >>>>>> > How do I use the Gradle build process to generate the ofbiz
> >>>>>> executable (the
> >>>>>> > jar file)?
> >>>>>> >
> >>>>>> >
> >>>>>> > Best regards,
> >>>>>> >
> >>>>>> > Pierre Smits
> >>>>>> >
> >>>>>> > ORRTIZ.COM <http://www.orrtiz.com>
> >>>>>> > OFBiz based solutions & services
> >>>>>> >
> >>>>>> > OFBiz Extensions Marketplace
> >>>>>> > http://oem.ofbizci.net/oci-2/
> >>>>>> >
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message