helo nicolas,
sry 4 delay,
if haven't further investigated it, but simply 1.2 did not add
'target/generated-sources/gwt' to the classpath.
bg bernhard
nicolas de loof schrieb:
Thats a conveninent workaround
Can you please tell me what's wrong with 1.2 so that this get fixed ?
2009/9/8 bernhard s <[email protected] <mailto:[email protected]>>
thx nicolas for that hint.
1.2 SNAPSHOT did't work for me, but i have found the following
solution that seems to work fine.
i use the build-helper maven plugin, which inludes the folder
'target/generated-sources/gwt' into the class path.
and amazingly, also eclipse recognices the the new source folder.
so i think thats a fine solution, where i can seperate all files
nicly. *.properties fiels go to src/main/resources, and the
generated interfaces go to the target folder.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${basedir}/target/generated-sources/gwt</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
so again thx
bg, nebenmir
2009/9/7 nicolas de loof <[email protected]
<mailto:[email protected]>>
Such files will be generated into target/generated-sources/gwt
There is an issue on this with gwt-mavent-plugin 1.1 as this
folder was not declared as source folder - Please test with
1.2 SNAPSHOT
2009/9/7 bernhard s <[email protected]
<mailto:[email protected]>>
hello,
i just can#t get this work, so has anyone a step by step
example for me how i do create a constants interface with
gwt:i18n?
what i have tried so far is the following:
if have added this to my pom:
<configuration>
<inplace>true</inplace>
<runTarget>Tempo_Gwt.html</runTarget>
<i18nConstantsBundles>
<i18nConstantsBundle>com.foobar.i18n</i18nConstantsBundle>
</i18nConstantsBundles>
</configuration>
in the folder /src/main/java/com/foobar/ is a file called
i18n.properties
what i would expect to happen when i execute mvn gwt:i18n
is that an interface called 'i18n' is created in the
package 'com.foobar'
but that does not happen,
so please ... what is the right way to do that?
bg nebenmir
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email