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
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
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);