From: "Adrian Crum" <[email protected]>
--- On Wed, 12/31/08, Jacques Le Roux <[email protected]> wrote:
From: Jacques Le Roux <[email protected]>
Subject: Re: Ldap.authentication.patch ofbiz 4.0 branches release
To: [email protected]
Date: Wednesday, December 31, 2008, 1:22 AM
>
> Hi
>
> I have recently started looking at the Apache Ofbiz
Development Guide :
> Beginner“s Tutorial,
> and reverted to the stable release 4.0 as referenced
in the book. This is a
> major step
> back from the trunk version, yet for production it
seems to be a lot more
> stable. (Is this true?)
Yes it is, especially nowadays : we have commited massive
changes to the trunk these last days
>Now comparing the trunk with the branch version I
> have discovered that the trunk has Ldap
> compatibility and the branch has none.
>
> I have found the following patch
> (https://issues.apache.org/jira/browse/OFBIZ-811)
> but when I try to apply it I get the following error.
>
>
> [r...@itux ofbiz4.0]# patch -p0 <
ldap_authentication.patch
> (Stripping trailing CRs from patch.)
> patching file
>
framework/common/src/org/ofbiz/common/login/LdapAuthenticationServices.java
> (Stripping trailing CRs from patch.)
> patching file
framework/common/src/org/ofbiz/common/login/LoginServices.java
> Hunk #1 FAILED at 64.
> 1 out of 1 hunk FAILED -- saving rejects to file
>
framework/common/src/org/ofbiz/common/login/LoginServices.java.rej
> (Stripping trailing CRs from patch.)
> patching file
framework/security/config/jndiLdap.properties
> (Stripping trailing CRs from patch.)
> patching file
framework/security/config/security.properties
> Hunk #1 FAILED at 60.
> Hunk #2 FAILED at 76.
> 2 out of 2 hunks FAILED -- saving rejects to file
> framework/security/config/security.properties.rej
> (Stripping trailing CRs from patch.)
> patching file
framework/security/entitydef/entitygroup.xml
> (Stripping trailing CRs from patch.)
> patching file
framework/security/entitydef/entitymodel.xml
>
> Can anybody advise which is the best option to use:
Ofbiz release 4.0 or a
> (specific or XX count back) trunk version for
production. (This being as I
> have notes on configuring a trunk version to be more
production orientated,
> rather than development related)
As noted in OFBIZ-811 this has been commited in trunk
r669994
http://svn.apache.org/viewvc?view=rev&revision=669994.
You would have
to do the work by your self either on R4 or using this
release. If you fiund bugs, there are chances that patches
have been commited
since. So you would have to commit them from this release
at least.
> Alternatively, where am I going wrong with the patch
and why is the stable
> release so far behind the trunk....
Manpower...
Jacques
It's not really a manpower issue. The release is a branch from the trunk, and it was done almost two years ago. The release
receives bug fixes but not new features - so naturally there will be large differences between the release and the trunk as time
passes.
I was speaking about the 1,5 years gap between trunk and release...
Jacques
-Adrian