fredsa / gwt-dnd

Library providing easy to use mouse or touch based drag-and-drop capabilities to GWT
42 stars 41 forks source link

How to make the Gwt-dnd.jar to be modified #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear sir,

    I want to add some dragcontroller into gwt-dnd, so I decompress this 
jar file and I use netbeans to create a new project,then import all the 
classes into this project and after that, I import this jar into my 
example project to use it, in the example project, I add   <inherits 
name='com.allen_sauer.gwt.dnd.gwt-dnd'/> in XX.gwt.xml. when I run the 
project. it has errors like this:
[ERROR] Errors in 'jar:file:/D:/KGwt-Cal/dist/KGwt-
Cal.jar!/com/allen_sauer/gwt/dnd/client/drop/DayViewResizeAppointmentContro
ller.java'
         [ERROR] Line 20: No source code is available for type 
com.allen_sauer.gwt.dnd.client.drop.AbsolutePositionDropController; did 
you forget to inherit a required module?
         [ERROR] Line 27: No source code is available for type 
com.allen_sauer.gwt.dnd.client.DragContext; did you forget to inherit a 
required module?
         [ERROR] Line 30: No source code is available for type 
com.allen_sauer.gwt.dnd.client.drop.AbsolutePositionDropController.Draggabl
e; did you forget to inherit a required module?

I don't know why? thank you very much

Original issue reported on code.google.com by bienvenueqin@gmail.com on 22 Apr 2010 at 3:50

Attachments:

GoogleCodeExporter commented 9 years ago
You may need to extract the jar file so that the GWT compiler can see the 
*source* files. Normally jars on the 
classpath only include *bytecode*.

Original comment by fredsa@google.com on 22 Apr 2010 at 5:39