:date: 2013-05-08 18:00 .. index:: tech, owncloud Ganttproject and Owncloud ========================= .. image:: /_images/images/gallery/2013/2013-placeholder/ganttproject2owncloudwebdav.png :alt: From gantproject to owncloud :align: right :scale: 100 `Owncloud `__ has finally reached a point where it's becoming useful in far more than being a file storage and synchronisation tool. Last week I had a couple of spare minutes and time to figure out how the `Webdav `__ integration works. :program:`Webdav` is basically an HTTP extension that turns the web from being only readable into a tool for group management and work. Take it like an write interface with authentication and all the nice benefits via HTTP. Now, `Ganttproject `__ is an open source project management tool that can be used to manage smaller and bigger projects. And it has no this nice function that it can access and share projects to and from a Webdav server. As it happens: :program:`Owncloud` (v.5.0.5) supports :program:`Webdav` as well. So I've used a couple of my precious minutes to check out how good and reliable this works (I had a project running anyway). We only need to configure the Webdav server within :program:`Ganttproject`. :program:`Owncloud` comes with :program:`Webdav` enabled (v.5.0.5 I'm writing about here). In addition you have several possibilities to tweak your :program:`Webdav` authentication and other key factors within :program:`Webdav` if you want to. Per default you just need to common credentials you're using anyway with your :program:`Owncloud` client to the instance. #. Start :program:`Ganttproject`. #. Go to :menuselection:`Edit/Settings`. #. Choose :samp:`WebDAV` and enter you credentials for the server connection and authentication. .. code:: bash ServerURL: `http://yoururltoyourserverinstance/files/webdav.php` User: Your owncloud user. Pass: Your owncloud password. This is basically the URL to the :file:`webdav.php` file on the webspace as you'd type it in the browser as well. There's a second way to configure the :program:`WebDAV` server in :program:`Ganttproject`. I'm not sure how and why they differ and how much they are actually identical. #. Go to :menuselection:`Project/Webserver/Open from Server`. #. In the opening window is a small link :menuselection:`configures servers` that will lead you to a different mask to configure the :program:`WebDAV` server. If the previous changes didn't have the desired effect, try to configure the server here instead. In my Linux installation and another windows installation this mask behaves a bit weird and unpredictable. But it's possible to enter the data somehow and to leave the dialog. #. Go to :menuselection:`Project/Webserver/Open from Server` again. That should this time load the configured :program:`WebDAV` server automatically and present you an overview from the filetree in your :program:`Owncloud` instance. Choose you :file:`*.gan` file to open the project. Whenever you know open a server the project in :program:`Ganttproject` the file will be loaded and saved to the Owncloud-Instance. One last note: I tried replacing the :program:`Owncloud` URL with the HTTPS URL instead in order to switch over to SSH. This doesn't seem to work. I can't access the files within the instance at that point. Unfortunately I couldn't quickly find a workaround. In the `Ganttproject Tracker `__ this issue has been committed already in 2011 and a kind of workaround being implemented, but I wasn't able to validate this one. That means: Probably are your credentials going in plain-text over the network.