[MGNLSTK-846] Add default support for font files in ThemeInstallTask ? Created: 08/Mar/12  Updated: 15/Mar/16  Resolved: 15/Mar/16

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: update
Affects Version/s: 2.0
Fix Version/s: 2.0.x

Type: Improvement Priority: Neutral
Reporter: Magnolia International Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

Since binaries are now supported in the resources workspace (MGNLRES-38) and that ThemeInstallTask automatically adds images from the theme's /img/ folder in there, why not let it add fonts as well ?

new InstallResourcesTask("/templating-kit/themes/" + themeName + "/fonts/.*", "resources:binary", true).execute(ctx);

As a side note, please update the Javadoc of this class, which still says the contents of /img/ is copied to the dms !


Generated at Mon Feb 12 07:30:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.