Hi all,
I can't get the default properties file generated !
I don't have -gen in my gwtc so I added it like this in build.xml :
<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="-gen"/>
<arg value="gen"/>
<arg value="com.rheanet.Profiles"/>
</java>
</target>
A "gen" directory get created with a lot of generated java stuff, but
not my properties file !
My XML looks like this :
<ui:UiBinder
xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
ui:defaultLocale="es"
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
ui:generateFormat="com.google.gwt.i18n.rebind.format.PropertiesFormat"
ui:generateFilename="PageTest"
ui:generateLocales="default"
>
<!-- StyleSheet -->
<ui:style>
.mainpanel {
border: solid 1px #000000;
}
</ui:style>
<!-- User Interface -->
<g:DockPanel styleName='{style.mainpanel}' width='97%' height='100%'>
<g:Dock direction='NORTH'>
<g:SimplePanel styleName='{style.mainpanel}' width='100%'
height='80px'>
<g:HTML><ui:msg key="testMessage">prueba de mensaje en español</
ui:msg></g:HTML>
</g:SimplePanel>
</g:Dock>
<g:Dock direction='CENTER'>
<g:SimplePanel styleName='{style.mainpanel}' width='100%'
height='100%'><g:HTML>x</g:HTML></g:SimplePanel>
</g:Dock>
<g:Dock direction='SOUTH'>
<g:SimplePanel styleName='{style.mainpanel}' width='100%'
height='30px'><g:HTML>x</g:HTML></g:SimplePanel>
</g:Dock>
</g:DockPanel>
</ui:UiBinder>
Compiles perfectly but no properties files...
I'm using 2.0 ms2
Has somebody suceeded in generated the defaultproperties files and
how ?
Thanks all
Arnaud