Ok... I figured it out my self.
Here is the basic task for ant to create a CssResource:
<path id="resourceBundle.classpath">
<fileset dir="lib">
<include name="gwt-dev.jar" />
<include name="gwt-user.jar" />
</fileset>
</path>
<target name="createCssRsources">
<java
classname="com.google.gwt.resources.css.InterfaceGenerator">
<arg line="-standalone -typeName
com.packageName.ClassNameCssResource -css src/com/packageName/
inputFile.css" />
<classpath refid="resourceBundle.classpath" />
<redirector logError="true" output="
src/com/packageName/
ClassNameCssResource.java" />
</java>
</target>
With some tweaking this could be used to dynamically generate multiple
CssResource interfaces.
I would still like to see what other people have done to use the
i18nCreator tool in ant.
--
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.