Re: Problems compiling slide

2002-07-02 Thread Ingo Brunberg
A simple solution is to use Ant 1.5 and uncomment a line in build.xml. To find it just search for Ant 1.5. Regards, Ingo Hello, I'm trying to compile the latest Slide from CVS and encounter the familiar problem of ANT complaining thus: BUILD FAILED

Question about auto-create-users

2002-08-21 Thread Ingo Brunberg
Hi, I have managed to authenticate users with Tomcat's JNDI-Realm and configured Slide to automatically create users. So far I have seen no problems with this approach except that you get a RevisionDescriptorNotFoundException when trying to access the users directory with a WebDAV client. Now I

Re: XMLFileDescriptorsStore does not delete data

2002-10-29 Thread Ingo Brunberg
This is a bug in the XMLFileDescriptorsStore. See Bugzilla bug ID 11167. Regards, Ingo Brunberg Hi all! I am using the XMLFileDescriptorsStore for storing my metadata and the FileContentStore for the binary content! If put a file in the /files collection and the delete it again

Re: slide without metadata

2003-01-08 Thread Ingo Brunberg
Hi Olli, I would suggest you have a look at the wedav servlet that comes with Tomcat. It's much simpler than Slide and should allow to access content that was not uploaded via WebDAV. Regards, Ingo Hello, I have a simple question about Slide. Is it possible to use Slide as a basic WebDAV

Re: Questions about client side API for versioning and Labelling.

2003-01-09 Thread Ingo Brunberg
I haven't done this either, but according to the Delta-V specs you should be able to retrieve a specific version of a document by including the version number or label in a GET request. I don't know if Slide supports this, but the client API definitely provides no direct implementation of such an

Re: Slide Client Proxy Support

2003-02-14 Thread Ingo Brunberg
Yes, there is proxy support in the slide client. Basically you should use setProxy(String host, int port) in WebdavSession / WebdavResource. Unfortunately there is no appropriate constructor in WebdavResource, so you are lost. With the switch to the new commons-httpclient there should also be

Re: Slide Client Proxy Support

