Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev][api-tools] Remote snapshot repository support


Hi Barys,
API tools at present only support directory as a repository. For remote locations, you'll have to make it a shared directory using OS.

I'd like to see a possibility of an SQL server used as a repository - mostly to enable free-form queries on the API snapshots and data collected by the Reference Extractor. However, that's only a hope; we'll see if it materializes into something useful. The "http" repository is not something it supports. Where did it come from? Is there a description for it?

Sincerely,
Oleg Besedin



Barys Dubauski <bdubausk@xxxxxxxxxx>
Sent by: pde-dev-bounces@xxxxxxxxxxx

09/05/2007 01:36 PM

Please respond to
"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>

To
pde-dev@xxxxxxxxxxx
cc
Subject
[pde-dev][api-tools] Remote snapshot repository support






We'd like to have a snapshot repository located on a dedicated web server. My initial attempt to use this approach with latest version of PDE API Tools failed.


Q1) Is the remote repository support not there or am I doing something wrong?
Q2) Is such support in plans at all?


====================== More details on what I tried so far =========================


1) Set repository location to my remote location in the control file to http://myrepository.xyz.com:


       <repository location="
http://myrepository.xyz.com" type="http"/>

2) I also tried to set this location value in the "Compare APIs" dialog:




3) I debugged the validation code which currently expects only File.isDirectory() to be true for the repository location:


package
org.eclipse.pde.api.tools.ui.internal;

public
class Validate {

       
static public boolean folder(String dir) {
               
if (dir == null || dir.length() == 0)
                       
return false;
               File file =
new File(dir);
               
return file.isDirectory();
       }






-Barys Dubauski
IBM Rational SWG
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


Back to the top