THANK YOU :)
On Wed, Aug 27, 2008 at 10:32 PM, Renato Mangini <[EMAIL PROTECTED]> wrote:
>
> Kwame,
>
> Here is mine. It works perfectly.
>
> <target name="web.compile" depends="init">
> <java fork="true" maxmemory="256M"
> classname="com.google.gwt.dev.GWTCompiler">
> <classpath>
> <pathelement
> path="${src.dir}"></pathelement>
> <pathelement
> location="${GWT_HOME}/gwt-user.jar"></pathelement>
> <pathelement
> location="${GWT_HOME}/gwt-dev-linux.jar"></pathelement>
> </classpath>
> <arg value="-out"/><arg value="www"/>
> <arg value="com.mycompany.myapp"/>
> </java>
> </target>
>
>
> On 8/27/08, Kwame <[EMAIL PROTECTED]> wrote:
>>
>>
>> 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
-~----------~----~----~----~------~----~------~--~---