code: private static void generateSchema(SQLiteDatabaseSchema schema) throws FileNotFoundException, IOException {
  		// when we run in JUNIT of Kripton, we don't have to generate schemas
  		// if (BindDataSourceSubProcessor.JUNIT_TEST_MODE)
  		// return;
  		if (!schema.generateSchema)
  			return;
  
  		// and now, write schema.create.v and schema.drop.v
  		String schemaCreation = defineFileName(schema);
  
  		String schemaLocation = KriptonOptions.getSchemaLocation();
  
  		File schemaCreatePath = new File(schemaLocation).getAbsoluteFile();
  		File schemaCreateFile = new File(schemaLocation, schemaCreation).getAbsoluteFile();
  		schemaCreatePath.mkdirs();
  
  		AnnotationProcessorUtilis.infoOnGeneratedFile(BindDataSource.class, schemaCreateFile);
  		FileOutputStream fos = new FileOutputStream(schemaCreateFile);
  		BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(fos));
  
  		bw.write("------------------------------------------------------------------------------------\n");
  		bw.write("--\n");
  		bw.write("-- Filename: " + schemaCreation + "\n");
  		bw.write("--\n");
  		bw.write(String.format("-- Date: %s", (new Date()).toString()) + "\n");
  		bw.write("--\n");
  		if (!BindDataSourceSubProcessor.JUNIT_TEST_MODE) {
  			bw.write(String.format("-- This file was generated by Kripton Annotation Processor v. %s\n",
  					Version.getVersion()));
  			bw.write(String.format("--\n"));
  		}
  		bw.write("------------------------------------------------------------------------------------\n");
  		bw.newLine();
  		for (String sql : schema.sqlForCreate) {
  			bw.write(sql);
  			bw.newLine();
  		}
  		bw.close();
  	}
docs: Generate schema.
  
  @param schema
  the schema
  @throws FileNotFoundException
  the file not found exception
  @throws IOException
  Signals that an I/O exception has occurred.