dsphinx / gwtquery-plugins

Automatically exported from code.google.com/p/gwtquery-plugins
0 stars 0 forks source link

javascript error in eclipse with debug mode and DragAndDropCellTree #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
"Child Index out of bounds" javascript error when trying to use debug mode in 
eclipse.  

So I started using gwtquery a while ago and finally decided to implement drag 
and drop for some new features our users wanted. 

Specifically, I'm dragging from a CellTree to a CellList.  

At first I couldn't get it to work correctly because I didn't have the 
companion jar file (gquery-dnd-bundle-1.0.5.jar).  

Now that I have the gquery-dnd-bundle-1.0.5.jar jar file this works smoothly in 
PROD mode.  However, debug mode is completely broken. 

Can anyone advise on how to setup Eclipse correctly so that I can debug again?  
It just so happens that this window w/ the drag and drop is the hub of the new 
set of features.  So, to get anywhere I need to go through this window. So 
basically, I'm near dead in the water as far as pace of development without 
debug mode until this gets figured out.  

Eclipse:  Indigo
jdk 1.6
GWT  2.4
mvp4g 1.4
gwtquery 1.2.0
gquery-dnd-bundle-1.0.5.jar
droppable-plugin-1.0.7.jar
droppable-plugin-1.0.6.jar
Google Plugin for Eclipse 3.7 3.0.1.v201206290132-rel-r37  - I installed this 
from download because the web install never works at my company.  

As far as the Eclipse debug configuration...
using "Web Application"
DevMode class
using JBOSS server
in the program arguments, I specify "-war" 
The classpath tab has the following:
-Bootstrap Entries (jdk reference)
-User Entries (has several project source folders)
-MyProject - The project with the startup module
in this it lists all of the jar files needed.  The gquery-dnd-bundle-1.0.5.jar 
is at the top of the list above the GWT SDK User Library

I've tried all sorts of ordering and exporting options but nothing seems to 
work.  Does anyone have any ideas?

I could change versions of eclipse and the GWT Eclipse plugin if that might 
help.  

Thanks in advance.  

Original issue reported on code.google.com by photog.m...@gmail.com on 15 Sep 2012 at 1:45

GoogleCodeExporter commented 8 years ago
oh... I realize that this is not an issue with the qwtquery plugins, but would 
probably be a good place to log a solution. 

https://groups.google.com/d/topic/gwtquery/0UxM9ZqFujY/discussion

Original comment by photog.m...@gmail.com on 15 Sep 2012 at 11:14

GoogleCodeExporter commented 8 years ago
Do you have still the problem ?

First remarks, if you include gquery-dnd-bundle-1.0.5.jar, you don't have to 
include droppable-plugin-1.0.7.jar
and droppable-plugin-1.0.6.jar. It is included in the bundle

Original comment by julien.d...@gmail.com on 6 Nov 2012 at 11:02