Giter Club home page Giter Club logo

Comments (5)

maxskywalker avatar maxskywalker commented on September 27, 2024

The view of the SVN Rev Properties can work now after I changed ths source code of subclipse? But I don't understand how it can commit the svn:log, svn:date, svn:username of reversion properties when commit the changed file to the svn server? Someone can help me? Thank you!

from subclipse.

markphip avatar markphip commented on September 27, 2024

svn:log comes from the commit message provided to the commit API. The user and date cannot be set by the client during a commit. The server sets those properties. The user comes from the username used to authenticate with the server and the date of course is based on the clock of the server.

from subclipse.

maxskywalker avatar maxskywalker commented on September 27, 2024

Thank you very much for your patient answer. Now, I have understanded it.And I will try to resolve it in soon afterwards. Wish everything goes well with you ! Thank you again.

from subclipse.

maxskywalker avatar maxskywalker commented on September 27, 2024

SVNCommitClient commitClient = clientManager.getCommitClient();
Map<String, String> map = new HashMap<String, String>();
map.put("hik:project", "TestProject");
// TODO add custom svnProperties
SVNProperties svnProperties = new SVNProperties();
SVNProperties svnPropertiesAdd = svnProperties.wrap(map);
commitInfo = commitClient.doImport(localPath, dstUrl, commitMessage, svnPropertiesAdd, false, false, SVNDepth.INFINITY);

Now, I can use the api of svnkit.jar to add some custom revision property ("hik:project", "TestProject") to the svn server when I commited some file to the svn server. But I can't find the same implemation of CommitAction.java or CommitOperation.java in the project of subclipse.ui. Would you give me advice? I'm sorry to trouble you again! Thank you?

from subclipse.

maxskywalker avatar maxskywalker commented on September 27, 2024

Hello, markphp. I finished the work of subclipse。I decompiler the svnkit.jar and adapter-javahl.jar, and change the commit method of AbstractJhlClientAdapter.java。so, I can commit Custom revision properties.
Thank you very much for your assistance. Good luck with you. @markphip

from subclipse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.