Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6861587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:33:14+00:00 2026-05-27T02:33:14+00:00

I am creating a plug-in for Eclipse that interacts with the Subclipse plug-in. One

  • 0

I am creating a plug-in for Eclipse that interacts with the Subclipse plug-in. One thing I would like to do is access the username (commit author name) that the person uses for accessing their Subversion repository(ies). For a simple case, I am assuming the person only has 1 repository checked out into their workspace and that I am only interested in the username that they use for that workspace, how can I access it?

Note: The simple case illustrates the problem I am trying to address, but I still need it to generalize to a scenario where there are potentially multiple repositories open.

I know that this information is stored somewhere because when I try to make a commit and Subclipse asks me to confirm my credentials, it has the username pre-filled out and I just have to enter my password.

How can I go about doing this?

Here is something I have tried, but doesn’t work:

String uname = "";
try {
    uname = SVNProviderPlugin.getPlugin().getRepository("https://<path-to-my-repository>").getUsername();
} catch (SVNException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
}
System.out.println("Username: " + uname);

However, this outputs: Username: which tells me that the string uname is getting "".

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T02:33:15+00:00Added an answer on May 27, 2026 at 2:33 am

    Subclipse does not know what the user’s username is so there is no way to get this from Subclipse. About the only way you could do it would be to try to read Subversion’s cache files, but even that will not work if they are using SVNKit as it has its own cache.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to creating plug-ins, and there's much that I don't understand. One
I'm trying to find documentation on how one would go about creating a custom
I am creating an Eclipse plug-in for it to support a new language. The
I'm creating an eclipse plug-in and I'm having trouble with external jars. In my
I noticed that if I do something like: script/plugin install git://github.com/plug-xyz.git It says it
I'm creating a OS X application that I intend to have a plug-in architecture.
I did something while trying to install the vestal_versions plug-in that ended up creating
When I'm creating new project with GWT plug in it creates a skeleton project
I'm in the process of creating exercises in how to write a plug-in to
Creating liquid layouts is an immense pain. Now, I totally understand that tables should

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.