Hi,
I don't know where you found a "gwt.properties" file (I don't have
such a file), and I haven't heard about "gwt.compiler.args" so far...
But this is how it works for me:
If you compile it with ant, open your build.xml, locate the "gwtc"
target, and add the -compileReport option like this:
<target name="gwtc" depends="javac" description="GWT compile to
JavaScript">
<java failonerror="true" fork="true"
classname="com.google.gwt.dev.Compiler">
<classpath>
<pathelement location="src"/>
<path refid="project.class.path"/>
</classpath>
<!-- add jvmarg -Xss16M or similar if you see a
StackOverflowError -->
<jvmarg value="-Xmx256M"/>
<!-- Additional arguments like -style PRETTY or -logLevel DEBUG
-->
<arg value="-compileReport"/>
<arg value="com.google.gwt.sample.stockwatcher.StockWatcher"/>
</java>
</target>
If OTOH you compile it from Eclipse, just click on "Advanced" in the
dialog, and enter "-compileReport" in the "Additional compiler
arguments" text field. Netbeans: Probably similar, but I haven't tried
it.
HTH
Chris
On Jan 27, 8:04 pm, Fabiano <[email protected]> wrote:
> Hi,
> I'm studying Java and GWT and I'm currently developing a little GWT
> application. In order to get more detailed information I have tried
> the -compileReport
> option.http://code.google.com/intl/it-IT/webtoolkit/doc/latest/DevGuideCompi...
> I'm currently using Opensuse 11.1 and I have installed Netbeans 6.8,
> GWT4NB 2.6.14, GWT 2.0.0 (into userspace) with Glassfish 3 Domain. Ant
> is the default Netbeans 6.8's version: Ant 1.6.1
> The application compiles right, deploys fine and runs smoothly.
> I have tried adding to gwt.properties this line:
> gwt.compiler.args=-compilerReport
>
> and then(second try):
>
> gwt.compiler.args=-XsoycDetailed
>
> Simply nothing happens, no file is created, no report, anywhere,
> "locate" is not able to find it, and also "manual search" doesn't
> succeed to find anything.
> I have also tried adding the -extra flag:
>
> gwt.compiler.args=-compilerReport -extra mypath
>
> About the compilation log, I have recently noted few errors which
> doesn't prevent compilation (these errors are still present without
> report flag too):
>
> >run-display-browser:
> >run:
> >BUILD SUCCESSFUL (total time: 1 second)
> >Could not load class
> >(org.apache.tools.ant.taskdefs.repository.MavenRepository) for type
> >mavenrepository
> >Could not load class
> >(org.apache.tools.ant.taskdefs.repository.MavenRepository) for type
> >mavenrepository
>
> NOTE:I'm not using Maven.
> I think I have understood well Java and GWT but Ant is still Crystal
> Ball device.
> Suggestions are welcome.
> Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.