You can subscribe to this list here.
2006 |
Jan
(3) |
Feb
(7) |
Mar
(4) |
Apr
(4) |
May
(2) |
Jun
(6) |
Jul
(3) |
Aug
(3) |
Sep
|
Oct
(4) |
Nov
|
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(3) |
Mar
(4) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(3) |
2008 |
Jan
(1) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(5) |
Jun
(8) |
Jul
(10) |
Aug
(7) |
Sep
(11) |
Oct
(10) |
Nov
(1) |
Dec
(33) |
2009 |
Jan
(8) |
Feb
(25) |
Mar
(20) |
Apr
(23) |
May
(43) |
Jun
(21) |
Jul
(32) |
Aug
(11) |
Sep
(3) |
Oct
|
Nov
|
Dec
(9) |
2010 |
Jan
(3) |
Feb
(3) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(4) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Lois Z B. <Har...@be...> - 2008-02-07 05:16:26
|
Here is the package deal we're running for this week Currently Practicing Doctors in the USA 788,949 in total * 17,819 emails Lots of Doctors in specialties like Orthopedics, Surgery, Radiology, Dermatology, Neurology, General Practice etc.. 16 different sortable fields Listing of American Pharma Companies 47,000 personal emails and names of decision makers Hospitals in the United States Full data for all the major positions in more than 7k facilities American Dentists Virtually every dentist in the United States with full contact details Contact List of US Chiropractors Complete data for all chiropractors in the US (a $250 value) Dramatic cost reduction: $391 for all 5 datasets email to: phi...@ho... valid thru Feb 8 |
From: Alta P S. <kx...@ya...> - 2008-02-01 13:22:40
|
Just Released: Listing of Dentists in the USA ++> 164,541 |>entists with City, State, Zip ++> 158,634 Mailing Addresses ++> 163,947 Telephone Numbers ++> 77,592 Facsimile Numbers ++> 45,750 Email Addys Only until Feb 1 the reduced price is $297 (reg $399) Please reply by email to nic...@ho... for more details send and email with 7238 in the sub for rapid expulsion from our records |
From: Lupe d. <0-m...@gp...> - 2008-01-14 21:02:22
|
Currently Practicing MDs in the United States 788,169 in total <> 17,280 emails Many popular specialties like Emergency Medicine, Plastic Surgery, OBGYN, Oncology, Pediatrics and more Sort by over a dozen different fields Reduced to only: $392 ***** Receive the items below as a Bon.US if you order this week ***** Contact List of American Pharma Companies 47,000 names and emails of the major positions Hospitals in the United States complete contact information for CEO's, CFO's, Directors and more - over 23,000 listings in total for more than 7,000 hospitals in the USA Dentists in America A complete Listing or dentists and related services (valued at $399) Chiropractors in the USA 100,000 Chiropractors in the USA (worth $250 alone) send us an email: fra...@ho... valid thru Jan 18 to ensure no further correspondence please send an email with 288 in the subject |
From: Nardini A. <ka...@ea...> - 2007-12-19 07:56:32
|
God dag, =09 Downloadabble Sofftware=20 http://www.geocities.com/xoqmymkwevw1tb/ =09 =09With his horse and i saw them stand there in lowvoiced coveted beauty and also his wife, chyavana, of a quarter of a mile from the station which was his message, reminding them that the leading idea to the practices of their order and ready to protect facial expressions, no eccentricities of speech. prancing and dancing and armswinging series of abounds, he has taken care to suppress the acts preservation and maintenance of the true reformed though able and possessed of resources, abstain. |
From: drub <cri...@ag...> - 2007-12-18 21:24:21
|
Special Package for this week Practicing MDs in the United States 788,753 in total * 17,245 emails Many different medical specialties Sort by over a dozen different fields American Pharmaceutical Company Contact List Names and email addresses of 47,000 employees in high-ranking positions American Hospitals complete contact information for CEO's, CFO's, Directors and more - over 23,000 listings in total for more than 7,000 hospitals in the USA US Dentist Contact List 597,000 dentists and dental services ( a $350 value!) US Chiropractor Listing 100,000 Chiropractors in the USA (worth $250 alone) Cost just slashed - $390 for everything email to: stu...@ho... good until Dec 21 |
From: mastic <lar...@ma...> - 2007-10-30 20:32:23
|
Certified Physicians in the US 788,451 in total 17,132 emails Many popular specialties like Emergency Medicine, Plastic Surgery, OBGYN, Oncology, Pediatrics and more Over a dozen sortable fields Price Just Lowered - $327 *** Get the data below as a gift when you order the MD list above *** Pharmaceutical Company Decision makers in the USA Personal email addresses (5000 in total) and names for execs Hospitals in the USA 23,000 Admins in more than 7,000 hospitals {a $399 value] Dentists in the USA More than half a million listings [worth $299 alone!] Directory of US Chiropractors 100,000 Chiropractors in the USA (worth $249 alone) send email to: cho...@ho... above offer valid until Nov 2 to manage your subscription settings send an email to the address above with 809 in the subject |
From: copperfield R. <la...@pe...> - 2007-10-15 17:11:14
|
Practicing Doctors in the USA 788,220 in total 17,020 emails Doctor in over 34 specialties Many unique fields like 'medical school attended' and 'location of residency training' Specially reduced price: $326 *** Recieve the data below completely free! when you buy the Doctor Contact List above *** Directory of American Pharma Companys execs 5,000 names and emails of the major players Directory of US Hospitals complete contact information for CEO's, CFO's, Directors and more - over 23,000 listings in total for more than 7,000 hospitals in the USA US Dentist Contact List A complete Directory or dentists and related services (valued at $299) Chiropractors in the USA More than 100,000 chiropractors practicing in the USA reply to: the...@ho... the above expires on Oct 19 to manage your subscription settings send an email to the address above with 725 in the subject |
From: <mu...@o2...> - 2007-09-22 09:28:13
|
Hello=20 Did=20you=20create=20ddsteps=20using=20Test=20Driven=20Development?=20 Definition=20from=20wikipedia.org:=20"Test-Driven=20Development=20(TDD)=20= is=20a=20software development=20technique=20that=20involves=20repeatedly=20first=20writing=20= a=20test=20case=20and then=20implementing=20only=20the=20code=20necessary=20to=20pass=20the=20t= est"=20 =20 Best=20regards=20 Przemek |
From: Manfred N. <Man...@au...> - 2007-08-17 15:49:04
|
Hi! =20 I would like to ask where i could find some help on the "ddsteps-context.properties" file, I am trying to set my db.schema for the sake of dbUnit but I cant seam to find any information on doing that? I am guessing it should be a in the above mentioned file?=20 =20 On before hand thanx for responses!=20 |
From: <kip...@ya...> - 2007-04-21 02:07:43
|
> ... but does anyone have suggestions/anecdotes in regards to dealing with several developers running tests semi-frequently and possibly simultaneously (e.g. creating a database for each developer, or locking the database while tests run)? yes, our team recently had to solve this problem as we have a environment in which developers have their own schemas, and there are also schema which are shared by everyone. our solution was to use placeholders in the Excel files. For example, we use ${MY.SCHEMA}.sometable to refer to schemas that are user specific; the placeholder is converted to, for example, hiverson.sometable at runtime. In cases where our unit tests create/read/update/delete data in shared tables, we use placeholders such as ${MY.UNIQUEID} in the sample data, where the placeholder is swapped with some unique string (e.g., a phone extension, email address, etc.). i can send you the code that i whipped up for this if you'd like. in a nutshell, it's a custom class that extends the base DDSteps class and makes use of the DbUnit API directly. the db username is is retrieved from the jdbc connection and used as the schema name. the unique id is retrieved from an external properties file. -clint ----- Original Message ---- From: Harlan Iverson <h.i...@gm...> To: dds...@li... Sent: Thursday, April 19, 2007 5:15:45 AM Subject: [ddsteps-user] Questions about DDSteps usage with a large project Hello, I am investigating test solutions and DDSteps seems impressive, and very promising for my project's needs. I am left with a few questions though: - Can a test case load and combine fixture datasets from multiple excel sheets (similar to DbUnit's CompositeDataSet)? The goal being the ability to have shared/common data. If not, roughly how much of an undertaking would it be to add such functionality? - Is loading XML Spreadsheets currently possible? If not, how much effort would be required for a basic implementation? The goal here is for test data to be stored as ASCII so that VCS diff/merge is possible. - This is somewhat DbUnit specific, but does anyone have suggestions/anecdotes in regards to dealing with several developers running tests semi-frequently and possibly simultaneously (e.g. creating a database for each developer, or locking the database while tests run)? Thanks for your time, Harlan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ ddsteps-user mailing list dds...@li... https://lists.sourceforge.net/lists/listinfo/ddsteps-user |
From: Harlan I. <h.i...@gm...> - 2007-04-18 21:15:47
|
Hello, I am investigating test solutions and DDSteps seems impressive, and very promising for my project's needs. I am left with a few questions though: - Can a test case load and combine fixture datasets from multiple excel sheets (similar to DbUnit's CompositeDataSet)? The goal being the ability to have shared/common data. If not, roughly how much of an undertaking would it be to add such functionality? - Is loading XML Spreadsheets currently possible? If not, how much effort would be required for a basic implementation? The goal here is for test data to be stored as ASCII so that VCS diff/merge is possible. - This is somewhat DbUnit specific, but does anyone have suggestions/anecdotes in regards to dealing with several developers running tests semi-frequently and possibly simultaneously (e.g. creating a database for each developer, or locking the database while tests run)? Thanks for your time, Harlan |
From: <kip...@ya...> - 2007-04-11 08:11:23
|
I found that it works fine with Eclipse 3.3M5. (Our team has been using 3.3M5 for awhile without any problems, btw.) -clint Bernadette Hurley <ber...@gm...> wrote: I tried the following work around to get ddsteps to work nicely in eclipse 32 as it did in 3.1 but it didn't work. Any other ideas Nice tool by the way.. I have used it in a couple of projects now. Thanks Bernadette Beta 1 Workaround for Eclipse 3.2 (and maybe IntelliJ IDEA?) Eclipse 3.2 would not show the DDSteps test in its JUnit view, since DDSteps does not run just one test per method as Eclipse 3.2 expects. Eclipse 3.1.x works great, it's just 3.2-rcX (I have rc7) that does not. So, the workaround is to put in a suite in the testcase. This puts DDSteps in control of creating the individual test. public class PetFTest extends PetclinicTestCase { public static Test suite() { return DDStepsSuiteFactory.createSuite(PetFTest.class ); } ... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ ddsteps-user mailing list dds...@li... https://lists.sourceforge.net/lists/listinfo/ddsteps-user |
From: Bernadette H. <ber...@gm...> - 2007-04-10 10:39:14
|
I tried the following work around to get ddsteps to work nicely in eclipse 32 as it did in 3.1 but it didn't work. Any other ideas Nice tool by the way.. I have used it in a couple of projects now. Thanks Bernadette Beta 1 *Workaround for Eclipse 3.2 (and maybe IntelliJ IDEA?)* Eclipse 3.2 would not show the DDSteps test in its JUnit view, since DDSteps does not run just one test per method as Eclipse 3.2 expects. Eclipse 3.1.xworks great, it's just 3.2-rcX (I have rc7) that does not. So, the workaround is to put in a suite in the testcase. This puts DDSteps in control of creating the individual test. public class PetFTest extends PetclinicTestCase { public static Test suite() { return DDStepsSuiteFactory.createSuite(PetFTest.class); } ... |
From: Adam S. <ada...@ja...> - 2007-03-07 08:02:14
|
I actually think it is hard-coded... But it's such a beautiful name - I don't see why anyone would want to change it ;-) But if you insist, why not put it into JIRA (jira.ddsteps.org) and we'll fix it eventually. Cheers /Adam On 3/7/07, kip...@ya... <kip...@ya...> wrote: > > Hello, > > Is it possible to configure DDSteps to use a placeholder properties file > that is named something other than ddsteps-placeholder.properties (e.g., > myfile.properties)? It looks like DDSteps is hard-coded to use this > filename... > > Thanks, > clint > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > ddsteps-user mailing list > dds...@li... > https://lists.sourceforge.net/lists/listinfo/ddsteps-user > > -- Adam Skogman, Senior Java EE Consultant Jayway AB Mobile: +46 701 469291 Office: +46 40 6023135 Web: www.jayway.se |
From: <kip...@ya...> - 2007-03-06 23:48:19
|
Hello,=0A=0AIs it possible to configure DDSteps to use a placeholder proper= ties file that is named something other than ddsteps-placeholder.properties= (e.g., myfile.properties)? It looks like DDSteps is hard-coded to use this= filename...=0A=0AThanks,=0Aclint=0A=0A |
From: asela s. <ase...@ya...> - 2007-03-05 05:04:30
|
Hi Adam,=0A=0AI'm impressed with the ddsteps features, and thax for the won= derful work, but as we want to inject objects to unit test code there is a = small limitation in ddsteps, so i have come up with a xml base file to add = objects as well as primitive data types to the unit test class. so if i can= send you the code you could publish as a new version of ddsteps. Please le= t me know your thoughts.=0A=0A=0ARegards,=0AAsela Senanayake.=0A=0A=0A =0A_= ___________________________________________________________________________= ________=0AIt's here! Your new message! =0AGet new email alerts with the f= ree Yahoo! Toolbar.=0Ahttp://tools.search.yahoo.com/toolbar/features/mail/ |
From: <kip...@ya...> - 2007-03-02 16:38:56
|
Hello,=0A=0AHopefully this is a really stupid question (meaning that there'= s a clear answer)...=0A=0AI'm planning to write several test cases that wil= l use DDSteps and it's built-in DbUnit functionality. The only test case ex= amples I've seen that demonstrate how to do this extend DDStepsSpringTestCa= se, which involves the use of a Spring application context. Convenience asi= de, my concern is that there's a lot of overhead involved in setting up and= tearing down a new app context for each of my many test classes.=0A=0AIs t= his a valid concern? Would it be more efficient for my to simply extend DDS= tepsTestCase (i.e., avoid a Spring context) and manually configure my Excel= DbUnitFixture?=0A=0AThanks!=0Aclint=0A=0A |
From: <kip...@ya...> - 2007-02-21 21:20:19
|
Problem solved. It turns out that another part of my application was includ= ing an ehcache.xml file in the classpath--this was causing problems for som= e reason.=0A=0A----- Original Message ----=0AFrom: Clint Harris <clinthharr= is...@ya...>=0ATo: dds...@li...=0ASent: Wednesday, F= ebruary 21, 2007 3:36:20 PM=0ASubject: [ddsteps-user] Fw: Request for Help:= Can't Instantiate CachingExcelDataLoader=0A=0AOops--I neglected to include= another part of the exception that might be helpful in solving the problem= :=0A=0A...=0ACaused by: net.sf.ehcache.CacheException: Cache org.ddsteps.da= taset.CachingDataSetLoader cannot be retrieved. Please check ehcache.xml=0A= at net.sf.ehcache.constructs.blocking.BlockingCache.<init>(Blocking= Cache.java:146)=0A at net.sf.ehcache.constructs.blocking.SelfPopulat= ingCache.<init>(SelfPopulatingCache.java:101)=0A at=0A org.ddsteps.d= ataset.CachingDataSetLoader.<init>(CachingDataSetLoader.java:161)=0A...=0A= =0A----- Original Message ----=0AFrom: Clint Harris <cli...@ya...= >=0ATo: dds...@li...=0ASent: Wednesday, February 21, = 2007 3:12:35 PM=0ASubject: Fw: Request for Help: Can't Instantiate CachingE= xcelDataLoader=0A=0AHi All,=0A=0AI'm trying to use DDStepsSpringTestCase an= d am receving the following compilation error:=0A=0A...=0ACaused by:=0A org= .springframework.beans.BeanInstantiationException: Could not instantiate be= an class [org.ddsteps.data.excel.CachingExcelDataLoader]: Constructor threw= exception; nested exception is org.ddsteps.DDStepsException: Could not cre= ate cache for DataSet:s.=0A=0ACaused by: org.ddsteps.DDStepsException: Coul= d not create cache for DataSet:s.=0A at org.ddsteps.dataset.CachingD= ataSetLoader.<init>(CachingDataSetLoader.java:163)=0A at=0A org.ddst= eps.dataset.support.DataSetLoaderFactory.getCachingPropertyPlaceholderExcel= DataSetLoader(DataSetLoaderFactory.java:103)=0A at=0A org.ddsteps.da= ta.support.DataLoaderFactory.getCachingExcelDataLoader(DataLoaderFactory.ja= va:49)=0A at=0A org.ddsteps.data.excel.CachingExcelDataLoader.getIns= tance(CachingExcelDataLoader.java:61)=0A at org.ddsteps.data.excel.C= achingExcelDataLoader.<init>(CachingExcelDataLoader.java:50)=0A at s= un.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)=0A...= =0A=0AThe CachingDataSetLoader constructor is as follows:=0A=0A public C= achingDataSetLoader(DataSetLoader dataSetLoader) {=0A =0A super();=0A= =0A Validate.notNull(dataSetLoader, "Argument loader must not be nul= l");=0A=0A // Data set loader=0A this.dataSetLoader =3D dataS= etLoader;=0A=0A // This will look up a singleton cache by name,=0A = // on only the SelfPopulatingCache object is ours.=0A try {=0A= cache =3D new SelfPopulatingCache(CACHE_NAME, new DataSetFactor= y());=0A } catch (CacheException e) {=0A throw new DDStep= sException("Could not create cache for DataSet:s.", e);=0A }=0A=0A = }=0A =0AI have confirmed that I have the correct versions of ehcache.j= ar and ehcache-constructs.jar (i.e., the right version of SelfPopulatingCac= he).=0A=0AAlso, my ddsteps-context.xml file is as follows:=0A=0A <bean i= d=3D"propertyConfigurer"=0A class=3D"org.springframework.beans.facto= ry.config.PropertyPlaceholderConfigurer">=0A <property name=3D"locat= ion" value=3D"classpath:/ddsteps-context.properties" />=0A </bean>=0A=0A= <!-- Data=0A Loader / Excel -->=0A=0A <bean id=3D"dataLoader" class= =3D"org.ddsteps.data.excel.CachingExcelDataLoader" />=0A=0A <bean id=3D"= fixtureLoader" class=3D"org.ddsteps.fixture.dbunit.ExcelDbUnitFixtureLoader= ">=0A <constructor-arg ref=3D"dbUnitConnectionFactory"></constructor= -arg>=0A <property name=3D"tableNames">=0A <value>USERS</= value>=0A </property>=0A </bean>=0A=0A <bean id=3D"dbUnitConne= ctionFactory"=0A class=3D"org.ddsteps.dbunit.StandardConnectionFactory">=0A= <constructor-arg ref=3D"dataSource" />=0A </bean>=0A=0A <bean= id=3D"dataSource" class=3D"org.springframework.jdbc.datasource.SingleConne= ctionDataSource">=0A <property name=3D"driverClassName" value=3D"${j= dbc.driverClassName}"=0A />=0A <property name=3D"url" value=3D"${jdb= c.url}" />=0A <property name=3D"username" value=3D"${jdbc.username}"= />=0A <property name=3D"password" value=3D"${jdbc.password}" />=0A = <property name=3D"suppressClose" value=3D"true" />=0A </bean>=0A= =0ADoes anyone have any ideas?=0A=0AMany thanks for your help!=0A=0A-clint= =0A=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A------------------------------------------= -------------------------------=0ATake Surveys. Earn Cash. Influence the Fu= ture of IT=0AJoin SourceForge.net's Techsay panel and you'll get the chance= to share your=0Aopinions on IT & business topics through brief surveys-and= earn cash=0Ahttp://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourcef= orge&CID=3DDEVDEV=0A_______________________________________________=0Addste= ps-user mailing list=0Ad...@li...=0Ahttps://lists.s= ourceforge.net/lists/listinfo/ddsteps-user=0A=0A=0A=0A=0A |
From: Clint H. <cli...@ya...> - 2007-02-21 20:36:27
|
Oops--I neglected to include another part of the exception that might be he= lpful in solving the problem:=0A=0A...=0ACaused by: net.sf.ehcache.CacheExc= eption: Cache org.ddsteps.dataset.CachingDataSetLoader cannot be retrieved.= Please check ehcache.xml=0A at net.sf.ehcache.constructs.blocking.B= lockingCache.<init>(BlockingCache.java:146)=0A at net.sf.ehcache.con= structs.blocking.SelfPopulatingCache.<init>(SelfPopulatingCache.java:101)= =0A at org.ddsteps.dataset.CachingDataSetLoader.<init>(CachingDataSe= tLoader.java:161)=0A...=0A=0A----- Original Message ----=0AFrom: Clint Harr= is <cli...@ya...>=0ATo: dds...@li...=0ASent= : Wednesday, February 21, 2007 3:12:35 PM=0ASubject: Fw: Request for Help: = Can't Instantiate CachingExcelDataLoader=0A=0AHi All,=0A=0AI'm trying to us= e DDStepsSpringTestCase and am receving the following compilation error:=0A= =0A...=0ACaused by: org.springframework.beans.BeanInstantiationException: C= ould not instantiate bean class [org.ddsteps.data.excel.CachingExcelDataLoa= der]: Constructor threw exception; nested exception is org.ddsteps.DDStepsE= xception: Could not create cache for DataSet:s.=0A=0ACaused by: org.ddsteps= .DDStepsException: Could not create cache for DataSet:s.=0A at org.d= dsteps.dataset.CachingDataSetLoader.<init>(CachingDataSetLoader.java:163)= =0A at org.ddsteps.dataset.support.DataSetLoaderFactory.getCachingPr= opertyPlaceholderExcelDataSetLoader(DataSetLoaderFactory.java:103)=0A = at=0A org.ddsteps.data.support.DataLoaderFactory.getCachingExcelDataLoade= r(DataLoaderFactory.java:49)=0A at=0A org.ddsteps.data.excel.Caching= ExcelDataLoader.getInstance(CachingExcelDataLoader.java:61)=0A at or= g.ddsteps.data.excel.CachingExcelDataLoader.<init>(CachingExcelDataLoader.j= ava:50)=0A at sun.reflect.NativeConstructorAccessorImpl.newInstance0= (Native Method)=0A...=0A=0AThe CachingDataSetLoader constructor is as follo= ws:=0A=0A public CachingDataSetLoader(DataSetLoader dataSetLoader) {=0A = =0A super();=0A=0A Validate.notNull(dataSetLoader, "Argument l= oader must not be null");=0A=0A // Data set loader=0A this.da= taSetLoader =3D dataSetLoader;=0A=0A // This will look up a singleto= n cache by name,=0A // on only the SelfPopulatingCache object is our= s.=0A try {=0A cache =3D new SelfPopulatingCache(CACHE_NA= ME, new DataSetFactory());=0A } catch (CacheException e) {=0A = throw new DDStepsException("Could not create cache for DataSet:s.", e)= ;=0A }=0A=0A }=0A =0AI have confirmed that I have the correct = versions of ehcache.jar and ehcache-constructs.jar (i.e., the right version= of SelfPopulatingCache).=0A=0AAlso, my ddsteps-context.xml file is as foll= ows:=0A=0A <bean id=3D"propertyConfigurer"=0A class=3D"org.spring= framework.beans.factory.config.PropertyPlaceholderConfigurer">=0A <p= roperty name=3D"location" value=3D"classpath:/ddsteps-context.properties" /= >=0A </bean>=0A=0A <!-- Data=0A Loader / Excel -->=0A=0A <bean id= =3D"dataLoader" class=3D"org.ddsteps.data.excel.CachingExcelDataLoader" />= =0A=0A <bean id=3D"fixtureLoader" class=3D"org.ddsteps.fixture.dbunit.Ex= celDbUnitFixtureLoader">=0A <constructor-arg ref=3D"dbUnitConnection= Factory"></constructor-arg>=0A <property name=3D"tableNames">=0A = <value>USERS</value>=0A </property>=0A </bean>=0A=0A <= bean id=3D"dbUnitConnectionFactory"=0A class=3D"org.ddsteps.dbunit.Standard= ConnectionFactory">=0A <constructor-arg ref=3D"dataSource" />=0A = </bean>=0A=0A <bean id=3D"dataSource" class=3D"org.springframework.jdbc.= datasource.SingleConnectionDataSource">=0A <property name=3D"driverC= lassName" value=3D"${jdbc.driverClassName}"=0A />=0A <property name= =3D"url" value=3D"${jdbc.url}" />=0A <property name=3D"username" val= ue=3D"${jdbc.username}" />=0A <property name=3D"password" value=3D"$= {jdbc.password}" />=0A <property name=3D"suppressClose" value=3D"tru= e" />=0A </bean>=0A=0ADoes anyone have any ideas?=0A=0AMany thanks for y= our help!=0A=0A-clint=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A |
From: Clint H. <cli...@ya...> - 2007-02-21 20:12:57
|
Hi All,=0A=0AI'm trying to use DDStepsSpringTestCase and am receving the fo= llowing compilation error:=0A=0A...=0ACaused by: org.springframework.beans.= BeanInstantiationException: Could not instantiate bean class [org.ddsteps.d= ata.excel.CachingExcelDataLoader]: Constructor threw exception; nested exce= ption is org.ddsteps.DDStepsException: Could not create cache for DataSet:s= .=0A=0ACaused by: org.ddsteps.DDStepsException: Could not create cache for = DataSet:s.=0A at org.ddsteps.dataset.CachingDataSetLoader.<init>(Cac= hingDataSetLoader.java:163)=0A at org.ddsteps.dataset.support.DataSe= tLoaderFactory.getCachingPropertyPlaceholderExcelDataSetLoader(DataSetLoade= rFactory.java:103)=0A at org.ddsteps.data.support.DataLoaderFactory.= getCachingExcelDataLoader(DataLoaderFactory.java:49)=0A at=0A org.dd= steps.data.excel.CachingExcelDataLoader.getInstance(CachingExcelDataLoader.= java:61)=0A at org.ddsteps.data.excel.CachingExcelDataLoader.<init>(= CachingExcelDataLoader.java:50)=0A at sun.reflect.NativeConstructorA= ccessorImpl.newInstance0(Native Method)=0A...=0A=0AThe CachingDataSetLoader= constructor is as follows:=0A=0A public CachingDataSetLoader(DataSetLoa= der dataSetLoader) {=0A =0A super();=0A=0A Validate.notNull(da= taSetLoader, "Argument loader must not be null");=0A=0A // Data set = loader=0A this.dataSetLoader =3D dataSetLoader;=0A=0A // This= will look up a singleton cache by name,=0A // on only the SelfPopul= atingCache object is ours.=0A try {=0A cache =3D new Self= PopulatingCache(CACHE_NAME, new DataSetFactory());=0A } catch (Cache= Exception e) {=0A throw new DDStepsException("Could not create c= ache for DataSet:s.", e);=0A }=0A=0A }=0A =0AI have confirmed = that I have the correct versions of ehcache.jar and ehcache-constructs.jar = (i.e., the right version of SelfPopulatingCache).=0A=0AAlso, my ddsteps-con= text.xml file is as follows:=0A=0A <bean id=3D"propertyConfigurer"=0A = class=3D"org.springframework.beans.factory.config.PropertyPlaceholderC= onfigurer">=0A <property name=3D"location" value=3D"classpath:/ddste= ps-context.properties" />=0A </bean>=0A=0A <!-- Data=0A Loader / Exce= l -->=0A=0A <bean id=3D"dataLoader" class=3D"org.ddsteps.data.excel.Cach= ingExcelDataLoader" />=0A=0A <bean id=3D"fixtureLoader" class=3D"org.dds= teps.fixture.dbunit.ExcelDbUnitFixtureLoader">=0A <constructor-arg r= ef=3D"dbUnitConnectionFactory"></constructor-arg>=0A <property name= =3D"tableNames">=0A <value>USERS</value>=0A </property>= =0A </bean>=0A=0A <bean id=3D"dbUnitConnectionFactory"=0A class=3D"or= g.ddsteps.dbunit.StandardConnectionFactory">=0A <constructor-arg ref= =3D"dataSource" />=0A </bean>=0A=0A <bean id=3D"dataSource" class=3D"= org.springframework.jdbc.datasource.SingleConnectionDataSource">=0A = <property name=3D"driverClassName" value=3D"${jdbc.driverClassName}"=0A />= =0A <property name=3D"url" value=3D"${jdbc.url}" />=0A <prope= rty name=3D"username" value=3D"${jdbc.username}" />=0A <property nam= e=3D"password" value=3D"${jdbc.password}" />=0A <property name=3D"su= ppressClose" value=3D"true" />=0A </bean>=0A=0ADoes anyone have any idea= s?=0A=0AMany thanks for your help!=0A=0A-clint=0A=0A=0A=0A=0A=0A |
From: <bjo...@ja...> - 2006-12-28 18:10:22
|
Hi Saad, Thanks for providing such a good error report. Possibly you already have been provided with an answer - in that case =20= please disregard this reply. Right now our lead on DDSteps is away. He just turned father :-) Could you please create an issue in Jira with the information below? We'll get to it as soon as possible. Thanks again for your help, Bj=F6rn 28 dec 2006 kl. 18.12 skrev Saa...@Co...: > Hi > > ddsteps version 1.1.1-beta2 > > An excel date comes back as one day previous in java.util.Date in =20 > my application. > According to the jxl faq its due to a GMT TimeZone used by jxl and =20 > local TimeZone > used by the application ref=3Dhttp://www.andykhan.com/jexcelapi/=20 > tutorial.html#dates. > There is no fix provided by jxl since its upto the client app to =20 > handle the date without > the GMT timezone. In an effort to get my unit test to work I digged =20= > a little further > in ddsteps code to get the correct date. > > I made the change at org.ddsteps.dataset.excel.getValue() line # =20 > 102. with the following code. > > ... > DateCell dateCell =3D (DateCell) cell; > String pattern =3D ((SimpleDateFormat)dateCell.getDateFormat=20 > ()).toPattern(); > SimpleDateFormat sdf =3D new SimpleDateFormat(pattern); > Date date=3Dnull; > try { > date =3D sdf.parse(dateCell.getContents()); > } catch (ParseException e) { > throw new RuntimeException(); > } > > return date; > ... > > Since I dont know if this is the right place and/or prefered type =20 > of fix. > How and when can I get a fix for ddsteps for this problem? Do I =20 > need to create an issue in jira? > > Thanks > Saad. > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Confidentiality Notice: The information contained in and =20 > transmitted with this communication is strictly confidential, is =20 > intended only for the use of the intended recipient, and is the =20 > property of Countrywide Financial Corporation or its affiliates and =20= > subsidiaries. If you are not the intended recipient, you are =20 > hereby notified that any use of the information contained in or =20 > transmitted with the communication or dissemination, distribution, =20 > or copying of this communication is strictly prohibited by law. If =20= > you have received this communication in error, please immediately =20 > return this communication to the sender and delete the original =20 > message and any copy of it in your possession. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > ddsteps-user mailing list > dds...@li... > https://lists.sourceforge.net/lists/listinfo/ddsteps-user |
From: <Saa...@Co...> - 2006-12-28 17:58:09
|
<html><head><META HTTP-EQUIV=3D"Cache-control" CONTENT=3D"no-cache"><META = HTTP-EQUIV=3D"Pragma" CONTENT=3D"no-cache"></head><body = bgcolor=3D"white"><FONT face=3Dverdana size=3D2> <P><FONT face=3Dverdana size=3D2>Hi Bj rn</FONT></P> <P><FONT face=3Dverdana size=3D2> Created a jira bug can be seen @ <A = href=3D"http://jira.ddsteps.org/browse/DDS-50">http://jira.ddsteps.org/brow= se/DDS-50</A></FONT></P> <P> and congratulation to Adam.</P> <P>Thanks<BR>Saad</P> <P><FONT face=3Dverdana size=3D2><B><I>"Bj rn Granvik" = <bjo...@ja...></I></B> wrote:=20 <BLOCKQUOTE style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: blue= = 2px solid"> <TABLE border=3D0> <TBODY> <TR> <TD width=3D60><FONT face=3Dverdana size=3D2>Date:</FONT></TD> <TD><FONT face=3Dverdana size=3D2>12/28/2006 09:39:31 AM</FONT></TD></TR> <TR> <TD><FONT face=3Dverdana size=3D2>From:</FONT></TD> <TD><FONT face=3Dverdana size=3D2>"Bj rn Granvik" = <bjo...@ja...></FONT></TD></TR> <TR> <TD><FONT face=3Dverdana size=3D2>To:</FONT></TD> <TD><FONT face=3Dverdana = size=3D2>Saa...@Co... </FONT></TD></TR> <TR> <TD><FONT face=3Dverdana size=3D2>cc:</FONT></TD> <TD><FONT face=3Dverdana = size=3D2>dds...@li... </FONT></TD></TR> <TR> <TD><FONT face=3Dverdana size=3D2>Subject:</FONT></TD> <TD><FONT face=3Dverdana size=3D2>Re: [ddsteps-user] Converting from Excel = Date to java.util.Date </FONT></TD></TR></TBODY></TABLE>Hi = Saad,<BR><BR>Thanks for providing such a good error report.<BR>Possibly you= = already have been provided with an answer - in that case<BR>please disregar= d= this reply.<BR><BR>Right now our lead on DDSteps is away. He just turned = =66ather :-)<BR><BR>Could you please create an issue in Jira with the = information below=3F<BR>We'll get to it as soon as possible.<BR><BR>Thanks = again for your help,<BR>Bj rn<BR><BR><BR><BR>28 dec 2006 kl. 18.12 skrev = Saa...@Co...:<BR><BR>> Hi<BR>><BR>> ddsteps versio= n= 1.1.1-beta2<BR>><BR>> An excel date comes back as one day previous i= n= java.util.Date in<BR>> my application.<BR>> According to the jxl faq= = its due to a GMT TimeZone used by jxl and<BR>> local TimeZone<BR>> = used by the application ref=3D<A class=3Dmsg-link = href=3D"http://www.andykhan.com/jexcelapi/" = target=3D_blank>http://www.andykhan.com/jexcelapi/</A><BR>> = tutorial.html#dates.<BR>> There is no fix provided by jxl since its upto= = the client app to<BR>> handle the date without<BR>> the GMT timezone.= = In an effort to get my unit test to work I digged<BR>> a little = =66urther<BR>> in ddsteps code to get the correct date.<BR>><BR>> = I= made the change at org.ddsteps.dataset.excel.getValue() line #<BR>> 102= .= with the following code.<BR>><BR>> ...<BR>> DateCell dateCell =3D= = (DateCell) cell;<BR>> String pattern =3D = ((SimpleDateFormat)dateCell.getDateFormat<BR>> ()).toPattern();<BR>> = SimpleDateFormat sdf =3D new SimpleDateFormat(pattern);<BR>> Date = date=3Dnull;<BR>> try {<BR>> date =3D = sdf.parse(dateCell.getContents());<BR>> } catch (ParseException e) = {<BR>> throw new RuntimeException();<BR>> }<BR>><BR>> return = date;<BR>> ...<BR>><BR>> Since I dont know if this is the right = place and/or prefered type<BR>> of fix.<BR>> How and when can I get a= = =66ix for ddsteps for this problem=3F Do I<BR>> need to create an issue = in jira=3F<BR>><BR>> Thanks<BR>> Saad.<BR>><BR>><BR>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>>= Confidentiality Notice: The information contained in and<BR>> = transmitted with this communication is strictly confidential, is<BR>> = intended only for the use of the intended recipient, and is the<BR>> = property of Countrywide Financial Corporation or its affiliates and<BR>>= = subsidiaries. If you are not the intended recipient, you are<BR>> hereby= = notified that any use of the information contained in or<BR>> transmitte= d= with the communication or dissemination, distribution,<BR>> or copying = of this communication is strictly prohibited by law. If<BR>> you have = received this communication in error, please immediately<BR>> return thi= s= communication to the sender and delete the original<BR>> message and an= y= copy of it in your possession.<BR>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>><BR>>= ;= = ----------------------------------------------------------------------<BR>&= gt;= ---<BR>> Take Surveys. Earn Cash. Influence the Future of IT<BR>> = Join SourceForge.net's Techsay panel and you'll get the chance to<BR>> = share your<BR>> opinions on IT & business topics through brief = surveys - and earn cash<BR>> <A class=3Dmsg-link = href=3D"http://www.techsay.com/default.php=3F" = target=3D_blank>http://www.techsay.com/default.php=3F</A><BR>> = page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV_______________________= _________<BR>>= _______________<BR>> ddsteps-user mailing list<BR>> = dds...@li...<BR>> <A class=3Dmsg-link = href=3D"https://lists.sourceforge.net/lists/listinfo/ddsteps-user" = target=3D_blank>https://lists.sourceforge.net/lists/listinfo/ddsteps-user</= A><BR><BR></BLOCKQUOTE></FONT> <P></P></FONT> <P><pre = wrap>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Confidentiality Notice: The information contained in and transmitted with = this communication is strictly confidential, is intended only for the use o= =66= the intended recipient, and is the property of Countrywide Financial = Corporation or its affiliates and subsidiaries. If you are not the intende= d= recipient, you are hereby notified that any use of the information = contained in or transmitted with the communication or dissemination, = distribution, or copying of this communication is strictly prohibited by = law. If you have received this communication in error, please immediately = return this communication to the sender and delete the original message and= = any copy of it in your possession. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D </pre></P></body></html> |
From: <Saa...@Co...> - 2006-12-28 17:12:38
|
<html><head><META HTTP-EQUIV=3D"Cache-control" CONTENT=3D"no-cache"><META = HTTP-EQUIV=3D"Pragma" CONTENT=3D"no-cache"></head><body = bgcolor=3D"white"><P>Hi</P> <P>ddsteps version 1.1.1-beta2</P> <P>An excel date comes back as one day previous in java.util.Date in my = application. <BR>According to the jxl faq its due to a GMT TimeZone used by= = jxl and local TimeZone <BR>used by the application = ref=3Dhttp://www.andykhan.com/jexcelapi/tutorial.html#dates. <BR>There is n= o= fix provided by jxl since its upto the client app to handle the date = without <BR>the GMT timezone. In an effort to get my unit test to work I = digged a little further <BR>in ddsteps code to get the correct date. </P> <P>I made the change at org.ddsteps.dataset.excel.getValue() line # 102. = with the following code.</P> <P>...<BR>DateCell dateCell =3D (DateCell) cell;<BR>String pattern =3D = ((SimpleDateFormat)dateCell.getDateFormat()).toPattern();<BR>SimpleDateForm= at= sdf =3D new SimpleDateFormat(pattern);<BR>Date date=3Dnull;<BR>try = {<BR> date =3D sdf.parse(dateCell.getContents());<BR>} catch = (ParseException e) {<BR> throw new RuntimeException();<BR>}</P> <P>return date;<BR>...</P> <P>Since I dont know if this is the right place and/or prefered type o= =66= fix. <BR>How and when can I get a fix for ddsteps for this problem=3F Do I= = need to create an issue in jira=3F</P> <P>Thanks<BR>Saad.</P> <P><pre = wrap>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Confidentiality Notice: The information contained in and transmitted with = this communication is strictly confidential, is intended only for the use o= =66= the intended recipient, and is the property of Countrywide Financial = Corporation or its affiliates and subsidiaries. If you are not the intende= d= recipient, you are hereby notified that any use of the information = contained in or transmitted with the communication or dissemination, = distribution, or copying of this communication is strictly prohibited by = law. If you have received this communication in error, please immediately = return this communication to the sender and delete the original message and= = any copy of it in your possession. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D </pre></P></body></html> |
From: Adam S. <ada...@ja...> - 2006-12-11 12:23:15
|
>However, when my custom CollectionDecoratorPropertyEditor.setAsText(String) is being invoked, I have no way to know the parameterized type. So I guess I have to implement type-specific Decorator and PropertyEditor. Yes, I think so. If som e clever reader figures out how to do it, please let me know :-) >Also a related question: I realize that in ExcelDataValueAdapter.getValue(), we cast Number cell to Double. So my problem is: my parameterized wrapper will be set as Double even I tried to separate them by using 1 for Integer and 1.0 for Double. Is there any way out? Well, that is a problem I've been thinking a lot about. The problem is that Excel always stores all numbers as a double. Then it has a formatting pattern, so if you gave it a "1" it stored { 1.0 , "#" } so it knows not to print the decimals... Sadly, the formatting pattern is locale dependeant, or else DDSteps could pick it apart and decide that you wanted an integer :-( So, my recommendation is to actually use a string! Write the number in excel as '123 som that excel saves it as a string, and then Springs string to integer converter (propertyeditor) will convert for you. Whn in problem with excel, go with strings, since Spring is actually most used to string to something conversions (the input is usually xml data in spring, right). Hope this helps! /Adam, DDSteps lead |
From: Khoon S. K. <ks...@al...> - 2006-12-11 11:50:38
|
Hi Adam, Thanks for shedding some light on the matter. I have created a wrapper = to the Collection, and registered a custom PropertyEditor for that = wrapper class. xxxxxxxxxxx import java.util.ArrayList; import java.util.Collection; public class CollectionDecorator<T> { Collection<T> items =3D new ArrayList<T>(); =09 public void setItems(Collection<T> newItems){ this.items =3D newItems; } =09 public Collection<T> getItems(){ return this.items; } =09 } xxxxxxxxxxx However, when my custom = CollectionDecoratorPropertyEditor.setAsText(String) is being invoked, I = have no way to know the parameterized type. So I guess I have to = implement type-specific Decorator and PropertyEditor. Also a related question: I realize that in = ExcelDataValueAdapter.getValue(), we cast Number cell to Double. So my = problem is: my parameterized wrapper will be set as Double even I tried = to separate them by using 1 for Integer and 1.0 for Double. Is there any = way out? Thank you! Best regards. =A0 Kang, Khoon Seang ________________________________________ From: Adam Skogman [mailto:ada...@ja...]=20 Sent: Wednesday, December 06, 2006 5:00 PM To: Khoon Seang Kang Cc: dds...@li... Subject: Re: [ddsteps-user] How do I set values to a Bean with List? Hi! This seem sto be a recurring question. I think we need to build this = into DDSteps :-) >If I have a bean that has List attribute, such as > >class SimpleBean{ > > private List values; I would suggest you use a String[] (array), because that Spring can = handle. >How do I define them in the Excel? I tried {"a","b"} but it didn't work = :( Spring's StringArrayPropertyEditor uses plain commas (you can change = delimiter), like this: a,b,c >2. >Is there any way I can register my custom PropertyEditors to DDSteps? So far, you cannot register them only in DDSteps, but you can register = them globally, in the whole JVM: java.beans.PropertyEditorManager.registerEditor(String[].class, new = StringArrayPropertyEditor()); If you want anouther delimiter, do like this (example: double colon) java.beans.PropertyEditorManager.registerEditor(String[].class, new = StringArrayPropertyEditor("::")); --- You can build your own PropertyEditor and register it in the same way. = You could for instance build a = MyJavaArraySyntaxStringToListOfStringPropertyEditor. Boilerplate code is = available by looking in the StringArrayPropertyEditor. Hope this helped! /Adam, DDSteps project lead |