public void copyResourceToClassesOutput(String path, String filename) {
		String fullpath = path + ProcessorConstants.SEPARATORCHAR + filename;
		messager.printMessage(Diagnostic.Kind.MANDATORY_WARNING, " javascript copy js : " + fullpath + " to : class dir");
		try (Writer writer = getFileObjectWriterInClassOutput("", filename)) {
			bodyWriter.write(writer, OcelotProcessor.class.getResourceAsStream(fullpath));
		} catch (IOException ex) {
			messager.printMessage(Diagnostic.Kind.MANDATORY_WARNING, " FAILED TO CREATE : " + fullpath + " : " + ex.getMessage());
		}
	}
public void copyResourceToClassesOutput ( String path , String filename ) { String fullpath = path + ProcessorConstants . SEPARATORCHAR + filename ; messager . printMessage ( Diagnostic . Kind . MANDATORY_WARNING , " javascript copy js : " + fullpath + " to : class dir" ) ; try ( Writer writer = getFileObjectWriterInClassOutput ( "" , filename ) ) { bodyWriter . write ( writer , OcelotProcessor . class . getResourceAsStream ( fullpath ) ) ; } catch ( IOException ex ) { messager . printMessage ( Diagnostic . Kind . MANDATORY_WARNING , " FAILED TO CREATE : " + fullpath + " : " + ex . getMessage ( ) ) ; } }
Copy path/filename, from jar ocelot-processor in classes directory of current project/module
@param path
@param filename