On Today at 11:20am, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote:

HR> [..snip..]
HR> 

Something like the following should work (not tested):

import org.codehaus.plexus.util.cli.CommandLineUtils;


HR>         filterProperties = new Properties();
HR>         
HR>         // System properties
HR>         filterProperties.putAll( System.getProperties() );
HR>         
HR>         // Project properties
HR>         filterProperties.putAll( project.getProperties() );
HR> 

follow the above two calls with:

        // Environment variables
        filterProperties.putAll( CommandLineUtils.getSystemEnvVars() );

Anyone willing to give it a try?

Later,
--
Haroon Rafique
<[EMAIL PROTECTED]>


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

Reply via email to