From: Eric P. <ep...@op...> - 2008-12-30 16:03:27
|
Thanks for all the responses, I appreciate the advice. In digging a bit more into the /fs directory, I have to agree on the dangers! One of the challenges that I have is that we mount the exist database as webdav, and then make our edits. We change a JavaScript file here, a .xq file there, maybe add an image. And then we have a manual process of remembering to sync our changes back to Subversion. And while tools like BeyondCompare can help, it's still a pretty difficult process. Especially since the files served up through webdav are typically pretty printed. I am working on using some Ant tasks to merge changes made in eXist into my Subversion repo, which I'll share if it proves fruitful.... I am struggling with the content served up via WebDAV is always pretty printed. I changed in conf.xml the seriallizer tag to be indent="no", but that doesn't seem to impact what is served through webdav or the Java client. <serializer add-exist-id="none" compress-output="no" enable- xinclude="yes" enable-xsl="no" indent="no" match-tagging- attributes="no" match-tagging-elements="no"/> Eric On Dec 30, 2008, at 6:24 AM, Andrew Welch wrote: >> Here's what we do....we keep all our code (XQuery/XSLT) and data >> (config files, images, xml documents, etc.) in a >> separate directory structure, which is under SVN control and >> versioning. We have an Ant build script (build.xml) which >> uses eXist ant tasks to selectively deploy all the SVN versioned >> artefacts (code and data) directly to our eXist server >> instance, with a single command. > > I'm now approaching this problem myself - all xquery and xslt files > are stored in the database, but I really need to have them under > version control (svn). > > Is the above the "standard" approach? Any other techniques used by > anyone else? It seems reasonable enough, just checking to see how > others have tackled what must be a common problem... > > > -- > Andrew Welch > http://andrewjwelch.com > Kernow: http://kernowforsaxon.sf.net/ > > ------------------------------------------------------------------------------ > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open ----------------------------------------------------- Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com |