Hi all,
We are using apache axis2 version 1.6.1 for the deployment of our artifacts and the flow that takes place is as follows: ![]() What is expected here is for the artifacts that are deployed/undeployed/redployed to be commited to svn. What we could observe was that, when we add the same artifact to the deployment directoy, within axis2, it is considered as modified file since the last modified time of the file has changed. Thus the redployment takes place. However, since it is the same file that was redeployed, the md5sum will not be changed hence svn commit will not take place. Would it be a better approach if we modify the axis2 engine so that an artifact is cosidered modified if and only if it's md5sum has changed? Right now, the isModified() method of WSInfoList is as follows: private boolean isModified(File file, WSInfo wsInfo) { My suggestion is to improve it as below: private boolean isModified(File file, WSInfo wsInfo) { if ((wsInfo.getLastModifiedDate() != previousModifiedDate) && (wsInfo.getMd5Sum().equals( Any suggestion is warmly welcome. Thank you, Sasikala Mobile: +94 774835928 |
On Thu, Oct 19, 2017 at 3:52 PM, Sasikala Kottegoda <[hidden email]> wrote:
I guess it's the forked version of Axis2 that WSO2 bases its products on. In that case, you can just modify that code.
|
Free forum by Nabble | Edit this page |