Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Component/s: Build, Test, or Deploy Process
-
Labels:None
-
Environment:HideMy locale is fr.
appfuse-1.8-src.zip
windows XP
C:\...>ant -version
Apache Ant version 1.6.2 compiled on July 16 2004
C:\...>java -version
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
ShowMy locale is fr. appfuse-1.8-src.zip windows XP C:\...>ant -version Apache Ant version 1.6.2 compiled on July 16 2004 C:\...>java -version java version "1.5.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09) Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
Description
"ant test-canoo -Dtestcase=Login" Fail with error beacause of locale (need to force local to en for test-canoo):
C:\developpement\appfuse\appfuse-1.8-src\appfuse>ant test-canoo -Dtestcase=Login
Buildfile: build.xml
ping-tomcat:
[echo] Verifying that tomcat is running...
[get] Getting: http://localhost:8080/appfuse
init:
prepare:
[echo] Preparing target directory 'C:\developpement\appfuse\appfuse-1.8-src\appfuse/build/appfuse'
db-load:
[dbunit] Executing operation: CLEAN_INSERT
[dbunit] on file: C:\developpement\appfuse\appfuse-1.8-src\appfuse\metadata\sql\sample-data.xml
[dbunit] with format: xml
test-canoo:
[delete] Deleting: C:\developpement\appfuse\appfuse-1.8-src\appfuse\build\test\data\web-tests-result.xml
Login:
BUILD FAILED
C:\developpement\appfuse\appfuse-1.8-src\appfuse\build.xml:568: The following error occurred while executing this line:
Test step verifytitle (C:\developpement\appfuse\appfuse-1.8-src\appfuse\test\web\login.xml:3: ) named "we should see the login title" failed with mes
sage "Wrong document title found! Expected "AppFuse ~ Login" but got "AppFuse ~ Connexion""
Total time: 3 seconds
Can you confirm this issue still occurs with the CVS version. I believe it probably does, but want to make sure. Also, you might search the mailing list archives as one user pointed out how to force the local using a <sysproperty> tag in Ant.