Marc358 / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

problem to integrate gwt cal #146

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i add this two Lines in my projetct.gwt.xml

<inherits name='com.bradrydzewski.gwt.calendar.Calendar' />
<inherits name='com.bradrydzewski.gwt.calendar.theme.google.Google' />

when I run the command: maven install
i recived much errors:

Removing invalidated units
            [WARN] Compilation unit 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/allen_sauer/gwt/dnd/client/drop/DayViewResizeController.java' is removed due to invalid reference(s):
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/dayview/AppointmentWidget.java
            [WARN] Compilation unit 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/theme/google/client/GoogleDayViewStyleManager.java' is removed due to invalid reference(s):
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/dayview/AppointmentWidget.java
            [WARN] Compilation unit 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/dayview/DayView.java' is removed due to invalid reference(s):
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/dayview/AppointmentWidget.java
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/CalendarWidget.java
            [WARN] Compilation unit 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/CalendarView.java' is removed due to invalid reference(s):
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/CalendarWidget.java
            [WARN] Compilation unit 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/dayview/DayViewStyleManager.java' is removed due to invalid reference(s):
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/dayview/AppointmentWidget.java
            [WARN] Compilation unit 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/monthview/MonthView.java' is removed due to invalid reference(s):
               [WARN] jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/CalendarWidget.java
      Rebinding com.google.gwt.i18n.client.constants.DateTimeConstants
         Removing units with errors
            [ERROR] Errors in 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/InteractiveWidget.java'
               [ERROR] Line 21: The import com.google.gwt.event.dom.client.KeyCodes cannot be resolved
               [ERROR] Line 22: The import com.google.gwt.event.dom.client.KeyDownEvent cannot be resolved
               [ERROR] Line 23: The import com.google.gwt.event.dom.client.KeyDownHandler cannot be resolved
               [ERROR] Line 24: The import com.google.gwt.event.dom.client.KeyPressEvent cannot be resolved
               [ERROR] Line 25: The import com.google.gwt.event.dom.client.KeyPressHandler cannot be resolved
               [ERROR] Line 26: The import com.google.gwt.event.dom.client.KeyUpEvent cannot be resolved
               [ERROR] Line 27: The import com.google.gwt.event.dom.client.KeyUpHandler cannot be resolved
               [ERROR] Line 74: KeyPressHandler cannot be resolved to a type
               [ERROR] Line 83: KeyUpHandler cannot be resolved to a type
               [ERROR] Line 88: KeyDownHandler cannot be resolved to a type
               [ERROR] Line 217: KeyCodes cannot be resolved
               [ERROR] Line 221: KeyCodes cannot be resolved
               [ERROR] Line 225: KeyCodes cannot be resolved
               [ERROR] Line 229: KeyCodes cannot be resolved
               [ERROR] Line 233: KeyCodes cannot be resolved
            [ERROR] Errors in 'jar:file:/E:/maven/repository/net/sf/gwt-cal/gwt-cal/0.9.2/gwt-cal-0.9.2.jar!/com/bradrydzewski/gwt/calendar/client/Calendar.java'
               [ERROR] Line 25: The import com.google.gwt.user.client.ui.ProvidesResize cannot be resolved
               [ERROR] Line 26: The import com.google.gwt.user.client.ui.RequiresResize cannot be resolved
               [ERROR] Line 28: RequiresResize cannot be resolved to a type

Original issue reported on code.google.com by ahmed.km...@amdconsulting-tn.com on 20 Jan 2012 at 10:14

GoogleCodeExporter commented 8 years ago
I add gwt-cal-0.9.2.jar to my Maven Repository.

Original comment by ahmed.km...@amdconsulting-tn.com on 20 Jan 2012 at 10:39

GoogleCodeExporter commented 8 years ago
Please try with the latest 0.9.3 version. 

Also do you have the gwt-dnd library installed? which GWT version are you using?

Original comment by ctasada on 20 Jan 2012 at 5:03

GoogleCodeExporter commented 8 years ago

I do a GWT-EXT project
I use <gwtVersion>1.5.3</gwtVersion>
      <gwtext.version>2.0.5</gwtext.version>
Ok I will try to do that with 0.9.3 version.
Yes I added gwt-dnd library, I tried to add gwt-dnd version 2.5.6, 3.0.0 and 
3.2.1  
but I think that 2.5.6 is the best sollution 
Thanks for your help.

Original comment by ahmed.km...@amdconsulting-tn.com on 20 Jan 2012 at 5:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The same error occurs with 0.9.3 version.

Original comment by ahmed.km...@amdconsulting-tn.com on 20 Jan 2012 at 5:40

GoogleCodeExporter commented 8 years ago
I'm not sure about the compatibility of GWT-Cal with gwtExt, but you're using a 
really old GWT version. 

GWT-Cal 0.9.2 is compatible with GWT 2.0
GWT-Cal 0.9.3 is compatible with GWT 2.4

But you are using GWT 1.5.3, I would recommend you to upgrade it, if it's not 
causing problems with gwtExt.

Original comment by ctasada on 28 Jan 2012 at 11:46

GoogleCodeExporter commented 8 years ago
GWT version is not compatible with the gwt-cal version.

Original comment by ctasada on 18 Apr 2012 at 8:31