First bet is usually that you are using a different version of java on
the command line - try javac -version and compare it with what you are
using in eclipse.

On Apr 14, 8:14 pm, txciggy <rajiv.r...@gmail.com> wrote:
> Hi,
>
> I'm a newbie to command-line compiling. I have used Eclipse before to
> compile GWT projects without any problem. This is the first time I
> have had to deal with automating javac compiling and ant build using a
> Makefile. I am getting the following compiling error. I haven't found
> anything related on the forum yet.
>
> <snip>
> $ make
> .. building with ant
> Buildfile: build.xml
>
> libs:
>
> javac:
>     [javac] Compiling 58 source files to /home/rr208664/FabricMonitor/
> war/WEB-INF/classes
>     [javac] ----------
>     [javac] 1. ERROR in /home/rr208664/FabricMonitor/src/com/sun/
> fabricmonitor/client/chart/Chart.java (at line 22)
>     [javac]     public class Chart extends FlowPanel{
>     [javac]                                ^^^^^^^^^
>     [javac] The type Iterable is not generic; it cannot be
> parameterized with arguments <Widget>
>     [javac] ----------
>     [javac] 1 problem (1 error)
>
> BUILD FAILED
> /home/rr208664/FabricMonitor/build.xml:30: Compile failed; see the
> compiler error output for details.
>
> Total time: 2 seconds
> make: *** [gwt] Error 1
> $
> </snip>
>
> This project compiles without any problem in Eclipse. My Chart class
> is straightforward:
>
> =========
> public class Chart extends HorizontalPanel{
>
>         private SimplePlot plot;
>         .
>         .
>         .
>
>         public Chart() {
>
>               .......
>         }
>         .
>         .
>         .
>         .
>
>         public void setSampleRate(int rate) {
>               ....
>         }
>
>         public void setChartSize(int height, int width) {
>               ....
>         }
>
> }
>
> =========

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to