Re: Copying resource files - what for?

2006-04-20 Thread Paulex Yang
Stepan +1. I just proposed similar modification to classpath of each modules in another thread, which will make the IDE(Eclipse at least) user easier to run test. Stepan Mishura wrote: Hi George, Some time ago we agreed to copy resource files to classpath (i.e. bin/test directory). I saw

Re: Copying resource files - what for?

2006-04-20 Thread Mikhail Loenko
I can see one reason to copy resources - if we want to produce a single downloadable binary image of the test suite. Other than that it does not make much sense to me. The image might be usefull for kind of regular QA cycles later. Thanks, Mikhail 2006/4/20, Paulex Yang [EMAIL PROTECTED]:

Re: Copying resource files - what for?

2006-04-20 Thread Mark Hindess
I suspect inclusion of the resource files (with path renaming) could be handled by a zip/tar task rather than by copying every time the tests are run. So I don't think this is a good reason. Regards, Mark. On 4/20/06, Mikhail Loenko [EMAIL PROTECTED] wrote: I can see one reason to copy

Re: Copying resource files - what for?

2006-04-20 Thread George Harley
Hi Stepan, As I recall it ( I've not my morning coffee yet so it could get a bit unreliable here :-) ) the motivation for wanting resource files on the classpath was to enable serialization data files to be read in by test programs without depending on specific file locations. Copying such

Re: Copying resource files - what for?

2006-04-20 Thread George Harley
Paulex Yang wrote: Stepan +1. I just proposed similar modification to classpath of each modules in another thread, which will make the IDE(Eclipse at least) user easier to run test. Hi Paulex, Your proposed modification to the Eclipse .classpath file doesn't add src/test/resources to the

Re: Copying resource files - what for?

2006-04-20 Thread George Harley
Mark Hindess wrote: I suspect inclusion of the resource files (with path renaming) could be handled by a zip/tar task rather than by copying every time the tests are run. So I don't think this is a good reason. Regards, Mark. Hi Mark, The resource files don't get copied every time the

Re: Copying resource files - what for?

2006-04-20 Thread Paulex Yang
George Harley wrote: Paulex Yang wrote: Stepan +1. I just proposed similar modification to classpath of each modules in another thread, which will make the IDE(Eclipse at least) user easier to run test. Hi Paulex, Your proposed modification to the Eclipse .classpath file doesn't add

Re: Copying resource files - what for?

2006-04-20 Thread Leo Simons
Hi gang, On Thu, Apr 20, 2006 at 11:14:56AM +0700, Stepan Mishura wrote: Some time ago we agreed to copy resource files to classpath (i.e. bin/test directory). I saw that you added corresponing targets to build files. But now I realized that I don't understand why we should copy them instead

Re: Copying resource files - what for?

2006-04-20 Thread George Harley
Hi Mark, Sorry, I misunderstood your append. Please ignore my response. I really need to go for a coffee :-) Best regards, George George Harley wrote: Mark Hindess wrote: I suspect inclusion of the resource files (with path renaming) could be handled by a zip/tar task rather than by

Re: Copying resource files - what for?

2006-04-20 Thread Mark Hindess
On 4/20/06, George Harley [EMAIL PROTECTED] wrote: Mark Hindess wrote: I suspect inclusion of the resource files (with path renaming) could be handled by a zip/tar task rather than by copying every time the tests are run. So I don't think this is a good reason. Regards, Mark. Hi

Re: Copying resource files - what for?

2006-04-20 Thread Stepan Mishura
On 4/20/06, George Harley wrote: Hi Stepan, As I recall it ( I've not my morning coffee yet so it could get a bit unreliable here :-) ) the motivation for wanting resource files on the classpath was to enable serialization data files to be read in by test programs without depending on

Re: Copying resource files - what for?

2006-04-20 Thread Mark Hindess
On 4/20/06, Leo Simons [EMAIL PROTECTED] wrote: Hi gang, On Thu, Apr 20, 2006 at 11:14:56AM +0700, Stepan Mishura wrote: Some time ago we agreed to copy resource files to classpath (i.e. bin/test directory). I saw that you added corresponing targets to build files. But now I realized that

Re: Copying resource files - what for?

2006-04-20 Thread George Harley
Stepan Mishura wrote: On 4/20/06, George Harley wrote: Hi Stepan, As I recall it ( I've not my morning coffee yet so it could get a bit unreliable here :-) ) the motivation for wanting resource files on the classpath was to enable serialization data files to be read in by test programs

Re: Copying resource files - what for?

2006-04-20 Thread Mikhail Loenko
I think it is rather dangerous way: some people will test when resources are in src/ while others - when they are moved to bin by tar or something else So if we want to have a single binary image we have to create it first (by copying resources) Thanks, Mikhail 2006/4/20, Mark Hindess [EMAIL

Re: Copying resource files - what for?

2006-04-20 Thread Stepan Mishura
On 4/20/06, George Harley wrote: Stepan Mishura wrote: On 4/20/06, George Harley wrote: Hi Stepan, As I recall it ( I've not my morning coffee yet so it could get a bit unreliable here :-) ) the motivation for wanting resource files on the classpath was to enable serialization data

Copying resource files - what for?

2006-04-19 Thread Stepan Mishura
Hi George, Some time ago we agreed to copy resource files to classpath (i.e. bin/test directory). I saw that you added corresponing targets to build files. But now I realized that I don't understand why we should copy them instead of simply adding resource directory (i.e. src/test/resources) to