PDA

View Full Version : I am unable to use extGWT 1.0


ratnam.alubelli
04-29-2008, 10:23 AM
Hi all,
I want to use the DatePicker which is available in extGWT1.0.For that i tried extGWT1.0

I am trying to use extGWT 1.0. I am unable to use it.I have added gxt.jar file to my project path, and also to the class path.

When i added <inherits name='com.extjs.gxt.ui.GXT'/> in xml file its throwing exception
Unexpected exception while processing element 'inherits'
java.lang.UnsupportedClassVersionError: Bad version number in .class file

Whwn i added <inherits name='com.extjs.gxt.GXT'/> in xml file its throwing exception

Unable to find 'com/extjs/gxt/GXT.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

In either case i am unable to use this DatePicker.Can anybody help me in this regard.Thanks in advance

Regards,
Ratnam

dardison
04-29-2008, 11:08 AM
Maybe this is because you are using Java 5.
Try to use Java 6 for compile instead.

I hope this help
Daniel

ratnam.alubelli
04-30-2008, 01:00 AM
Hi daniel,
Thanks for your reply.I have tried with the java 6.0.My problem is solved.

Thank you so much.

darrellmeyer
04-30-2008, 01:54 AM
Beta 1 was compiled with JDK 1.6. This has been changed to JDK 1.5 in beta 2.

ratnam.alubelli
04-30-2008, 05:12 AM
Hi all,
I want to make use of the beta2.Can any body help me the way to get the beta2 jar files and the setup requirements clearly?Thanks in advance.
Regards
Ratnam

gslender
04-30-2008, 06:12 AM
ratnam,

outline what you have (ie eclipse or what) and what aspects you are having issues with.

there isn't a userguide at the moment, so you need to explain what aspect you can't get working and maybe we can help

ie can you get any GWT stuff working at all? If so, what part of the setup.txt didn't work for you? if not, then follow the guides at google to get a basic GWT sample working - then let come back and let us know what parts you can't get Ext-GWT working ...

ratnam.alubelli
04-30-2008, 07:00 AM
Hi,
First of all let me thank you for your reply.
I am trying to make use of beta2 with gwt4.0 and java5.0 .Everything is ok.But when i am trying to create object for DatePicker its throwing exception that
Failed to create an instance of 'com.mantra.schedulecall.client.ScheduleCall' via deferred binding .
com.mantra.schedulecall.client.ScheduleCall is my entrypoint class.In that class i am trying to create object for date picker.

can you suggest me the way to fix it?
Regards
Ratnam

gslender
04-30-2008, 09:08 AM
provide a code snippet that fully works including the entrypoint

ratnam.alubelli
04-30-2008, 10:07 AM
Hi,
I am providing my code totally.Please go through it.

Onmoduleload () i am calling one method that will take care of whole design.I am redesigning the panel when the callme list box value is " no", I am redesigning the panel with datepicker.There i am getting that deferred binding exception.Please look into this .

package com.mantra.schedulecall.client;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Set;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ChangeListener;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.FormHandler;
import com.google.gwt.user.client.ui.FormPanel;
import com.google.gwt.user.client.ui.FormSubmitCompleteEvent;
import com.google.gwt.user.client.ui.FormSubmitEvent;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.Hidden;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.PushButton;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant;
import com.gwtext.client.widgets.DatePicker;
import com.mantra.schedulecall.client.customwidgets.MyHyperlink;
import com.mantra.schedulecall.client.customwidgets.MyImage;
import com.mantra.schedulecall.client.customwidgets.MyListBox;
import com.mantra.schedulecall.client.customwidgets.MyTextBox;

/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class ScheduleCall implements EntryPoint, ChangeListener, ClickListener {
private Button clickMeButton;
//Holds ScheduleCall object
public static ScheduleCall ScheduleCallObj = null;

//Holds ScheduleCall panel
public VerticalPanel ScheduleCallPanel = null;

//Holds vertical panel for suggestions
public VerticalPanel suggestionsPanel = null;

//Holds the html for the suggestions

public HTML suggestions_html = null;

//Holds the boolean value for callmenow
public boolean callmenow = true;
//Holds the flextable
public FlexTable scheduleCallFlexTable = null;

//Hold the title for this panel
public HTML title = null;

public String userIDsession = null;


public HTML useridLabel = null;

public MyTextBox userID = null;

public HTML phoneLabel = null;

public MyTextBox phone= null;

public HTML extensionLabel = null;

public MyListBox extension = null;

public HashMap extensionNames = null;

public HTML callMeNowLabel = null;

public MyListBox callmeNowList = null;

public HTML dateToCallLabel = null;

public DatePicker datepicker =null;

public HTML timeToCallLabel = null;

public HorizontalPanel timeToCallPanel = null;

public MyListBox hoursToCall = null;

public ArrayList hoursArray = null;

public MyListBox minsToCall = null;

public MyListBox AMPMToCall = null;


public PushButton submit = null;

public FormPanel form = null;
private ScheduleCall(){
init();
}
public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
displayScheduleCallPanel("");

}
public static ScheduleCall GetScheduleCallObj(){
if(ScheduleCallObj==null){
ScheduleCallObj = new ScheduleCall();
}
return ScheduleCallObj;
}

