The newly released version (4.1.5_1) doesn't copy all source files in projects with multiple mappings. To reproduce, download into a new folder any of the existing OmegaT l10n projects (https://github.com/OmegaT-L10N/ru.git, for instance) in 4.1.5, and then again to a new folder in 4.1.5_1. The latter will have copied only some files into <project_root>/source, though the needed files would be retrieved into their respective folders inside .repositories. The former will have copied everything.</project_root>
I can reproduce it.
I only got the folders /doc_src and /website. The folders /release and /scripts were missing, as well as the readme and Bundle.properties at the root of the /source folder.
Didier
Last edit: Didier Briel 2018-08-23
filters.xml and segmantation.conf are not retreived either if they are mapped from non-main repository, it's a regression from 4.1.5
in /src/org/omegat/core/data/RealProject.java this piece responsible for segmentation.conf and filters.xml was deleted:
(lines 344-349 in the 4.1.5 realeased src package)
Restoring the piece gets the functionality back
Last edit: Kos Ivantsov 2018-08-23
in the same file
/src/org/omegat/core/data/RealProject.javain v.4.1.5_1 there's this piece that seems to be the reason for the bug:(lines 344-349 in SVN/released 4.1.5_1 src package)
In the v.4.1.5 there's this piece that seems to do the same and be actually functional:
(lines 361-372 in the 4.1.5 src package)
Inserting the old piece into the current version with or without removing the above non-functional piece restores the expected functionality.
Last edit: Kos Ivantsov 2018-08-23
The problem was in excludes processing in case of file(not directory) mapping. In case of file, it name should be processed as "force include", because admin will not add file that should be excluded by some masks.
I committed "fix_920" into git. Move it to svn, please.
Fixed in SVN (/trunk, revision [r10458])
Didier
Related
Commit: [r10458]
Closed in the released version 4.1.5 update 2 of OmegaT.
Didier