public void storeClasses() {
		if (destDir.endsWith(".jar") || destDir.endsWith(".zip")) {
			try {
				ZipOutputStream zip = new ZipOutputStream(new FileOutputStream(
						destDir));
				basePackage.storeClasses(zip);
				zip.close();
			} catch (IOException ex) {
				GlobalOptions.err.println("Can't write zip file: " + destDir);
				ex.printStackTrace(GlobalOptions.err);
			}
		} else {
			File directory = new File(destDir);
			if (!directory.exists()) {
				GlobalOptions.err.println("Destination directory "
						+ directory.getPath() + " doesn't exists.");
				return;
			}
			basePackage.storeClasses(new File(destDir));
		}
	}