bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/packaging/GenerateXMLFromPropertiesMojo.java
private void mergeGlobalVariables() throws MojoExecutionException {
		Properties propertiesGlobalVariables;
		try {
			propertiesGlobalVariables = loadPropertiesFile(deploymentGlobalVariables);
		} catch (Exception e) {
			throw new MojoExecutionException(PROPERTIES_GLOBAL_VARIABLES_LOAD_FAILURE + " '" + deploymentGlobalVariables + "'", e);
		}
		
		Enumeration<Object> e = propertiesGlobalVariables.keys();
   		while (e.hasMoreElements()) {
			String key = (String) e.nextElement();
			String value = propertiesGlobalVariables.getProperty(key);

			application.setGlobalVariable(key, value);
		}
	}
private void mergeGlobalVariables() throws MojoExecutionException {
		Properties propertiesGlobalVariables;
		try {
			propertiesGlobalVariables = loadPropertiesFile(deploymentGlobalVariables);
		} catch (Exception e) {
			throw new MojoExecutionException(PROPERTIES_GLOBAL_VARIABLES_LOAD_FAILURE + " '" + deploymentGlobalVariables + "'", e);
		}
		
		Enumeration<Object> e = propertiesGlobalVariables.keys();
   		while (e.hasMoreElements()) {
			String key = (String) e.nextElement();
			String value = propertiesGlobalVariables.getProperty(key);

			application.setGlobalVariable(key, value);
		}
	}
private void mergeGlobalVariables ( ) throws MojoExecutionException { Properties propertiesGlobalVariables ; try { propertiesGlobalVariables = loadPropertiesFile ( deploymentGlobalVariables ) ; } catch ( Exception e ) { throw new MojoExecutionException ( PROPERTIES_GLOBAL_VARIABLES_LOAD_FAILURE + " '" + deploymentGlobalVariables + "'" , e ) ; } Enumeration < Object > e = propertiesGlobalVariables . keys ( ) ; while ( e . hasMoreElements ( ) ) { String key = ( String ) e . nextElement ( ) ; String value = propertiesGlobalVariables . getProperty ( key ) ; application . setGlobalVariable ( key , value ) ; } }
<p>
This will merge the Global Variables properties file into the
{@link ApplicationType} object.
</p>

@throws MojoExecutionException
<p > This will merge the Global Variables properties file into the { @link ApplicationType } object . < / p >