Bug 176786 Issue when use ${env.working.folder} as context path.[0601]
Description: Issue when use ${env.working.folder} as context path Build number:2.2.0.v20070308 Steps to reproduce: 1. Add environment variable as below: env.working.folder(D:\temp\working_folder) env.document.folder (D:\temp\document_folder) env.image.folder(D:\temp\image_folder) 2. Deploy WebViewerExample folder in Tomcat5.5.7 2. Set context parameter as attached with form like ${env.working.folder}. 3. Start Server Expected result: Content inside WebViewerExample folder is untouched. Actual result: After server is started, refresh and check the WebViewerExample folder. Only webcontent and WEB-INF folders are left, other folders and two sample reports disappear. Error log:N/A
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
workingFolder = processWorkingFolder( context, context
				.getInitParameter( INIT_PARAM_WORKING_DIR ) );
		
		documentFolder = processRealPath( context, context
				.getInitParameter( INIT_PARAM_DOCUMENT_FOLDER ),
				IBirtConstants.DEFAULT_DOCUMENT_FOLDER, true );
		
		imageFolder = processRealPath( context, context
				.getInitParameter( ParameterAccessor.INIT_PARAM_IMAGE_DIR ),
				IBirtConstants.DEFAULT_IMAGE_FOLDER, true );
		
		logFolder = processRealPath( context, context
				.getInitParameter( ParameterAccessor.INIT_PARAM_LOG_DIR ),
				IBirtConstants.DEFAULT_LOGS_FOLDER, true );
		
		logLevel = context
				.getInitParameter( ParameterAccessor.INIT_PARAM_LOG_LEVEL );
		
		scriptLibDir = processRealPath(
				context,
				context
						.getInitParameter( ParameterAccessor.INIT_PARAM_SCRIPTLIB_DIR ),
				IBirtConstants.DEFAULT_SCRIPTLIB_FOLDER, false );
		
		webAppLocale = getLocaleFromString( context
				.getInitParameter( INIT_PARAM_LOCALE ) );
		if ( webAppLocale == null )
			webAppLocale = Locale.getDefault( );
		isWorkingFolderAccessOnly = Boolean
				.valueOf(