I am very new to GWT and Java. I have just build my first application
with rpc and i can run it from the Netbeans IDE 5.5.
How do i create a war file which i can deploy (Sun Application Server,
or Tomcat)?
I know it must be the very basics... :-(
Many thanks,
Ali
I thought it could be solved with a double click or so.
Thanks for the reply.
I am getting more and more confused. :-S
Which folder should i compress? Has the Netbeans IDE already run that
compile script?
Here is the directory structure of the Netbeans project folder:
[ C:\Projects\GWTcalc\build\classes\GWTcalc\client ]
addition.class 1 KB
additionAsync.class 1 KB
gui$1.class 2 KB
gui$2.class 1 KB
gui$3.class 1 KB
gui$4.class 1 KB
gui$5.class 2 KB
gui.class 5 KB
Main.class 1 KB
[ C:\Projects\GWTcalc\build\classes\GWTcalc ]
Main.gwt.xml 1 KB
[ C:\Projects\GWTcalc\build\classes\GWTcalc\public ]
Main.html 1 KB
[ C:\Projects\GWTcalc\build\classes\GWTcalc\server ]
additionImpl.class 1 KB
[ C:\Projects\GWTcalc\build\www\GWTcalc.Main ]
6016743E132F36A50F07F2BFAA504415.cache.h 63 KB
6016743E132F36A50F07F2BFAA504415.cache.x 2 KB
9E6343AB5E94943D4A72DE8F1203738C.cache.h 63 KB
9E6343AB5E94943D4A72DE8F1203738C.cache.x 2 KB
B53D3E26E99AC6C01F3DB7F834548EDD.cache.h 63 KB
B53D3E26E99AC6C01F3DB7F834548EDD.cache.x 2 KB
D96A4E8681278DB21CB799E581960FE9.cache.h 63 KB
D96A4E8681278DB21CB799E581960FE9.cache.x 2 KB
gwt.js 17 KB
GWTcalc.Main.nocache.html 3 KB
history.html 1 KB
Main.html 1 KB
tree_closed.gif 1 KB
tree_open.gif 1 KB
tree_white.gif 1 KB
[ C:\Projects\GWTcalc ]
build.xml 4 KB
[ C:\Projects\GWTcalc\dist ]
GWTcalc.jar 13 KB
[ C:\Projects\GWTcalc\GWTcalc.Main ]
6016743E132F36A50F07F2BFAA504415.cache.h 63 KB
6016743E132F36A50F07F2BFAA504415.cache.x 2 KB
9E6343AB5E94943D4A72DE8F1203738C.cache.h 63 KB
9E6343AB5E94943D4A72DE8F1203738C.cache.x 2 KB
B53D3E26E99AC6C01F3DB7F834548EDD.cache.h 63 KB
B53D3E26E99AC6C01F3DB7F834548EDD.cache.x 2 KB
D96A4E8681278DB21CB799E581960FE9.cache.h 63 KB
D96A4E8681278DB21CB799E581960FE9.cache.x 2 KB
gwt.js 17 KB
GWTcalc.Main.nocache.html 3 KB
history.html 1 KB
Main.html 1 KB
tree_closed.gif 1 KB
tree_open.gif 1 KB
tree_white.gif 1 KB
[ C:\Projects\GWTcalc\nbproject ]
build-gwt.xml 1 KB
build-impl.xml 27 KB
genfiles.properties 1 KB
[ C:\Projects\GWTcalc\nbproject\private ]
private.properties 1 KB
private.xml 1 KB
[ C:\Projects\GWTcalc\nbproject ]
project.properties 2 KB
project.xml 1 KB
[ C:\Projects\GWTcalc\src\GWTcalc\client ]
addition.java 1 KB
additionAsync.java 1 KB
gui.java 5 KB
Main.java 1 KB
[ C:\Projects\GWTcalc\src\GWTcalc ]
Main.gwt.xml 1 KB
[ C:\Projects\GWTcalc\src\GWTcalc\public ]
Main.html 1 KB
[ C:\Projects\GWTcalc\src\GWTcalc\server ]
additionImpl.java 1 KB
[ C:\Projects\GWTcalc\tomcat\conf ]
web.xml 17 KB
[ C:\Projects\GWTcalc\tomcat\webapps\ROOT\WEB-INF ]
web.xml 1 KB
[ C:\Projects\GWTcalc\tomcat\work\gwt\localhost\_ ]
SESSIONS.ser 1 KB
tldCache.ser 1 KB
Many thanks in advance,
Ali
Thanks for the help.
Unfortunately i still can't deploy my application. When trying
http://localhost:8080/GWTcalc the browser opens the war file like it
was a directory. I will send the war file to you in e-mail.
Many thanks for the help. There were some missing classes but it was
easy to identify them with C:\Sun\AppServer\bin\verifier.bat. After
that i could deploy the application without any problem and it works
fine! :)
Thank you for your help!
Ali