google-code-export / tatami

Automatically exported from code.google.com/p/tatami
1 stars 1 forks source link

Compilation problems #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
GWT 1.4.60 + Windows2000 + eclipse

I try to use
 Clock clock = new Clock();
 RootPanel.get().add(clock, 490, 150);

I have:
 %~dp0/lib/tatami.jar into my compile and batch script
 <inherits name="com.objetdirect.tatami.Tatami"/> into my gwt.xml

but i have output errors:
Analyzing source in module 'XX.MyApplication'
   [ERROR] Errors in 'jar:file:/C:/data/XX/GwtTest/lib/tatami.jar!/com/
objetdirect/tatami/client/BasePicker.java'
      [ERROR] Line 94:  DateUtil cannot be resolved
      [ERROR] Line 117:  DateUtil cannot be resolved
      [ERROR] Line 151:  DateUtil cannot be resolved
   [ERROR] Errors in 'jar:file:/C:/data/XX/GwtTest/lib/tatami.jar!/com/
objetdirect/tatami/client/DatePicker.java'
      [ERROR] Line 68:  DateUtil cannot be resolved
      [ERROR] Line 69:  DateUtil cannot be resolved
   [ERROR] Errors in 'jar:file:/C:/data/XX/GwtTest/lib/tatami.jar!/com/
objetdirect/tatami/client/DropdownDatePicker.java'
      [ERROR] Line 37:  DropdownContainer cannot be resolved to a type
      [ERROR] Line 81:  The method getDojoWidget() is undefined for the
type Dro
pdownDatePicker
      [ERROR] Line 113:  DateUtil cannot be resolved
      [ERROR] Line 114:  The method setDate(Date) is undefined for the type
Drop
downDatePicker
Output will be written into 
.................

Can you help me please.

Regards.

Original issue reported on code.google.com by aquina...@gmail.com on 30 Oct 2007 at 9:59

GoogleCodeExporter commented 9 years ago
Ok, it seems that it's a problem of a classpath. 
I can't recreate your error :-( 

I created a new Eclipse project. I added the lib folder with the tatami.jar 
file. 

- This is my compile script : 

@java -cp
"%~dp0\lib\tatami.jar;%~dp0\src;%~dp0\bin;E:/TVZL8571/GWT/gwt-windows-1.4.60/gwt
-user.jar;E:/TVZL8571/GWT/gwt-windows-1.4.60/gwt-dev-windows.jar"
com.google.gwt.dev.GWTCompiler -out "%~dp0\www" %* myApplication.MyApplication

- This my module  : 

<module>
    <inherits name='com.objetdirect.tatami.Tatami'/>
    <entry-point class='myApplication.client.Main'/>
</module>

- And this is my EntryPoint : 

public void onModuleLoad() {
       Clock c = new Clock();
       RootPanel.get().add(c,10,10);
}

I run the compile script and it works correctly. 

Original comment by vgrass...@gmail.com on 30 Oct 2007 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by rdunk...@gmail.com on 11 Dec 2008 at 2:59