public void addContent(String path, File pContent) {
        if (pContent.isFile()) {
            if (pContent.getName().endsWith(EXT_XCS)) {
                addConfigurationSchemaFile(path);
            } else if (pContent.getName().endsWith(EXT_XCU)) {
                addConfigurationDataFile(path);
            } else if (pContent.getName().endsWith(EXT_RDB)) {
                addTypelibraryFile(path, "RDB");
            } else if (pContent.getName().equals("description.xml")) {
            	addDescription(path, Locale.getDefault());
            }
        } else if (pContent.isDirectory()) {
            // Recurse on the directory
            for (File child : pContent.listFiles()) {
                addContent(path + "/" + child.getName(), child );
            }
        } else {
            throw new IllegalArgumentException("pContent [" + pContent + "] does not exists");
        }
    }