public void init(){

title = new HTML("&nbsp;&nbsp;Schedule Call");

suggestionsPanel = new VerticalPanel();
suggestions_html = new HTML("&nbsp;");

useridLabel = new HTML("<b>User ID: </b>");

userID = new MyTextBox();
userID.setMaxLength(40);
userID.setTitle("User ID");
userID.setName("clientid");
title.setStyleName("");

phoneLabel = new HTML("<b>Phone to call: </b>");

phone = new MyTextBox();
phone.setMaxLength(10);
phone.setTitle("Phone to call");
phone.setName("phoneno");

extensionLabel = new HTML("<b>Extension: </b>");

extension = new MyListBox();
//Window.alert("befor calling service");
ScheduleCallServer.Util.getInstance().getExtensionNames(new AsyncCallback(){

public void onFailure(Throwable caught) {
}
public void onSuccess(Object result) {
//Window.alert("on success");
extensionNames =(HashMap)result;
Set extensionNamesSet = extensionNames.keySet();
Iterator extensionNamesIterator = extensionNamesSet.iterator();
while(extensionNamesIterator.hasNext()){
String extensionNameToDisplay = (String)extensionNamesIterator.next();
System.out.println("Extension is "+extensionNameToDisplay);
String extNumber = (String) extensionNames.get(extensionNameToDisplay);
extension.addItem(extNumber+"-"+extensionNameToDisplay) ;
// options = options +"<option value=\""+extNumber+"\">"+extNumber+" - " + extensionNameToDisplay + "</option>" ;

}
}

});
//Window.alert("after calling service");
extension.addChangeListener(this);
extension.setTitle("Extesion");

callMeNowLabel = new HTML("<b>Call me now: </b>");

callmeNowList = new MyListBox();
callmeNowList.addItem("Yes");
callmeNowList.addItem("No");
callmeNowList.setTitle("Call me now");
callmeNowList.addChangeListener(this);

dateToCallLabel = new HTML("<b>Date to call: </b>");

datepicker = new DatePicker();

timeToCallLabel = new HTML("<b> Good time to call: </b>");

timeToCallPanel = new HorizontalPanel();

hoursArray = new ArrayList();
hoursArray.add("01");
hoursArray.add("02");
hoursArray.add("03");
hoursArray.add("04");
hoursArray.add("05");
hoursArray.add("06");
hoursArray.add("07");
hoursArray.add("08");
hoursArray.add("09");
hoursArray.add("10");
hoursArray.add("11");
hoursArray.add("12");

hoursToCall = new MyListBox();
Iterator iterator = hoursArray.iterator();
while(iterator.hasNext()){
hoursToCall.addItem((String)iterator.next());
}
hoursToCall.setName("hours");

minsToCall = new MyListBox();
minsToCall.addItem("00");
minsToCall.addItem("30");
minsToCall.setName("mins");

AMPMToCall = new MyListBox();
AMPMToCall.addItem("AM");
AMPMToCall.addItem("PM");
AMPMToCall.setName("AMPM");

timeToCallPanel.add(hoursToCall);
timeToCallPanel.add(minsToCall);
timeToCallPanel.add(AMPMToCall);

form = new FormPanel();
form.addFormHandler(new FormHandler(){

public void onSubmit(FormSubmitEvent event) {
System.out.println("submitted");
}

public void onSubmitComplete(FormSubmitCompleteEvent event) {
System.out.println("submit completed");
}

});

submit = new PushButton(new MyImage("submit.gif"));
submit.addClickListener(this);
submit.setSize("57px", "18px");
}
public void designSuggestionsPanel(){
FlexTable suggestiontable = new FlexTable();
suggestiontable.setStyleName("suggestiontable");
suggestiontable.setSize("90%", "90%");
int rowcount = 0;
int colcount = 0;
suggestions_html = new HTML("&nbsp;To receive a free call from us, please enter your name, telephone number.");
suggestiontable.setWidget(rowcount, colcount, suggestions_html);

suggestions_html = new HTML("&nbsp;You'll need an open phone line to receive this call. Calls to US and Canada are only supported at this time. ");
suggestiontable.setWidget(++rowcount, colcount, suggestions_html);

suggestions_html= new HTML("&nbsp;Our system will call you shortly and you will be then connected to one of our support staff.");
suggestiontable.setWidget(++rowcount, colcount, suggestions_html);

ScheduleCallPanel.add(title);
ScheduleCallPanel.setCellHorizontalAlignment(title, HasHorizontalAlignment.ALIGN_LEFT);
title.setStyleName("title");
ScheduleCallPanel.add(suggestiontable);
ScheduleCallPanel.add(new HTML("<br>"));
}
public void displayScheduleCallPanel(String message){
if(ScheduleCallPanel==null){
ScheduleCallPanel = new VerticalPanel();
ScheduleCallPanel.setSize("100%", "100%");
ScheduleCallPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
ScheduleCallPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_TOP);

}
if(callmenow){
designPanel(null);
}else{
designPanelWithDate(null);
}
RootPanel.get().add(ScheduleCallPanel);
}
public void displaySuccessPanel(String message){
if(ScheduleCallPanel==null){
ScheduleCallPanel = new VerticalPanel();
ScheduleCallPanel.setSize("100%", "100%");
ScheduleCallPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
ScheduleCallPanel.setVerticalAlignment(HasVerticalAlignment.ALIGN_TOP);

}
designSuccessPanel(message);
RootPanel.get().add(ScheduleCallPanel);
}
public void clear(){
userID.setText("");
phone.setText("");

}
public void designSuccessPanel(String message){
ScheduleCallPanel.clear();
scheduleCallFlexTable = new FlexTable();
scheduleCallFlexTable.setSize("80%", "90%");
scheduleCallFlexTable.setStyleName("datatable");
int flexTableRowCount = 0;
int flexTableColCount = 0;
HTML successhtml = new HTML(message);
MyHyperlink closeWindow = new MyHyperlink("Close Window","Close Window");
scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, successhtml);
scheduleCallFlexTable.setWidget(flexTableRowCount+1, flexTableColCount, closeWindow);

