eclipse - programmatically find the repository URL of a project -
i want programmatically find repository given project in eclipse connected to. have 3 java projects in eclipse, project -- connected svn repository - url - svn://localhost/prja , project b -- svn://localhost/prjb , project c -- svn://localhost/prjc. given "projecta" -- want url connect to.please suggest way information...
look @ this page information implementing what's called repository provider eclipse. there's repository provider each version control "product": there's 1 git, 1 svn, etc.
basically there 2 times when provider gets called - when eclipse project gets associated provider , when project becomes disassociated provider. it's @ first point such things repository url stashed away in provider-specific means.
to answer question, you'll have know how provider(s) associated projects stash association metadata away. that's how , code info want.
Comments
Post a Comment