beysl0r/darep — Issue #5: add repository itself once again...
Author: beysl0r
Created: 2011-10-25 20:44:20+00:00
State: open

basil~/Dropbox/projects/eclipse-workspace/darep/dist$ ./data-repository add -r "myrepos" bblabla
created new repository myrepos
The file/folder bblabla has been successfully added to the repository as data set named BBLABLA

basil~/Dropbox/projects/eclipse-workspace/darep/dist$ ./data-repository add -r "myrepos" .
java.io.FileNotFoundException: /Users/basil/Dropbox/projects/eclipse-workspace/darep/dist/myrepos/metadata/.
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:194)
at java.io.FileOutputStream.(FileOutputStream.java:145)
at darep.repos.Metadata.save(Unknown Source)
at darep.repos.Metadata.saveInDir(Unknown Source)
at darep.repos.Dataset.saveToRepository(Unknown Source)
at darep.repos.Database.add(Unknown Source)
at darep.repos.Repository.add(Unknown Source)
at darep.DarepController.processCommand(Unknown Source)
at darep.DarepController.main(Unknown Source)