How to disabling versionning?

2007-03-13 Thread Nicolas Gauthier

Hi @all

Sorry for my bad english :P

I'm using Jakarta Slide for a few days in order to create directories and
uploading files in it.
For that I call mkcolMethod and putMethod on WebdavResources.
When I upload a file, this one is created with the '_1.0' suffix but I need
to access this files directly with the Files Explorer.

So I created a 'slide.properties' file wich contains '
org.apache.slide.versioncontrol=false' value and I put it in my
WEB-INF/classes directory in order to disable versionning, but it doesn't
works.
Is there anything else to configure (perhaps in Domain.xml)?

Thank you for your answers.


RE: How to disabling versionning?

2007-03-13 Thread Miguel Figueiredo

Hello Nicolas,

The file slide-kernel-2.1.jar got inside its own slide.properties file.
From what you're saying, the included properties file overrides your
parameter configuration, so it's not enough to add your file to the classes
folder.

 Try moving the slide.properties file from the jar file, or change it
according with your requirements.

 That should be enough for turning it off, but I'm not sure if your intent
of removing the '_1.0' will work by turning off the version control. I do
know it is possible because someone in this list needed the same thing some
time ago (screen scrapping time ftw).

 Hope this helps,
 Miguel Figueiredo

-Original Message-
From: Nicolas Gauthier [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 13 de Março de 2007 12:10
To: slide-user@jakarta.apache.org
Subject: How to disabling versionning?

Hi @all

Sorry for my bad english :P

I'm using Jakarta Slide for a few days in order to create directories and
uploading files in it.
For that I call mkcolMethod and putMethod on WebdavResources.
When I upload a file, this one is created with the '_1.0' suffix but I need
to access this files directly with the Files Explorer.

So I created a 'slide.properties' file wich contains '
org.apache.slide.versioncontrol=false' value and I put it in my
WEB-INF/classes directory in order to disable versionning, but it doesn't
works.
Is there anything else to configure (perhaps in Domain.xml)?

Thank you for your answers.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE How to disabling versionning?

2007-03-13 Thread Jean-Damien Bouvier
Hi Nicolas !

If you don't need versioning, I suggest that you think about using another 
Webdav server or a simple ftp server.

Bye
Jean-Damien Bouvier