ScheduleCallPanel.add(scheduleCallFlexTable);
}
public void designPanelWithDate(HashMap details){
ScheduleCallPanel.clear();
designSuggestionsPanel();
scheduleCallFlexTable = new FlexTable();
scheduleCallFlexTable.setSize("80%", "90%");
scheduleCallFlexTable.setStyleName("datatable");
int flexTableRowCount = 0;
int flexTableColCount = 0;
scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, useridLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, userID);

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, phoneLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, phone);

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, extensionLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, extension);

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, dateToCallLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, datepicker);

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, timeToCallLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, timeToCallPanel);



scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount+1, submit);
alignFormPanelFields(flexTableRowCount);

AbsolutePanel panel = new AbsolutePanel();
Hidden callMe = new Hidden();
callMe.setName("callMe");
callMe.setValue(""+this.callmenow);
panel.add(scheduleCallFlexTable);
panel.add(callMe);

form.clear();
form.setWidget(panel);
form.setMethod(FormPanel.METHOD_POST);
form.setAction(GWT.getModuleBaseURL()+"/scheduleCall");

ScheduleCallPanel.add(form);

}

public void designPanel(HashMap details){
ScheduleCallPanel.clear();
designSuggestionsPanel();
scheduleCallFlexTable = new FlexTable();
scheduleCallFlexTable.setSize("60%", "80%");
scheduleCallFlexTable.setStyleName("datatable");

int flexTableRowCount = 0;
int flexTableColCount = 0;

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, useridLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, userID);

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, phoneLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, phone);

scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, extensionLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, extension);


scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount, callMeNowLabel);
scheduleCallFlexTable.setWidget(flexTableRowCount++, flexTableColCount+1, callmeNowList);


scheduleCallFlexTable.setWidget(flexTableRowCount, flexTableColCount+1, submit);

alignFormPanelFields(flexTableRowCount);


