resourcen[3] = "/content/bodys/moduledemos/" + exportName + "/";
for(int i = 1;i < 4;i++) {
try {
cms.readFileHeader(resourcen[i]);
}
<BUG>catch(CmsException e) {
System.err.println("error exporting module: couldn't add " + resourcen[i] + " to Module\n" + Utils.getStackTrace(e));
resourcen[i] = resourcen[0];</BUG>
}
}

resourcen[3] = "/content/bodys/moduledemos/" + exportName + "/";
for(int i = 1;i < 4;i++) {
try {
cms.readFileHeader(resourcen[i]);
}
catch(CmsException e) {
if(A_OpenCms.isLogging() && I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING) {
A_OpenCms.log(I_CmsLogChannels.C_MODULE_DEBUG,
"error exporting module: couldn't add " + resourcen[i] + " to Module\n" + Utils.getStackTrace(e));
}
resourcen[i] = resourcen[0];
}
}
