Revision 32861
branches/v2_0_0_prep/extensions/org.gvsig.mkmvnproject/src/main/java/org/gvsig/mkmvnproject/MakeMavenProjectExtension.java | ||
---|---|---|
31 | 31 |
import org.slf4j.Logger; |
32 | 32 |
import org.slf4j.LoggerFactory; |
33 | 33 |
|
34 |
/** |
|
35 |
* Extension to launch the project creation from templates. |
|
36 |
* |
|
37 |
* @author gvSIG team |
|
38 |
* @version $Id$ |
|
39 |
*/ |
|
34 | 40 |
public class MakeMavenProjectExtension extends Extension { |
35 | 41 |
|
36 | 42 |
private static final String ANT_BUILD_FILE = "mkmvnproject.xml"; |
37 | 43 |
|
38 | 44 |
private static final String ANT_TARGET = "mkproject"; |
39 |
|
|
45 |
|
|
40 | 46 |
private static final Logger LOG = LoggerFactory |
41 | 47 |
.getLogger(MakeMavenProjectExtension.class); |
42 | 48 |
|
... | ... | |
56 | 62 |
ant.init(); |
57 | 63 |
ProjectHelper.getProjectHelper().parse(ant, file); |
58 | 64 |
|
59 |
LOG.info("Starting ant task with the file {} and the target {}", file, ANT_TARGET); |
|
65 |
LOG.info("Starting ant task with the file {} and the target {}", file, |
|
66 |
ANT_TARGET); |
|
60 | 67 |
ant.executeTarget(ANT_TARGET); |
61 | 68 |
} |
62 | 69 |
|
Also available in: Unified diff