AbsolutePanel panel = new AbsolutePanel();
Hidden callMe = new Hidden();
callMe.setName("callMe");
callMe.setValue(""+this.callmenow);
panel.add(scheduleCallFlexTable);
panel.add(callMe);

form.clear();
form.setWidget(panel);
form.setMethod(FormPanel.METHOD_POST);
form.setAction(GWT.getModuleBaseURL()+"/scheduleCall");

ScheduleCallPanel.add(form);
ScheduleCallPanel.setCellHorizontalAlignment(scheduleCallFlexTable, HasHorizontalAlignment.ALIGN_CENTER);
}
public void alignFormPanelFields(int buttonplace){
for(int i=0; i< scheduleCallFlexTable.getRowCount(); i++){
HorizontalAlignmentConstant horizontalContant = HasHorizontalAlignment.ALIGN_LEFT;
for(int j=0; j<scheduleCallFlexTable.getCellCount(i); j++){
scheduleCallFlexTable.getCellFormatter().setWidth(i, j, "50%");
if(j==0){
horizontalContant = HasHorizontalAlignment.ALIGN_RIGHT;
} else{
horizontalContant = HasHorizontalAlignment.ALIGN_LEFT;
}
scheduleCallFlexTable.getCellFormatter().setAlignment(i, j, horizontalContant, HasVerticalAlignment.ALIGN_MIDDLE);
}
}
//scheduleCallFlexTable.getCellFormatter().setAlignment(buttonplace, 1, HasVerticalAlignment.ALIGN_MIDDLE);
}
public void onClick(Widget sender) {
if(sender.equals(submit)){
if(userID.getText().trim().length() <0 ){

}
System.out.println("date value"+ datepicker.getValue());
System.out.println("action"+form.getAction()+" widget"+" method"+form.getMethod());
form.submit();
ScheduleCallServer.Util.getInstance().reDirectWithSuccessMessge(new AsyncCallback(){

public void onFailure(Throwable caught) {
GWT.log("error",caught) ;
}
public void onSuccess(Object result) {
String message = (String)result;
if(message.indexOf("Thank you") != -1){
displaySuccessPanel(message);
}
}

});
}
}
public void onFocus(Widget sender) {
}

public void onLostFocus(Widget sender) {
}

public void onChange(Widget sender) {
if(sender.equals(callmeNowList)){
if(callmeNowList.getItemText(callmeNowList.getSelectedIndex()).equalsIgnoreCase("No")){
callmenow = false;
displayScheduleCallPanel("");
}
}else if(sender.equals(extension)){
// Window.alert(extension.getItemText(extension.getSelectedIndex()));
}
}

}

larvelljones
05-01-2008, 05:42 PM
Beta 1 was compiled with JDK 1.6. This has been changed to JDK 1.5 in beta 2.

I'm trying to use beta2. If I use jdk 1.5 I get:

ERROR] Line 29: Unexpected exception while processing element 'inherits'
java.lang.UnsupportedClassVersionError: Bad version number in .class file

If I use jdk 1.6:

Unable to load required native library 'gwt-ll'. Detailed error:
/Users/deuce/Downloads/gwt-mac-1.5-m2/libgwt-ll.jnilib: )

Your GWT installation may be corrupt
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load required native library 'gwt-ll'. Detailed error:
/Users/deuce/Downloads/gwt-mac-1.5-m2/libgwt-ll.jnilib: )

Your GWT installation may be corrupt
at com.google.gwt.dev.shell.LowLevel.init(LowLevel.java:107)
at com.google.gwt.dev.shell.mac.LowLevelSaf.init(LowLevelSaf.java:130)
at com.google.gwt.dev.BootStrapPlatform.init(BootStrapPlatform.java:34)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:372)

Any suggestions? TIA

darrellmeyer
05-04-2008, 11:43 PM
I use JDK 1.5 and beta2 on my mac with no problems. Try making sure you are using both the correct Ext GWT and GWT jars on both your project classpath and run config.

Your second set of errors seem to be a conflict between the JDK and the GWT code.

dardison
05-05-2008, 01:13 PM
Are you using GWT 1.5 M2?
If not that should be your problem. GXT use GWT 1.5, don't use GWT 1.4

I hope this help.
Daniel

larvelljones
05-06-2008, 09:39 AM
Are you using GWT 1.5 M2?
If not that should be your problem. GXT use GWT 1.5, don't use GWT 1.4

I hope this help.
Daniel

