Make sure that DiscoveredEndpoint class is serializable.
If it is serializable then try following:
public interface AddEndpointsService extends RemoteService {
ArrayList<be.kdg.climatControl.model.endpoints.discovery.DiscoveredEndpoint>
getDiscoveredEndpoints();
}
i.e. try giving full path wherever you refer DiscoveredEndPoint.
Hope it will help you.
Mahavir
On Mon, Feb 23, 2009 at 8:09 PM, Iluna <[email protected]> wrote:
>
> Hi,
>
> I am having little trouble. I need to compile a Service where I use
> generics (instead of gwt.typearg) with ant.
> But ant says
>
> [ERROR] Line 79: No source code is available for type
> be.kdg.climatControl.model.endpoints.discovery.DiscoveredEndpoint; did
> you forget to inherit a required module?
>
> note: compiling normal return types like String works fine.
>
> SERVICE:
> ---------------
>
> public interface AddEndpointsService extends RemoteService {
>
> ArrayList<DiscoveredEndpoint> getDiscoveredEndpoints();
>
> }
>
> ANT:
> --------
>
> <target name="compile GWT" depends="init" description="compile the GWT
> code" >
> <mkdir dir="${www}"/>
>
> <java classname="com.google.gwt.dev.GWTCompiler" dir="$
> {basedir}"
> classpathref="classpath" fork="true" failonerror="true">
> <jvmarg value="-Xmx256M"/>
> <classpath>
> <pathelement path="${java.class.path}"/>
> <pathelement location="${src}"/>
> <pathelement location="${build}"/>
> <pathelement location="${webinf}/classes"/>
> </classpath>
> <arg value="-out"/>
> <arg value="${www}"/> <!-- output dir -->
> <arg value="${addEndpointsModule}"/> <!-- entryPoint
> class -->
> </java>
> </target>
>
> Could somebody help me with this?
>
> Thank you,
> Iluna
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---