Just to chime in with my 2 cents. As a test case writer I would rather
use a naming convention in the test files I create rather then write
code that checks a system property. I have to do the same check in every
single test, what if the property changes, I then have to change it in
every single test.

Andrea Aime wrote:
> Martin Desruisseaux ha scritto:
>> Cory Horner a écrit :
>>> The interactive.tests value seems reasonable to keep, as it is rarely 
>>> used.  The extensive.tests value however, seems to logically fit into 
>>> a profile like the others we are discussing...
>> The "extensive.tests" or "interactive.tests" are system properties 
>> instead of profiles because they are processed by our Java programs, not 
>> by Maven. However we could add Maven profiles that setup those 
>> properties. It would provides a more uniform way to do things as Cory 
>> suggested, but I wonder how many profiles we can specify to a Maven 
>> execution cycle? Exactly one or many? For properties we know that we can 
>> specify many, which allow us to ask for "extensive _and_ interactive 
>> tests" for example.
> 
> Well, the environment variables are set when you enable the extensive 
> tests and interactive tests profile in the main pom. As for enabling
> more than one profile, as far as I know it's possible to enable
> more than one, see the first invocation example in the profile guide:
> 
> http://maven.apache.org/guides/introduction/introduction-to-profiles.html
> 
> Cheers
> Andera
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> !DSPAM:1004,455045aa293401336712104!
> 


-- 
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to