Ok. I'm a little confused about what versions of what are needed to use GXT 1.0 b2. Darrell says he uses JDK1.5 with GXT 1.0 b2, but doesn't that imply you have to use JDK1.6? I'm confused.. :-/

Can someone list out what versions of which libraries that will work with GWT 1.0 b2? The below experiment tells me I need JDK 1.6 with GWT 1.5-m2..

Thanks!


For some reason, I can't use JDK 1.5 with GWT 1.5 M2. Even when I just try to do an applicationCreator, I get this:

/tmp> $JAVA_HOME/bin/java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

/tmp> /Users/deuce/Downloads/gwt-mac-1.5-m2/applicationCreator
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)



But if I use JDK 1.6, I get:

/tmp> $JAVA_HOME/bin/java -version
java version "1.6.0_04-dp"
Java(TM) SE Runtime Environment (build 1.6.0_04-dp-b06-110)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_04-b12-45-optimized, mixed mode)

/tmp> /Users/deuce/Downloads/gwt-mac-1.5-m2/applicationCreator
Missing required argument 'className'
Google Web Toolkit 0.0.0
ApplicationCreator [-eclipse projectName] [-out dir] [-overwrite] [-ignore] className

where
-eclipse Creates a debug launch config for the named eclipse project
-out The directory to write output files into (defaults to current)
-overwrite Overwrite any existing files
-ignore Ignore any existing files; do not overwrite
and
className The fully-qualified name of the application class to create

larvelljones
05-06-2008, 09:47 AM
Actually, could someone post their pom.xml (maven2) or .classpath (eclipse) for a working project?

Thanks!

gslender
05-06-2008, 05:15 PM
I'm using JDK 1.6 b6

eclipse .classpath for a working GXT 1.0 b2 project
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/neodatis-odb.jar"/>
<classpathentry kind="lib" path="lib/xstream-1.2.2.jar"/>
<classpathentry kind="lib" path="lib/activation.jar"/>
<classpathentry kind="lib" path="lib/commons-email-1.1.jar"/>
<classpathentry kind="lib" path="lib/mail.jar"/>
<classpathentry kind="lib" path="lib/gxt.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/GWT_1_5"/>
<classpathentry kind="output" path="bin"/>
</classpath>

mjmsmith
05-06-2008, 05:37 PM
But if I use JDK 1.6, I get:

/tmp> $JAVA_HOME/bin/java -version
java version "1.6.0_04-dp"
Java(TM) SE Runtime Environment (build 1.6.0_04-dp-b06-110)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_04-b12-45-optimized, mixed mode)

/tmp> /Users/deuce/Downloads/gwt-mac-1.5-m2/applicationCreator
Missing required argument 'className'
Google Web Toolkit 0.0.0
ApplicationCreator [-eclipse projectName] [-out dir] [-overwrite] [-ignore] className


It definitely works for me with 1.5 on Leopard. This line in your output from 1.6 is odd too:

Google Web Toolkit 0.0.0

It should read:

Google Web Toolkit 0.0.2415

Have you tried reinstalling GWT? Do you have any older versions installed?

gslender
05-06-2008, 05:40 PM
Google Web Toolkit 0.0.0

This is just a build of GWT compiled from sources... mine is the same and works fine.

larvelljones
05-09-2008, 12:25 AM
It definitely works for me with 1.5 on Leopard. This line in your output from 1.6 is odd too:

Google Web Toolkit 0.0.0

It should read:

Google Web Toolkit 0.0.2415

Have you tried reinstalling GWT? Do you have any older versions installed?

Yes I did reinstall GWT 1.5-m2 (0.0.2415). Then invoked the project/application creators for a simple test application. I was able to execute the provided compile script *only* when I used jdk1.6. I was then able to execute the provided shell script *only* when I used jdk1.5.

This is pretty frustrating... :-/

larvelljones
05-09-2008, 10:14 PM
Ok. I finally got it working, but I had to recompile GWT 1.5-m2. If you look in the common.ant.xml file, it shows that the source and target jdk versions are 1.6.. So I'm still a little confused how people say that had it working with jdk1.5. Did folks have to recompile GWT as well? Well, all is well now. :)

adamcrow64
07-19-2008, 11:35 PM
I'm also frustrated.
We're using JDK1.5 for reasons of JBoss compatibility so I cannot compile under 1.6.
cannot find that gxt.xml with the inherit issue.

I'm using Ubuntu hardy.
I'll try and compile the GWT.