[opencms-dev] another manifest.xml question

Ruben Malchow ruben at khm.de
Tue Aug 8 13:47:24 CEST 2006


hello list,

ok, so i pretty much figured out that deleting files during the vfs 
import (i.e. while importing a <files/> section) is not really an 
option. whatever. but: i still need to compare two trees, the local one 
in the filesystem and the remote one in the vfs.

so, while doing recursions into directories, i might find myself in:

file://${WORKSPACE_LOC}/eclipse_project/vfs/sites/foo/bar

and find a missing folder there. obviously, i want to check it out from 
the remote side, let's say:

vfs://user:password@localhost/Offline/sites/foo/bar/test.jsp

i can now do an export on the remote side using CmsExport and include 
this file. but in the manifest, the paths are absolute, i.e. the 
corresponding file node (and the directory structure in the zip file) 
will look like this:

<file>
	<destination>vfs/sites/foo/bar/test.jsp</destination>	
	[...]
</file>

is there a way to tell CmsExport to do a "relative" export, i.e.:

<file>
	<destination>test.jsp</destination>	
	[...]
</file>

that is, pass it a base directory from which to work, like the import 
path for the other side, the CmsImport?


.rm









More information about the opencms-dev mailing list