I'm trying to write a simple Ant script to compile my GWT app. o far I
have this
<target name="compile">
<java classname="com.google.gwt.dev.GWTCompiler"
fork="true"
failonerror="true"
maxmemory="256m">
<arg value="-out" file="${basedir}/www"/>
<arg value="module" file="src/com.my.app.Module" />
<classpath>
<pathelement location="${gwthome}/gwt-user.jar"/>
<pathelement location="${gwthome}/gwt-dev-mac.jar"/>
<pathelement location="${basedir}/src"/>
<pathelement path="${java.class.path}"/>
</classpath>
</java>
</target>
I'm getting build error:
compile:
[java] Loading module '/Users/me/Documents/workspace/com.gwt/src/
com.my.app.Module'
[java] [ERROR] Invalid module name:
'/Users/me/Documents/workspace/com.gwt/src/com.my.app.Module'
[java] [ERROR] Build failed
All the build properties are correctly set.
Can anyone help?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---