Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cosmos-dev] COSMOS e2e testing on Linux 5.5


Shivvy,

Have you tried running any of the JUnits on Linux?  I would expect some problems running the org.eclipse.cosmos.rm.repository.tests on that platform, given the use of Windows path names in the tests.

David



"N, Shivashankari" <Shivashankari.N@xxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

01/18/2008 12:32 AM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>

To
"Cosmos Dev" <cosmos-dev@xxxxxxxxxxx>
cc
"Adivishnu, Kishore" <Kishore.Adivishnu@xxxxxx>
Subject
RE: [cosmos-dev] COSMOS e2e testing on Linux 5.5





Hubert
 
Yes, most of the script files are portable, however below batch file is not portable as it’s having windows path conventions.
 
[root@lod0127 cosmos-client]# cat cosmosClient.bat
java -cp lib\CosmosClient.jar;lib\broker-client.jar;lib\cosmos-common.jar;lib\domain-client.jar;lib\muse-complete-2.2.0.jar;lib\org.apache.xerces_2.8.0.v200704181622.jar;lib\org.apache.xml.resolver_1.1.0.v200702082200.jar;lib\org.eclipse.cosmos.dc.dataManager.client_1.0.0.jar;lib\org.eclipse.cosmos.dc.dataManager.common_1.0.0.jar;lib\org.eclipse.cosmos.dc.mdr.client_1.0.0.jar;lib\org.w3c.dom_1.3.3.v200704190547.jar org.eclipse.cosmos.dc.test.End2EndTest[root@lod0127 cosmos-client]#
 
QA has modified above one to work on linux as below:
 
[root@lod0127 cosmos-client]# cat cosmosClient.sh
java -classpath lib/CosmosClient.jar:lib/broker-client.jar:lib/cosmos-common.jar:lib/domain-client.jar:lib/muse-complete-2.2.0.jar:lib/org.apache.xerces_2.8.0.v200704181622.jar:lib/org.apache.xml.resolver_1.1.0.v200702082200.jar:lib/org.eclipse.cosmos.dc.dataManager.client_1.0.0.jar:lib/org.eclipse.cosmos.dc.dataManager.common_1.0.0.jar:lib/org.eclipse.cosmos.dc.mdr.client_1.0.0.jar:lib/org.w3c.dom_1.3.3.v200704190547.jar org.eclipse.cosmos.dc.test.End2EndTest

Regards
Shivashankari

Team Lead

India Technology Center

"If bugs were people then you would be China"




From: cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of Hubert H Leung
Sent:
Thursday, 17 January 2008 9:30 PM
To:
Cosmos Dev
Cc:
Adivishnu, Kishore
Subject:
Re: [cosmos-dev] COSMOS e2e testing on Linux 5.5

 

The script files are only for invoking Java programs, which are portable.  The scripts don't contain contain logic.  


If we need to support linux, we may want to package a .sh version of every script.  The contents of the .bat and .sh files are the same.  

_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382

David Whiteman <David_Whiteman@xxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

01/17/2008 09:33 AM


Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>


To
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>
cc
"Adivishnu, Kishore" <Kishore.Adivishnu@xxxxxx>
Subject
Re: [cosmos-dev] COSMOS e2e testing on Linux 5.5

 


   






Where possible, it would be cool to use Ant scripts instead of .bat or .sh, as they are 100% portable.


cosmos-dev-bounces@xxxxxxxxxxx wrote on 01/17/2008 06:28:24 AM:

> Limited e2e testing for cosmos i8 build (cosmos-demo-incubation-COSMOS-1.0.
> 0-200801161716) on Linux platform is complete.
> Test steps performed are similar to what was done for Windows platform. However, changes
> like converting .bat files into .sh files were done to make the files Linux compliant.
> There were no issues with the build on Linux platform too.

> Regards

> Shivashankari_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev


Back to the top