I have transformed a java project (source file)by using Modisco and obtained a model of java, it's a file .xmi, conforms to Java metamodel java.ecore
and how to transform the file .xmi to java source file(M2T) using Acceleo?
As long as your xmi file can be opened as an EMF model (you can try through right-click > open with > sample reflective ecore editor : should open without errors), then you can feed it as the input of an Acceleo generation. "Launching an Acceleo generation" is described in the Getting Started guide.