ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: junit task and system properties
Date Fri, 14 Jun 2002 09:35:53 GMT

I've got nested sysproperty elements, but the issue turned out to be that
under jdk1.4 on linux, System.getProperties().keySet() didn't return the
complete key set, only the ones that were added recently, not the
'defaults', e.g. user.home, java.home etc.
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


                                                                                         
                         
                    Stefan Bodewig                                                       
                         
                    <bodewig@apach       To:     ant-dev@jakarta.apache.org           
                            
                    e.org>               cc:                                          
                            
                                         Subject:     Re: junit task and system properties
                        
                    06/13/02 05:54                                                       
                         
                    PM                                                                   
                         
                    Please respond                                                       
                         
                    to "Ant                                                              
                         
                    Developers                                                           
                         
                    List"                                                                
                         
                                                                                         
                         
                                                                                         
                         




On Thu, 13 Jun 2002, <dion@multitask.com.au> wrote:

> When running a testcase inside of a <junit> task,
> System.getProperties() will return a very number of properties. For
> example System.getProperties ().get("user.home") returns null where
> System.getProperty("user.home") works ok....

Are you forking <junit>?  Do you use nested <sysproperty> elements?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>






--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message