2003-02-14 Thread Ingo Brunberg
Is this, or will it soon be, supported by the command-line slide = application? I don't think so. But this should also be just a small change. However, you'd have to do it yourself. thanks for the swift response, Max -Original Message- From: Ingo Brunberg [mailto:[EMAIL

Re: iDisk and Slide Client (Again...)

2003-03-06 Thread Ingo Brunberg
Hi, could you please check out Slide from CVS or get a recent Nightly Build and try that, because I don't think anoyone is still reallly looking seriously at bugs in Slide 1.0.16. Regards, Ingo I'm re-sending this question as I got no responses the first time: Slide does not work with Apple

Re: Slide status (was: newbie question about slide future)

2003-03-13 Thread Ingo Brunberg
Hello Martin, Hi, We will accept very happily any help, you did offer in your e-mails. I would like to help with the WebDAV client API. I have sent yet one extension and a patch to the list. But I got no reaction. I will be on vacation for two weeks, but I am interested in your

Re: Tracing Client program

2003-03-31 Thread Ingo Brunberg
Hi Wong, you should set username and password before calling the WebdavResource constructor, because the constructors try to establish a connection right away. Regards, Ingo Hi, I've traced Client.java and try to write a simple program to connect to my slide

Re: performance doubts about WebdavFile

2003-06-06 Thread Ingo Brunberg
Did you have a look at src/contrib/webdavgui? There you will find another attempt to create a WebDAV JFileChooser. That one is used in the WebDAV plug-in for the Morphon XML editor. I doubt, that it is still reasonably working in the current cvs version. If you search the list archives you will

Re: AW: webdav slide clinet api

2003-06-03 Thread Ingo Brunberg
I calling propFindMethod(path, depth) with depth=3D1 and path exists. But I got exception with status code=3D404. This happens if path is a collection with non-collection subresources. Could you capture the traffic between your client and the server with one of the available tcp loggers?

Re: webDAV upload and Percentage-complete progress bar

2003-06-18 Thread Ingo Brunberg
Do you really expect an answer to this question? Better ask Bill Gates. Regards, Ingo Hi , When I browse to Slide's web folder from IE (File - OPen as web folder) , and try to drag a big file (like 1g) over from a windows explorer, the upload / copy Percentage-complete progress bar goes

Re: question : upload files to Slide content store

2003-06-19 Thread Ingo Brunberg
Have a look at the scope parameter in web.xml and the filespath parameter in Domain.xml. Regards, Ingo Hi I have a question about uploading file to Slide by dragging the file from windows explorer to the webfolder. I am setting Slide's Domain.xml so that the rootpath points to a directory ,

Re: question : upload files to Slide content store

2003-06-19 Thread Ingo Brunberg
to /files only the contents in this folder will be exposed to the clients. Ingo Brunberg [EMAIL PROTECTED] wrote: Have a look at the scope parameter in web.xml and the filespath parameter in Domain.xml. Regards, Ingo Hi I have a question about uploading file to Slide by dragging the file

Re: question : upload files to Slide content store

2003-06-20 Thread Ingo Brunberg
that this creates users and actions folders in the root of your C partition. Ingo Brunberg [EMAIL PROTECTED] wrote: Thank you for your help. My question is still whether or not we can prevent Slide from showing the 3 (virtual) folders (/files, /actions, and /users) to the user when he/she logs

Re: Any way to upload a file with spaces in the name via the Webdav Client?

2003-07-02 Thread Ingo Brunberg
You should be able to PUT files with spaces in their names to a WebDAV server with the current code from CVS. However, the way it's currently implemented is not the right one for sure. I have also missed two methods, namely Mkcol and Unlock, so you will not be able to create collections or unlock

Re: Any way to upload a file with spaces in the name via the WebdavClient?

2003-07-03 Thread Ingo Brunberg
the path if you use WebdavResource.putMethod(). In the (hopefully near) future you will have to encode the path yourself if you use PutMethod or any other method directly, but not for the convenience methods in WebdavResource. Regards, Ingo K.C. Ingo Brunberg wrote: You should be able

Re: AW: AW: Client: access to underlying HTTP request connection?

2003-07-11 Thread Ingo Brunberg
The problem is essentially the same as with proxy authentication. These things are held in the HttpState of HttpClient. Basically that state is configured in WebdavSession. I have already added constructors to WebdavResource to pass in proxy information. Adding more constructors for the various

Re: Slide configuration for versioning?

2003-07-18 Thread Ingo Brunberg
You don't have to set auto-version-control to true. It's just a nice feature, which offers versioning unaware clients the possibility to participate to a limited extend in versioning. There are also several scenarios with different behavior as determined by the auto-version parameter. If you

Re: BasicSearch

2003-07-28 Thread Ingo Brunberg
There is a SearchMethod in the Slide Client API. The main problem you will face is to construct the syntactically right query string. Please have a look at the DASL draft for this. Once you have figured out how to create the query, just pass the SearchMethod instance to Httpclient's

Re: unlock method

2003-07-31 Thread Ingo Brunberg
There was a bug in the UNLOCK method in the Slide server, that was fixed just a few days ago. That one caused most UNLOCK requests to fail, but that was no client problem. Regards, Ingo Is there any one who has a working version of unlock method for a Slide client? I tried some code, program

Re: unlock method

2003-07-31 Thread Ingo Brunberg
Sorry (too early in the morning), please ignore my post. It was related to the UNCHECKOUT method. There was a bug in the UNLOCK method in the Slide server, that was fixed just a few days ago. That one caused most UNLOCK requests to fail, but that was no client problem. Regards, Ingo

Re: unlock method

2003-07-31 Thread Ingo Brunberg
Please be a bit more specific about what you are doing and how you are doing it. What code do you use? Can you post a trace of the client-server communication? Regards, Ingo I followed the example in the slide client source code and tried unlock many times i always got failed with the

Re: unlock method

2003-08-01 Thread Ingo Brunberg
Hello Neil, I noticed that you are maintaining the WebDAV plug-in for the Morphon XML editor and therefore are using the webdavgui stuff. Apart from the single fix you describe, do you have further patches that get it working with the current Slide client CVS code. If so, it would be great if

Re: order of ACEs changed

2003-08-14 Thread Ingo Brunberg
Sorry if I am a bit naive. But what store do you use for descriptors? I wonder where in the JDBC stores the order of the ACEs is saved/enforced. If you do a SELECT on permissions, is there any guaranty that you receive the ACEs in a particular order? If not, this would indeed be a big, big

Re: bad request exception for grant permission

2003-08-14 Thread Ingo Brunberg
Just name the permission, not the object node. Therefore you should try: grant write on /slide/files to guest Regards, Ingo I am using 7/30 build and deployed in Tomcat 4.1 Login as root, issue grant command as: grant /actions/write on /slide/files to guest get Bad Request (400)

Re: weird error on file PUT

2003-08-14 Thread Ingo Brunberg
I think I mentioned the switch that you speak of in my previous email. I am using MemoryDescriptorsStore and FileContentStore. I think I am beginning to see why its not working... does it lose the descriptors to the file when I restart the server? Yes, of course. I still think it's a

Re: Virtual File Put???

2003-08-14 Thread Ingo Brunberg
Hi Michael, in the current CVS code there are methods to do a PUT with a byte array. Have a look at WebdavResource.putMethod(byte[] data) and WebdavResource.putMethod(String path, byte[] data). I'm not sure about Slide 1.0.16 though. Regards, Ingo I would like to do a PUT of a byte[] that

Re: Big File Upload = MySQLContentStore and PacketTooBigException

2003-08-21 Thread Ingo Brunberg
I remember someone posted the same problem before. See here: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=499972 You could try to increase the max_allowed_packet variable in MySQL, but according to the above message that doesn't help either. Perhaps you might try to tune other

Re: Search facility - document iterator

2003-09-04 Thread Ingo Brunberg
To get you started with the SEARCH method (DASL), your request body could be something like this: d:searchrequest xmlns:d=DAV: d:basicsearch d:select d:propd:foo//d:prop /d:select d:from d:scope d:href/slide/files//d:href d:depthinfinity/d:depth

Re: Search facility - document iterator

2003-09-04 Thread Ingo Brunberg
Maybe I was not clear enough, but I aleady mentioned that you can do a PROPFIND with depth infinity on every resource (including the root resource) in your store. This will give you the requested properties of all resources rooted under that resource. Depending on the size of your store this is of

Re: get the current version of a resource

2003-09-05 Thread Ingo Brunberg
, and then added back (identifying a new version) when the resource is checked back in. !ELEMENT checked-in (href) any idea? thanks, Stan. At 11:34 03/09/2003 +0200, Ingo Brunberg wrote: Hi Stan, I have tried this kind of REPORT (version-tree) and it works for me. The only problem on the client

Re: Client API: mkcolMethod can only create a directory with one dept h?

2003-09-12 Thread Ingo Brunberg
I use WebdavResource's mkcolMethod to upload files such as /root/web/components/files/file1.java, if the folder components/files does not exist, I have to creat it first. My question is: I found that I had to make two calls to mkcolMethod. The first time to create components folder and the

Re: Setting inheritable owner permissions

2003-09-17 Thread Ingo Brunberg
This is certainly possible. An ACL method to accomplish that task would have something like the following as the request body: D:acl xmlns:D=DAV: !-- read and write privileges for all users -- D:ace D:principal D:all/ /D:principal D:grant D:privilege D:read/

Re: Setting inheritable owner permissions

2003-09-18 Thread Ingo Brunberg
. This message disappears but seems to be the problem: out D:property element is not recognized. Do you know a way to setup such an owner permission in the Domain.xml file? Thanks again, Stefan Lützkendorf Ingo Brunberg wrote: This is certainly possible. An ACL method to accomplish

Re: Versions with example client

2003-09-29 Thread Ingo Brunberg
I have my Slide server setup with a MySql JDBCDescriptorStore and the File System FileContentStore, with the versioning turned on. I see files added to the Slide server /files with the RCS versioning/naming. I tried to use the Slide Client from the distribution and it does replace the

Re: Versions with example client

2003-09-29 Thread Ingo Brunberg
to me repeated put myfile.ext should create multiple versions if I have versions = true in the domain.xml. I see in the source where it should, but it isn't with my combination of filecontentstore and jdbcdescriptorstore. Ollie -Original Message- From: Ingo Brunberg [EMAIL

Re: Versions with example client

2003-09-29 Thread Ingo Brunberg
A little addendum to my previous post: Should you really want to create a new version with every PUT/PROPPATH you can do so by setting the auto-version property (in Domain.xml) to checkout-checkin. This frees you from the burden to explicitly issue CHECKOUT and CHECKIN calls. Luckily Delta-V and

Re: Versions with example client

2003-09-29 Thread Ingo Brunberg
That's right. The problem is that 1.0.16 is the latest released version, and woefully many people are still using it. So, please pick and use the latest nightly build. Don't be afraid - it's not less stable than 1.0.16. Regards, Ingo Ok, addendum's continue, I tried your commands and they are

Re: How to authorize a httpclient?

2003-10-08 Thread Ingo Brunberg
new WebdavResource(http://userid:[EMAIL PROTECTED]:8080/webdav/) or create a HttpURL object with the needed settings and use the appropriate WebdavResource constructor. Hi, I am using slide client API to develop WebDAV client program. I can use WebdavResource resource = new

Re: Dav conundrum

2003-10-24 Thread Ingo Brunberg
As (almost) always it would be interesting to have a trace of such a session. Perhaps we would get more insight then. Regards, Ingo No lock on parent resource. Seems like the connection was staling and the Dav server I was speaking to would return not lock owner for any Dav actions whenever

Re: lock/unlock problem

2003-10-27 Thread Ingo Brunberg
user is working on goes = against the purpose of lock - or am I wrong? /Jacob -Original Message- From: Ingo Brunberg [mailto:[EMAIL PROTECTED] Sent: 27. oktober 2003 14:19 To: [EMAIL PROTECTED] Subject: Re: lock/unlock problem Yes, that's correct. Another user than the lock

Re: proppatch method with exchange server

2003-10-29 Thread Ingo Brunberg
I'm not aware of such a bug in the SLide client. Could you please provide a trace of the session that contains the PROPPATCH request and the corresponding server response. Regarding your second question: You can easily replace the commons-httpclient.jar coming with slide with the 2.0-rc2 version

Re: Java Client Problem

2003-11-03 Thread Ingo Brunberg
My first question: Is the server you are talking to WebDAV enabled (possibly Apache with mod_dav)? If it is try to call the WebdavResource constructor with an already existing URL, for example the parent collection of the resource you wish to create. Then call wdres.putMethod(/fullPath, file),

Re: Java Client Problem

2003-11-03 Thread Ingo Brunberg
Which version of Slide are you using? Please try the latest nightly build or fetch the latest code through CVS. Could you provide a tcp trace of a session? Regards, Ingo The status code is 401, and I'm sure the user and password passed through (httpURL.setUserInfo (user,password);)=A0 are

Re: Slide 2.0 Release Management

2003-11-12 Thread Ingo Brunberg
are (sorry if I have forgotten anyone, please tell me if this is the case): - Jürgen Pill - Peter Nevermann - Martin Wallmer - Ingo Brunberg Additionally, there is one designated committer, which is *me*. I understand the people from SAG hardly will take the position of the RM as they have

Re: encode utf-8 - problem with äöü

2003-11-12 Thread Ingo Brunberg
I assume by copying you mean uploading a file to Slide. Could you please test the Slide command line client. If it doesn't work, too, we should have a look at the server side. Reagrds, Ingo Sorry guys for asking the same question again, but I don't get it. I've studied all the mails to this

Re: Newbie - client API examples?

2003-11-13 Thread Ingo Brunberg
Download a recent nightly build or fetch the current code from CVS. Please don't use Slide 1.0.16!!! Working with the client API is pretty straightforward. Surround the following statements with the required try-catch block and you will get a first impression what is possible. Regards, Ingo I'm

Re: Client NPE on acl command

2003-11-19 Thread Ingo Brunberg
Hi Ollie, first, thank you for following the advice. As you propably know, Slide recently tried to become compatible with the latest ACL draft. For the client part, I have commited a small patch that (admittedly I haven't tested much) allows users to set the principal of an ACE to a property.

Re: Client NPE on acl command

2003-11-19 Thread Ingo Brunberg
I had just created with mkcol command. Ollie Ingo Brunberg wrote: Hi Ollie, first, thank you for following the advice. As you propably know, Slide recently tried to become compatible with the latest ACL draft. For the client part, I have commited a small patch that (admittedly I

Re: Client NPE on acl command

2003-11-20 Thread Ingo Brunberg
Ingo Brunberg wrote: Hi Ollie, first, thank you for following the advice. As you propably know, Slide recently tried to become compatible with the latest ACL draft. For the client part, I have commited a small patch that (admittedly I haven't tested much) allows users to set

Re: Unrecognized SSL message - problem in getting https connection

2003-11-20 Thread Ingo Brunberg
Just a quick guess, try to specify the port in your URL: https://project-file.test.com:443/files/content Regards, Ingo Hi , I am trying to connect to a WebDAV server using https protocol. I am using Nightly Build of Slide and hjaving JSDK 1.4.2 installed. The error message while running the

Re: stable build

2003-12-11 Thread Ingo Brunberg
That sounds strange. Could it be that you are having two different versions of the Slide client libs in your classpath? It's also possible that the problem is in the nightly build itself. I guess this was generated by Maven, but I don't know what it can do wrong. If you want to build the client

Re: AW: Client: access to underlying HTTP request connection?

2003-12-11 Thread Ingo Brunberg
Theoretically you can add the cookie with: WebdavResource.retrieveSessionInstance().getState().addCookie(cookie); But I guess that won't help you much as you need the cookie when you create the WebdavResource to get a connection. A related problem is to get NTLM authentication to work. To solve

Re: Question about non-existent files.

2003-12-11 Thread Ingo Brunberg
The normal way of creating a new Resource would be to first create a WebdavResource of an existing URL, usually the top-level resource, and then call resource.putMethod(newPath, this is my data). Anyway, throwing an exception doesn't seem quite right. I guess this change was introduced to inform

Re: Question about non-existent files.

2003-12-11 Thread Ingo Brunberg
This is of course the most obvious and elegant solution for this scenario. Still the question remains: Should an exception be thrown in case of a 404 response to a PROPFIND request? Ingo Hi Robert, you have to use another constructor: WebdavResource r = new

Re: client grant command syntax

2003-12-12 Thread Ingo Brunberg
Hi Ollie, we had discussed this before, hadn't we. See this thread: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=5123 There I explained that this reveals a bug in the server code. Unfortunately noone took up the patch that I have posted, so I will be going to commit it myself.

Re: Question about non-existent files.

2003-12-12 Thread Ingo Brunberg
. Unless people want such a special exception, we should leave it as it is, as HttpException covers that case. Regards, Ingo From: Ingo Brunberg [mailto:[EMAIL PROTECTED] The normal way of creating a new Resource would be to first create a WebdavResource of an existing URL, usually the top

Re: SlideApi: specify a major AutoVersion

2003-12-15 Thread Ingo Brunberg
I don't think this is possible. And it's not mentioned in the WebDAV specification. Compare this to the behavior of CVS: If you want to specify a particular version number for your program (which might be quite different from the CVS version number) you assign a tag. Similarly you could use the

Re: new namespace for Slide

2003-12-15 Thread Ingo Brunberg
Have a look at org.apache.webdav.lib.PropertyName and the various proppatchMethod()-methods in WebdavResource. Regards, Ingo Ok thanks, any hints on how to add new properties with the Client? Any other way? Ollie Richard Unger wrote: Hi! AFAIK, you are free to choose the

Re: Performance issue of web application using slide

2003-12-15 Thread Ingo Brunberg
Hi Priscilla, we are running Slide with an even larger user base without significant performance problems. But that might depend on the store implementation you are using. Concerning the memory problems you should make sure to give your Java VM enough memory with the -mx and propably the -ms

Re: Error: Check! No scheme: %9 on IPAQ Pocket PC

2003-12-16 Thread Ingo Brunberg
To eventually help you, I need more information. Which version of Slide are you using, how do you start the client exactly? Also a stack trace would be nice (really no chance to get one?). Ingo No response, I try again ... Thanks - Original Message - From: Dubois Olivier [EMAIL

Re: unable to view uploaaded files after restart

2003-12-17 Thread Ingo Brunberg
Hi Sliders, I have downloaded and successfully installed the Slide with tomcat on win 2K box. Firstly I have modified the parameter name=resetBeforeStartingfalse/parameter to false in Domain.xml for the files not to be deleted from the uploaded path. I assume

Re: files/folders properties not being stored in file system

2003-12-19 Thread Ingo Brunberg
Just a note, you would get more support I you were using current CVS code / nightly builds, as 1.0.16 is very outdated although it's the last release. Regards, Ingo Hi, I am faced with the same problem.. -Original Message- From: Kotzian, Leszek [mailto:[EMAIL

Re: Newbie Authentication Questions

2004-01-08 Thread Ingo Brunberg
In my understanding it should not matter if you use digest or basic authentication as these are handled transparently by httpclient. How about posting your code that uses httpclient directly? Ingo Hello all, I'm having a very difficult time understanding how to use authentication with the

Re: getDisplayName returns wrong value

2004-01-23 Thread Ingo Brunberg
Well, I can get the real displayname. Could you try again with the latest code? It's really easy to build. Just checkout jakarta-slide/webdavclient, cd to webdavclient and call ant. And how do you retrieve the resource exactly? Ingo The Webdav client code seems to be broken for

Re: Slide Client Admin

2004-01-26 Thread Ingo Brunberg
Naw Bentrad [EMAIL PROTECTED] writes: It works! But only with the Slide Server running on Tomcat 4.1. With Tomcat 5: ./run.sh http://localhost:8080/slide connect http://localhost:8080/slide Jan 23, 2004 11:32:45 AM org.apache.commons.httpclient.HttpMethodBase

Re: Open Document with system call

2004-01-29 Thread Ingo Brunberg
There is a relative simple solution. From within your client, just GET the PDF and save it to a temp file. Then launch Acrobat passing it the name of that temp file. Ingo Hello All! I'm having a rather difficult time trying to figure out how to open a PDF document (or any document for that

Re: Connecting to Slide using DAV Explorer

2004-01-30 Thread Ingo Brunberg
http://www.sharemation.com/your_user_name Also have you tried connecting to sharemation account through DAV Explorer? If yes, could you please give me the connection URL? Regards, Ritu - To unsubscribe, e-mail: [EMAIL

Re: Versioning Support in Slide

2004-01-30 Thread Ingo Brunberg
The Slide 2.0 Changelog says Preliminary support for Delta V in the client. What does this entail? More specifically is Put under version Control, Check Out, Check In of resources supported? Yes. Secondly, I have a generic WebDAV question regarding locking. From the Delta V specs it

Re: Slide Dav session close in version 1.0.16

2004-02-03 Thread Ingo Brunberg
Slide 1.0.16 uses its own Httpclient version that later evolved into Commons Httclient, so the Javadoc you refer to doesn't apply to 1.0.16. Ingo Hi. Am I correct in thinking that version 1.0.16 uses the commons.HttpClient's endSession method which has no effect (as per Javadoc) and the

Re: Slide and SSL

2004-02-26 Thread Ingo Brunberg
Hi, I apologize if this is a question answered somewhere already, although I have searched for such an answer in many places. I am new to Slide. I am trying to use WebDAV to connect over SSL. The WebDAVResource will not take an org.apache.commons.httpclient.HttpsURL as an argument, so

Re: org.apache.webdav.lib.WebdavException

2004-03-01 Thread Ingo Brunberg
Are you using Slide 2.0beta1? My WebdavFile.java doesn't have 539 or even 658 lines. Ingo Another question, sorry it's my first time with dav and slide . how can i create a subdirectory : my code is : WebdavFile temp1 = new WebdavFile(new HttpURL(http://MyServer:80/Publish/titi;));

Re: directory includes blank caracter

2004-03-01 Thread Ingo Brunberg
Jean-Philippe Pattus wrote: Hello the list, my config is : - server side : an apache server plus a module for WEBDAV - client side : jakarta slide webdab client 2.0 beta1 my code is very simple : WebdavFile collectionDirectory = new WebdavFile(new

Re: org.apache.webdav.lib.WebdavException

2004-03-01 Thread Ingo Brunberg
This will not work, because the URL you try to access doesn't already exist. Either use a constructor where you can pass the action parameter 'NOACTION' or do this: HttpURL url = new HttpURL(http://MyServer:80/Publish;); WebdavResource temp1 = new WebdavResource(url);

Re: WebdavResource SearchMethod

2004-03-24 Thread Ingo Brunberg
The SearchMethod class should be fully functional. But the main problem is to create the body for the search request. There is no smart or automatic way of creating one. That's propably the reason why it's not integrated into WebdavResource yet, but that would be no problem. If you want to

Re: Problem use slide 2.0 beta connect to MS Exchange server through https

2004-04-07 Thread Ingo Brunberg
Ah, another example of a server that is returning the wrong status code. As you have noticed Catacomb returns a 200 in response to the REPORT request. This is wrong, as it really should return a 207. Because the library does a check for the right code you get no response elements. The library

Re: Problem use slide 2.0 beta connect to MS Exchange server through https

2004-04-07 Thread Ingo Brunberg
I did not receive the original e-mail, but anyway... Have you tried to recompile your code against 2.0b1? I guess you have not, else you would have noticed that the API has changed a bit. Ingo Hi, In 2003, we develop application use webdavlib in Slide 1.0.16 client to access Calendar of MS

Re: strange behaviour when overwriting resource with PUT command

2004-05-12 Thread Ingo Brunberg
To answer your first question: If you execute a PUT request, the 204 (No Content) is the right response to indicate success. The No Content refers to the response, not the request. I don't know for sure the answer to your second question, but I doubt that Slide ever generates a 304 response

Re: Big file download problem.

2004-05-13 Thread Ingo Brunberg
Of course you can do this. Just set an appropriate request header on the GetMethod - setRequestHeader(...) Ingo hi, it is a common idea, if a file is very big, we may hope the flie in slide can be downloaded off and on. As I know, the WebDAV is an extension of HTTP. The

Re: Slide Tomcat Sessions - Closing them

2004-05-11 Thread Ingo Brunberg
such as reportMethod() that take a HttpURL as a parameter. Cheers Luke. - On 10 May 2004, at 18:15, Ingo Brunberg wrote: This is indeed worth investigating. Calling getHttpURL() should really not create a new session. Maybe you can post a code snippet? Ingo After a bit

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread Ingo Brunberg
just a few calls to a servlet I had). I shall now recode based on your advice though - thank you for your help. Cheers Luke. - Quoting Ingo Brunberg [EMAIL PROTECTED]: Do you actually have a problem with open sessions or is you interest rather

Re: Big file download problem.

2004-05-14 Thread Ingo Brunberg
for you email. do you mean I can use the setRequestHeader as setRequestProperty in java.net.HttpURLConnection? Could you give me an example for how to use the method? thanks a lot. From: Ingo Brunberg [EMAIL PROTECTED] Reply-To: Slide Users Mailing List [EMAIL PROTECTED] To: [EMAIL

Re: AW: adding properties to files

2004-04-30 Thread Ingo Brunberg
You get the 501 because you pass the complete URI instead of the path. Would be fine if it worked, but it's not really critical. So you may need: res.proppatchMethod(newRes.getPath() ,prop, val1, true); One general hint for using the client library: Don't create more than one WebdavResource via

Re: Slide 2.0 - Webdav API Question / problem.

2004-05-10 Thread Ingo Brunberg
Hi, maybe I don't get your point. You state that - webdavResource.getChildResources().getResources() contains null elements - webdavResource.getChildResources().listResources() is correct. I would say that's not possible, because listResources() uses getResources() internally and it does not

Re: Slide Tomcat Sessions - Closing them

2004-05-10 Thread Ingo Brunberg
Do you actually have a problem with open sessions or is you interest rather theoretical? As I explained some time ago, you should use WebdavResource in such a way that you call a WebdavResource constructor only once in your application. This way you have no more than one connection, so you should

Re: Adding Labels to Resource Versions

2004-05-26 Thread Ingo Brunberg
You can add labels to and get a specific version. But you first have to find out (via REPORT) where that version is located, because you need to act directly on that version (yes, that's how WebDAV works). And labels are supported by the server side of Slide. Ingo Need help with adding labels

Re: Adding Labels to Resource Versions

2004-05-26 Thread Ingo Brunberg
A CHECKIN does exactly what you cited: It effectively creates a new version as a copy (content and properties) of the version controlled resource. To create a new version with different content than the currently checked-in version controlled resource you first have to check-out the VCR, than

Re: JFileChooser for WebDAV

2004-05-26 Thread Ingo Brunberg
Yes, I think there would be a great amount of interest and I would like to see it integrated in Slide's client library. As I have explained many times, we once had two such approaches in Slide, one that was never finished and one that was IMHO too complex and never working quite right. Now, I am

Re: Overwriting Version Content/Properties

2004-05-28 Thread Ingo Brunberg
No, you cannot even alter the properties of an existing version with a PROPPATCH. Compare Delta-V to other version control systems: In CVS you normally cannot modify an existing version, too. If you don't want to have a particular version created just don't check it in. Remember you can change

Re: Report Method is not returning versions in order (bug?)

2004-06-01 Thread Ingo Brunberg
This has already been discussed a while ago. Basically the response URLs are stored in a Hashtable. And a Hashtable doesn't preserve or guarantee the insertion order. Btw., do we have a valid decision now to require Java 1.4? If so we could easily replace the Hashtable by a LinkedHashMap. Ingo

Re: How to create nested properties

2004-06-07 Thread Ingo Brunberg
Properties are Strings. Just construct the complex type within your application. Ingo I want to add a new nested property for a new file created on WebDav, like the properties supportedlock or resourcetype on files or collections. The problem is that the method

Re: URL Parsing Problem

2004-06-11 Thread Ingo Brunberg
Are you talking about the encoding done in the client library? That is handled by the Httpclient libs. As Julian already mentioned the '#' in the URL usually serves as a fragment identifier. Hence I am not sure if the URL that Microsoft produces is really a valid one. At least it was not a lucky

Re: How can I determine what version has a given label

2004-06-16 Thread Ingo Brunberg
kranga wrote: I've tried using propfind path label-name-set and this returns blank. The label property holds a set of labels as a revision can have multiple labels. How do I query the labels out? Someone please help! You need to do your propfind (for label-name-set) on the version paths.

Re: How can I determine what version has a given label

2004-06-18 Thread Ingo Brunberg
. This has been reported recently. The problem is that 255 characters is a too strict limit. Use text instead of varchar as the type of the field. If I remember correctly the schema has already been corrected in CVS. -Karthik - Original Message - From: Ingo Brunberg [EMAIL

Re: How do I get checkout to create copy in workspace?

2004-06-22 Thread Ingo Brunberg
Where did you read about a Target-Selector? Usually you create a version controlled resource in a workspace by using a VERSION-CONTROL request. If you use WebdavResource you can call the method versionControlMethod(String path, String target), where path is the new resource to be created and

Re: How do I get checkout to create copy in workspace?

2004-06-23 Thread Ingo Brunberg
I think that article is very outdated. Look at http://www.webdav.org/deltav/scenarios/scenarios-00-1.htm#_Toc475158795 section 3.2 - Original Message - From: Ingo Brunberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 4:19 AM Subject: Re: How do I get

Re: Property Namespaces question

2004-06-23 Thread Ingo Brunberg
That's because it doesn't really matter which prefix you use. It's just XML. The important part is the namespace itself which is bound to the prefix by a xmlns declaration. Ingo Hi, Can someone do me the favour of answering this question. Why when I connect to a IIS WebDAV server when i

Re: How do I get checkout to create copy in workspace?

2004-06-23 Thread Ingo Brunberg
versioncontrol to get it to the /files collection? - Original Message - From: Ingo Brunberg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 4:19 AM Subject: Re: How do I get checkout to create copy in workspace? Where did you read about a Target-Selector

  1   2   >