Re: Deployment module export...

2008-07-21 Thread Stanley M. Ho
Hi Bryan, Bryan Atsatt wrote: I believe that ModuleArchiveInfo.getFileName() would only get you a reference to the metadata file, not the content, and it is allowed to be null as currently defined. This method will give you a reference to the actual content. For example, in the local reposit

Re: Deployment module export...

2008-07-14 Thread Bryan Atsatt
I believe that ModuleArchiveInfo.getFileName() would only get you a reference to the metadata file, not the content, and it is allowed to be null as currently defined. Since Repository implementations should be free to store in whatever format they choose, assuming that a deployment module can

Re: Deployment module export...

2008-07-10 Thread Adrian Brock
Couldn't somebody already do this with something like: public void export(Repository repository) { URL repoURL = repository.getSourceLocation(); for (ModuleArchiveInfo archive : repository.list()) { URL url = createRemotableURL(repoURL, archive.getFileName()); process(url);