Problem while doing export or checkout from SVN using integration of SVNJava Library with Application

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

Problem while doing export or checkout from SVN using integration of SVNJava Library with Application

by Kirti More :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 
I am using SVN Java API Library for integration of SVN with our existing Java Application for Content Managment. I have come across a issue while doing an export or checkout of the documents/folder from through the Java application from SVN server. We are having one Application Server & one SVN Repository server.
 
Whenever user log in to the application and clicks on link, a request is sent to application server which in turn requests SVN server and gets the list of folders & documents and displays on client browser. There are two more functionalities present in the application to export or checkout the folder or document. When we are using this functionality and clicking on export providing the path where to export, it is exporting document on Application server at specified path and not on Client side from where the user is sending is request. The same problem is also happening for checkout functionality.
 
Please let us know how we can get the documents or folders on client side and not on the server side.
 
Regards,
Kirti

Re: Problem while doing export or checkout from SVN using integration of SVNJava Library with Application

by Alexander Kitaev-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Kirti,

If I understood the scenario correctly it looks like export works as
expected - it exports files to the computer (Application server) on
which Subversion library is called and its export code is executed.

I only could suggest you to do the following - checkout (export) as now,
so that files are stored on Application Server computer, then archive
checked out or exported files and send this archive as a response to the
users' checkout/export request.

Or provide user with a temporary download link that will let him
download checked out or exported files.

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

Kirti More wrote:

> Hi,
>  
> I am using SVN Java API Library for integration of SVN with our existing
> Java Application for Content Managment. I have come across a issue while
> doing an export or checkout of the documents/folder from through the Java
> application from SVN server. We are having one Application Server & one SVN
> Repository server.
>  
> Whenever user log in to the application and clicks on link, a request is
> sent to application server which in turn requests SVN server and gets the
> list of folders & documents and displays on client browser. There are two
> more functionalities present in the application to export or checkout the
> folder or document. When we are using this functionality and clicking on
> export providing the path where to export, it is exporting document on
> Application server at specified path and not on Client side from where the
> user is sending is request. The same problem is also happening for checkout
> functionality.
>  
> Please let us know how we can get the documents or folders on client side
> and not on the server side.
>  
> Regards,
> Kirti
>

Re: Problem while doing export or checkout from SVN using integration of SVNJava Library with Application

by Kirti More :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alexendar,

Thanks for the reply. We are using SVN Java Library intgration for making Content Management System available on Java Application. There will be mulitple users accessing multiple documents with several operations Add/Update/Checkout/Commit/Delete at one time and hence it would not be feasible to implement the suggested solution.

Regards,
Kirti

Alexander Kitaev-3 wrote:
Hello Kirti,

If I understood the scenario correctly it looks like export works as
expected - it exports files to the computer (Application server) on
which Subversion library is called and its export code is executed.

I only could suggest you to do the following - checkout (export) as now,
so that files are stored on Application Server computer, then archive
checked out or exported files and send this archive as a response to the
users' checkout/export request.

Or provide user with a temporary download link that will let him
download checked out or exported files.

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

Kirti More wrote:
> Hi,
>  
> I am using SVN Java API Library for integration of SVN with our existing
> Java Application for Content Managment. I have come across a issue while
> doing an export or checkout of the documents/folder from through the Java
> application from SVN server. We are having one Application Server & one SVN
> Repository server.
>  
> Whenever user log in to the application and clicks on link, a request is
> sent to application server which in turn requests SVN server and gets the
> list of folders & documents and displays on client browser. There are two
> more functionalities present in the application to export or checkout the
> folder or document. When we are using this functionality and clicking on
> export providing the path where to export, it is exporting document on
> Application server at specified path and not on Client side from where the
> user is sending is request. The same problem is also happening for checkout
> functionality.
>  
> Please let us know how we can get the documents or folders on client side
> and not on the server side.
>  
> Regards,
> Kirti
>