saiddfhi / gwt-maven

Automatically exported from code.google.com/p/gwt-maven
0 stars 0 forks source link

No console output #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The GWT compilation output is not displayed in the console when running the
plugin (either from a command line, or within Eclipse)

I use the gwt:compile goal (and the compilation succeeds.)

The pom plugin element: 

<plugin>
    <groupId>com.totsp.gwt</groupId>
    <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
    <version>2.0-beta24</version>
    <configuration>
        <gwtHome>${gwt.home}</gwtHome>
        <gwtVersion>${gwt.version}</gwtVersion>
        <output>${basedir}/src/main/webapp/gwt</output>
        <compileTargets>
               <value>MyModuleName</value>
        </compileTargets>
        <logLevel>INFO</logLevel>
        <runTarget>index.jsp</runTarget>
        <noServer>true</noServer>
        <extraJvmArgs>-Djava.awt.headless=true -Xmx512m</extraJvmArgs>
    </configuration>
    <executions>
        <execution>
            <id>compile</id>
            <phase>process-classes</phase>
            <goals>
                <goal>compile</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Original issue reported on code.google.com by gfiv...@gmail.com on 3 Oct 2008 at 2:11

GoogleCodeExporter commented 9 years ago
Actually the compiler output is shown on the console. How much you see though 
depends
on the logLevel you set.  You are using INFO, at that level, you probably only 
see
"Compiling module  . . . . " but that IS the compiler output.  If you want more 
info,
set the level. 

[INFO] [gwt:compile]
[INFO] establishing classpath list (buildClaspathList - scope = COMPILE)
[INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT 
dependencies
Compiling module com.totsp.sample.Application
Compilation succeeded
Linking compilation into
/opt/projects/gwt-maven/maven-googlewebtoolkit2-plugin/simplesample/target/maven
-gwt-sample-1.0-SNAPSHOT/com.totsp.sample.Application
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL

Original comment by charlie....@gmail.com on 7 Oct 2008 at 9:06

GoogleCodeExporter commented 9 years ago
Thanks. I thought INFO was the lowest level...I'll see what it looks like with 
other
levels.

Original comment by gfiv...@gmail.com on 7 Oct 2008 at 9:09