Hi,
I have downloaded the GXT 1.2 GWT Extension. I want to add
it to my existing GWT project. I have created my GWT project using the
command-line tools projectCreator & applicationCreator with the -
eclipse parameter.
This is what the GXT help file says,
"Add the following entry to you projects module xml file.
<inherits name='com.extjs.gxt.ui.GXT'/>
Add the following stylesheet to your host page.
<link rel="stylesheet" type="text/css" href="css/ext-all.css" />
Ext GWT requires no doctype or the following doctype (quirksmode).
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Eclipse Setup (should be similiar for other development enviornments)
These instructions assume you have a existing project and launch
confifuration.
1. Add gxt.jar to the project.
a. Right click on project name in 'Package Explorer'.
b. Select 'Properties' from content menu.
c. Select 'Java Build Path'.
d. Select 'Libraries' tab.
e. Add the gxt.jar either with 'Add JARs...' or 'Add External
JARs...'.
2. Add GXT jar to launch configuration.
a. Choose Run / Open Run Dialog.
b. Select your appropriate launch configuration under 'Java
Application'.
c. Select the 'Classpath' tab.
d. Add the gxt.jar to the classpath."
I did all this stuff in eclipse & it didn't help me run the app.
Then i tried manually editing the .classpath file by adding a new
classpath statement,
"<?xml version="1.0" encoding="utf-8" ?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="C:/Documents and Settings/
Administrator/Desktop/gwt-windows-1.5.3/gwt-user.jar"/>
<classpathentry kind="lib" path="C:/Documents and Settings/
Administrator/Desktop/gwt-windows-1.5.3/gwt-jxt.jar"/>
<classpathentry kind="lib" path="C:/Documents and Settings/
Administrator/Desktop/gwt-windows-1.5.3/gxt.jar"/> /* This is the 3rd
party jar i want to add */
<classpathentry kind="var" path="JUNIT_HOME/junit.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
"
Even this didn't work out guys. What is the problem ? I am wasting my
time figuring out how GWT responds to different configurations. Well
this is the error i get in the GWT development shell console -
"[ERROR] Unable to find 'com/extjs/gxt/ui/GXT.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?"
ANY help is very much appreciated !
Thanks!
Hazem
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---