xuzhf / crmdipity

Automatically exported from code.google.com/p/crmdipity
0 stars 0 forks source link

GWTTestCase - Unable to find 'isomorphic.gwt.xml' on your classpath #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

As per -> http://forums.smartclient.com/showthread.php?t=13431

I get the following error when trying to run GWTTestCase's:

->

Starting HTTP on port 0
HTTP listening on port 50700
Starting 
http://192.168.190.128:50700/au.com.uptick.serendipity.Serendipity.JUnit/junit.h
tml?gwt.codesvr=192.168.190.128:50698 on browser FF3
[WARN] CSS error: null [485:24] Error in expression. Invalid token "=". Was 
expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, 
"inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, 
<LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, 
<TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, 
<FUNCTION>, <IDENT>.
[WARN] CSS error: null [485:29] Error in style rule. Invalid token "\n". Was 
expecting one of: "}", ";".
[WARN] CSS warning: null [485:29] Ignoring the following declarations in this 
rule.
[WARN] CSS error: null [518:24] Error in expression. Invalid token "=". Was 
expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, 
"inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, 
<LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, 
<TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, 
<FUNCTION>, <IDENT>.
[WARN] CSS error: null [518:29] Error in style rule. Invalid token "\n ". Was 
expecting one of: "}", ";".
[WARN] CSS warning: null [518:29] Ignoring the following declarations in this 
rule.
[WARN] CSS error: null [541:24] Error in expression. Invalid token "=". Was 
expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, 
"inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, 
<LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, 
<TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, 
<FUNCTION>, <IDENT>.
[WARN] CSS error: null [541:29] Error in style rule. Invalid token "\n ". Was 
expecting one of: "}", ";".
[WARN] CSS warning: null [541:29] Ignoring the following declarations in this 
rule.
[WARN] CSS error: null [951:24] Error in expression. Invalid token "=". Was 
expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, 
"inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, 
<LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, 
<TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, 
<FUNCTION>, <IDENT>.
[WARN] CSS error: null [951:29] Error in style rule. Invalid token "\n". Was 
expecting one of: "}", ";".
[WARN] CSS warning: null [951:29] Ignoring the following declarations in this 
rule.
[WARN] CSS error: null [977:24] Error in expression. Invalid token "=". Was 
expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, 
"inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, 
<LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, 
<TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, 
<FUNCTION>, <IDENT>.
[WARN] CSS error: null [977:29] Error in style rule. Invalid token "\n". Was 
expecting one of: "}", ";".
[WARN] CSS warning: null [977:29] Ignoring the following declarations in this 
rule.
[ERROR] Unable to find 'isomorphic.gwt.xml' on your classpath; could be a typo, 
or maybe you forgot to include a classpath entry for source?
The development shell servlet received a request for 
'skins/EnterpriseBlue/skin_styles.css' in module 'isomorphic.gwt.xml'
[ERROR] Unable to find 'isomorphic.gwt.xml' on your classpath; could be a typo, 
or maybe you forgot to include a classpath entry for source?
[WARN] CSS error: null [1:22] Error in style rule. Invalid token 
"skins/EnterpriseBlue/skin_styles.css\' in the public path of module 
\'isomorphic". Was expecting one of: <S>, <LBRACE>, <COMMA>, <PLUS>, <GREATER>, 
<IDENT>, "*", <HASH>, ".", "[", ":".
[WARN] CSS warning: null [1:22] Ignoring the following declarations in this 
rule.
Module au.com.uptick.serendipity.Serendipity.JUnit has been loaded
All clients connected (Limiting future permutations to: gecko1_8)
(AccountGWTTestCase.java:37) 2010-11-08 10:59:36,456 [DEBUG] 
Log.isDebugEnabled() == true

(AccountGWTTestCase.java:55) 2010-11-08 10:59:36,471 [DEBUG] testAccountDto()

(AccountGWTTestCase.java:49) 2010-11-08 10:59:36,472 [DEBUG] Duration: 0.0010 
seconds

->

Any update on this issue?

Cheers
Rob

Original issue reported on code.google.com by rob.ferg...@gtempaccount.com on 21 Nov 2010 at 8:24

GoogleCodeExporter commented 9 years ago
-> http://forums.smartclient.com/showpost.php?p=55251&postcount=17

I looked into this. The issue is that when running GWTTestCase, the test runner 
does not execute GWT linkers and we have a linker that sets the appropriate 
isomorphicDir variable. I've posted on the GWT forums and will create an issue 
for this in tracker.

As a workaround simply inherit the com.smartgwt.SmartGwtNoTheme module instead 
of com.smartgwt.SmartGwt.

Sanjiv

Original comment by rob.ferg...@gtempaccount.com on 21 Nov 2010 at 8:25

GoogleCodeExporter commented 9 years ago
Fixed Owner email address

Original comment by rob.ferg...@uptick.com.au on 26 Jul 2011 at 10:10