Resolution of environment variable in Project definition file.
Oxygen general issues.
			- 
				matsek
 - Posts: 12
 - Joined: Tue Nov 01, 2011 12:24 pm
 
Resolution of environment variable in Project definition file.
Hi,
I would like to add the folder My Documents to my project, without adding the folder path literally, as the path may change depending on the environment in which I open the project.
I tried the following:
<folder path="file://${homeDir}/Documents/Folder"/>
But this didnt work. The variable didn't get resolved when opening the project in the editor.
Help appreciated!
			
			
									
									
						I would like to add the folder My Documents to my project, without adding the folder path literally, as the path may change depending on the environment in which I open the project.
I tried the following:
<folder path="file://${homeDir}/Documents/Folder"/>
But this didnt work. The variable didn't get resolved when opening the project in the editor.
Help appreciated!
- 
				adrian
 - Posts: 2894
 - Joined: Tue May 17, 2005 4:01 pm
 
Re: Resolution of environment variable in Project definition file.
Hello,
I'm afraid that's not possible. Environment variables are not resolved as part of paths. The project file locations indicated by folder/@path are usually paths relative to the project folder or absolute paths, if they are on a different file system or drive.
Regards,
Adrian
			
			
									
									I'm afraid that's not possible. Environment variables are not resolved as part of paths. The project file locations indicated by folder/@path are usually paths relative to the project folder or absolute paths, if they are on a different file system or drive.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
						<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
			
				Jump to
				
			
		
			
			
	
	- Oxygen XML Editor/Author/Developer
 - ↳ Feature Request
 - ↳ Common Problems
 - ↳ DITA (Editing and Publishing DITA Content)
 - ↳ Artificial Intelligence (AI Positron Assistant add-on)
 - ↳ SDK-API, Frameworks - Document Types
 - ↳ DocBook
 - ↳ TEI
 - ↳ XHTML
 - ↳ Other Issues
 - Oxygen XML Web Author
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen Content Fusion
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen JSON Editor
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen PDF Chemistry
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen Feedback
 - ↳ Feature Request
 - ↳ Common Problems
 - Oxygen XML WebHelp
 - ↳ Feature Request
 - ↳ Common Problems
 - XML
 - ↳ General XML Questions
 - ↳ XSLT and FOP
 - ↳ XML Schemas
 - ↳ XQuery
 - NVDL
 - ↳ General NVDL Issues
 - ↳ oNVDL Related Issues
 - XML Services Market
 - ↳ Offer a Service