On 27 Gen, 22:12, Chris Lercher <[email protected]> wrote:
> Hi,
>
Thanks for replying
> 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:
Netbeans provides configuration files in order to simplify build
configuration.build.xml is generated based on these configuration
properties
> If you compile it with ant, open your build.xml, locate the "gwtc"
> target, and add the -compileReport option like this:
I have decided to grasp into the build configs, and using your snipped
as reference I have found out thar the file
nbproject/build-swt.xml manages the creation of build xml related to
gwt:
Java->JavaScript conversion (GWT 2.0)
-->
<target name="do-gwt-compile-20" if="gwt.version.20"
unless="gwt.compile.unneeded">
<!-- You can override this property in the 'gwt.properties'
file -->
<property name="gwt.compiler.output.style" value="OBFUSCATED"/
>
<property name="gwt.compiler.logLevel" value="WARN"/>
<echo>GWT Compiling client-side code.</echo>
<java classpath="${javac.classpath}:${src.dir}:$
{build.classes.dir}" failonerror="true"
classname="com.google.gwt.dev.Compiler" fork="true"
jvmargs="${gwt.compiler.jvmargs}">
<arg value="-war"/>
<arg path="${build.web.dir}/"/>
<arg value="-style"/>
<arg value="${gwt.compiler.output.style}"/>
<arg value="-localWorkers"/>
<arg value="${gwt.compiler.local.workers}"/>
<arg value="-logLevel"/>
<arg value="${gwt.compiler.logLevel}"/>
<arg value="${gwt.module}"/>
<arg value="${gwt.compiler.args}"/> <!-- added
by me -->
</java>
</target>
I have heard other NB users have not this issue but I hope this
snipped could be useful for anyone here trying to solve this problem.
Adding the line, the gwt.compiler.args will be managed in the right
way nad by doing build .. the right build.xml is genertated.
... perhaps adding properties using the NB interface should have
worked in the same way.. but who knows.
> HTH
> Chris
>
> On Jan 27, 8:04 pm, Fabiano <[email protected]> wrote:
>
Thanks, you have helped a lot
It works right now.
Regards
--
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.