now I am using
VersionControlMethod vcmethod = new VersionControlMethod(repo_loc +
file.getName());
This I guess enables the versioning of the file.
However If i check the property of the file one of the property says
{DAV:}auto-version null
.Now when I checkin the following file using
CheckinMethod checkIn= new CheckinMethod(repo_loc+file.getName());
RequestEntity requestEntity=null;
try {
requestEntity = new
InputStreamRequestEntity(new FileInputStream(file));
} catch (FileNotFoundException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
checkIn.setRequestEntity(requestEntity);
This resulrt in status code 201 and in the HTTP log i get
Location:
http://81.187.42.14:8080/jackrabbit-webapp-1.6.0/repository/default/jcr%3asystem/jcr%3aversionStorage/8e/b9/ef/8eb9efd9-cfc1-4228-8984-6193840080d4/1.0[\r][\n]"
97469 [main] DEBUG httpclient.wire.header - << "Content-Length: 0[\r][\n]"
So does the new version is created.
If yes how do I access it.
Anybody please?
--
View this message in context:
http://n4.nabble.com/Webdav-checkin-checkout-problem-tp1018406p1049577.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.