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                                              
                                   
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]          
                              
                    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, <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to