Skip to content

Commit

Permalink
Adding more log messages in the maven compiler plugin.
Browse files Browse the repository at this point in the history
see #504

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Oct 6, 2016
1 parent 761a1d6 commit d6b6cea
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
17 changes: 15 additions & 2 deletions eclipse-products/io.sarl.lang.updatesite/pom.xml
Expand Up @@ -77,12 +77,25 @@
</goals>
</execution>
<execution>
<id>restoring-default-product</id>
<id>restoring-default-product-on-verify</id>
<phase>verify</phase>
<configuration>
<target>
<property name="sarl.product.definition.file" value="${project.basedir}/io.sarl.lang.product"/>
<copy overwrite="true" file="${sarl.product.definition.file}.copy" tofile="${sarl.product.definition.file}"/>
<copy failonerror="false" quiet="true" overwrite="true" file="${sarl.product.definition.file}.copy" tofile="${sarl.product.definition.file}"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>restoring-default-product-on-clean</id>
<phase>clean</phase>
<configuration>
<target>
<property name="sarl.product.definition.file" value="${project.basedir}/io.sarl.lang.product"/>
<copy failonerror="false" quiet="true" overwrite="true" file="${sarl.product.definition.file}.copy" tofile="${sarl.product.definition.file}"/>
</target>
</configuration>
<goals>
Expand Down
Expand Up @@ -142,7 +142,7 @@ private void ensureSARLVersions() throws MojoExecutionException, MojoFailureExce
}

private void compileSARL() throws MojoExecutionException, MojoFailureException {
getLog().info(Locale.getString(CompileMojo.class, "COMPILING_SARL")); //$NON-NLS-1$
getLog().info(Locale.getString(CompileMojo.class, "COMPILING_SARL", getOutput())); //$NON-NLS-1$
// Get the Maven plugin that is embedding the Xtext compiler
final String xtextGroupId = this.mavenHelper.getConfig("xtext-compiler.groupId"); //$NON-NLS-1$
final String xtextArtifactId = this.mavenHelper.getConfig("xtext-compiler.artifactId"); //$NON-NLS-1$
Expand Down
@@ -1,6 +1,6 @@
CHECK_SARL_SDK = Checking if the SARL library is present, and is compliant with version {0}.
INCOMPATIBLE_VERSION_SHORT = Incompatible version {2} for the SARL library {0}:{1}.
INCOMPATIBLE_VERSION_LONG = Incompatible version {2} for the SARL library {0}:{1}.\nIt must be between {3} (inclusive) and {4} (exclusive).
COMPILING_SARL = Compiling SARL scripts to Java classes...
COMPILING_SARL = Compiling SARL scripts to Java classes. The generated Java files will be created in: {0}.
COMPILING_JAVA = Compiling Java classes...
NO_SARL_LIBRARY = SARL library not found in the project''s classpath: {0}

0 comments on commit d6b6cea

Please sign in to comment.