Background
Project folder paths are editable (replacing the __DEFAULT__ value with the actual path to the folder). For example, it's possible to load source files from a custom source folder.
Precondition
- Given a project folder at:
/home/USER/foo/PROJECT/
- The default source folder would be
/home/USER/foo/PROJECT/source/
Steps to reproduce
- Modify the path of the source folder to, say,
/home/USER/bar/source_files/
- Pack the project
Expected results
The source folder in the project package contains the files found in /home/USER/bar/source_files/
Actual results
The source folder in the project package contains the files found in /home/USER/foo/PROJECT/source/
Comments
This behaviour could be made optional with a pack-custom-folders=true|false option in the properties file.
-
If the value is true, the files of the external folder are packed and the folder path becomes __DEFAULT__ in the omegat.project file.
-
If the value is false, the current behavior will be maintained: the default folder is packed and the path to the external folder is maintained in the omegat.project file.
Background
Project folder paths are editable (replacing the
__DEFAULT__value with the actual path to the folder). For example, it's possible to load source files from a custom source folder.Precondition
/home/USER/foo/PROJECT//home/USER/foo/PROJECT/source/Steps to reproduce
/home/USER/bar/source_files/Expected results
The source folder in the project package contains the files found in
/home/USER/bar/source_files/Actual results
The source folder in the project package contains the files found in
/home/USER/foo/PROJECT/source/Comments
This behaviour could be made optional with a
pack-custom-folders=true|falseoption in the properties file.If the value is
true, the files of the external folder are packed and the folder path becomes__DEFAULT__in theomegat.projectfile.If the value is
false, the current behavior will be maintained: the default folder is packed and the path to the external folder is maintained in theomegat.projectfile.