Hi Stephen,

> This information is available in a small plugin descriptor from which
> you can get information about the jar files, classloader categories,
> etc. Concerning how - are we talking about Magic based access to this
> info or are we talking about an application running under the repository
> system?

I'm talking about an application, at runtime, not development time..
..basic scenario is this : application bootstrap starts, prompts the
user to login. After login, the list of modules accessible to his
profile are downloaded and a dialog box is thrown to him with the
modules that are out of date in his local cache, asking him whether he
wants to download them now or when needed. I need to populate this
list... ..the data I need is in the .meta files on the web server.
Since the repository API is anyway fetching the .meta file for an
artifact, it would be simple for me to query the repository API and
ask for the details I need, and populate the list box using this data.
( Other option will be to fetch and parse the .meta file myself, but
I'd prefer not to do this... ..basic laziness.. :) )

Brgds,

R. Saravanan

On Fri, 17 Sep 2004 17:19:59 +0200, Stephen McConnell
<[EMAIL PROTECTED]> wrote:
> 
> 
> > -----Original Message-----
> > From: Rajamani Saravanan [mailto:[EMAIL PROTECTED]
> > Sent: 17 September 2004 09:10
> > To: Avalon framework users
> > Subject: Re: Repository API query
> >
> > Hi Niclas,
> >
> > Thanks a lot for the clarifications... ..observations attd. below...
> >
> > One extra query re. the Repository API - is there anyway I can
> > query/read the already loaded information from the .meta file?
> > Basically what I need to do is to display a list of files that need to
> > be downloaded, etc. to the user... ..the details are in the .meta file
> > - starting from an Artifact instance, can I ask the Repository API to
> > download this file and give me the parsed details?
> 
> This information is available in a small plugin descriptor from which
> you can get information about the jar files, classloader categories,
> etc. Concerning how - are we talking about Magic based access to this
> info or are we talking about an application running under the repository
> system?
> 
> Stephen.
> 
> 
> > Thanks, and Brgds,
> >
> > R. Saravanan
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to