[opencms-dev] and yet another import/export question

Ruben Malchow ruben at khm.de
Tue Aug 8 16:33:08 CEST 2006


hello list,

just curious: why is it i can't do this (in 6.0):

String[] resourcesToExport = new String[] { "/sites/default/" };

CmsExport ce=new CmsExport(
	co,
	filename,
	resourcesToExport,
	true,
	true
);


it gives me an exception saying i tried to access a folder as a file. 
yes, it's a folder. but if export a file WITHIN that folder, it exports 
the folder just fine ... why can't i export the folder alone? it's not a 
big difference, or is it?

.rm



More information about the opencms-dev mailing list