accessing eclipse svn metadata

View: New views
2 Messages — Rating Filter:   Alert me  

accessing eclipse svn metadata

by 23Oranges :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm working on a plug-in for Eclipse that checks for updates of a file at regular intervals. That means, the file - a project set file (*.psf) - is already under version control within Eclipse.
Is there an easy way to access these informations? I've been crawling through the examples at https://wiki.svnkit.com/ - but they're horribly complex for a newbie like me.
The connection to the repository is working, i can do a print out to the console just like in this example: https://wiki.svnkit.com/Printing_Out_A_Subversion_Repository_Tree
But when trying a update of the file, i get a "file is not under version control" message.

thanks in advance for pointing me to a solution

regards, Felix

Re: accessing eclipse svn metadata

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Felix,

Subversion update operation might be only performed on an existing
'working copy', that first has to be checked out. Please refer to
Subversion book to read more on working copies and how to update them
(http://svnbook.red-bean.com/).

Alternatively, if you only have to update single small file, you may
simply get its contents from repository (and some additional properties)
with SVNWCClient.doGetFileContents(...) or SVNRepository.getFile(...)
methods.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://sqljet.com/ - Java SQLite Library!

23Oranges wrote:

> I'm working on a plug-in for Eclipse that checks for updates of a file at
> regular intervals. That means, the file - a project set file (*.psf) - is
> already under version control within Eclipse.
> Is there an easy way to access these informations? I've been crawling
> through the examples at https://wiki.svnkit.com/ - but they're horribly
> complex for a newbie like me.
> The connection to the repository is working, i can do a print out to the
> console just like in this example:
> https://wiki.svnkit.com/Printing_Out_A_Subversion_Repository_Tree
> But when trying a update of the file, i get a "file is not under version
> control" message.
>
> thanks in advance for pointing me to a solution
>
> regards, Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...