Customizing *.xpr files (Oxygen Project files)

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Zearin
Posts: 107
Joined: Mon Jul 30, 2007 11:31 pm
Location: College Park, MD, United States

Customizing *.xpr files (Oxygen Project files)

Post by Zearin » Sun Mar 06, 2011 8:59 pm

I was wondering if it’s possible to manually edit the *.xpr project files…
  • …without seriously screwing anything up (I am okay dealing with minor glitches and reversible errors)
  • …to help me “automate” some common things I do in every project (a folder skeleton and some symlinks). If it’s safe to do this but I would need to make the edit to each individual project file, that is okay. But obviously if it is possible to edit a “template” *.xpr file and enact a change from here forwards that would be ideal. :D
-- Zearin

adrian
Posts: 2586
Joined: Tue May 17, 2005 4:01 pm

Re: Customizing *.xpr files (Oxygen Project files)

Post by adrian » Tue Mar 08, 2011 7:02 pm

Hello,

While you can manually edit the XPR project files(since they are XML files) I wouldn't recommend this unless absolutely necessary(e.g. to to copy/paste some options or file references from one project file to another).

Most manual modifications can't produce more that minor glitches(missing files, broken links), but do note that some of the modifications(especially in the project options section) could lead to unhandled errors/exceptions(Oxygen will show an unhandled error message and warn you about potential application stability issues).

My advice is to proceed with caution. Test beforehand any project that was produced by a manual edit or a transformation.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply