Skip to content

Commit

Permalink
build: separate copying of help images from copy that applies token r…
Browse files Browse the repository at this point in the history
…eplacement
  • Loading branch information
bwbohl committed Dec 18, 2024
1 parent 353f83a commit dbc998b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Ext.ClassManager.addNameAlternateMappings({
"EdiromOnline.controller.window.SummaryView": [],
"EdiromOnline.controller.window.WindowController": [],
"EdiromOnline.controller.window.XmlView": [],
"EdiromOnline.controller.window.about.AboutWindow": [],
"EdiromOnline.controller.window.audio.AudioView": [],
"EdiromOnline.controller.window.concordanceNavigator.ConcordanceNavigator": [],
"EdiromOnline.controller.window.iFrameView": [],
Expand Down Expand Up @@ -78,6 +79,7 @@ Ext.ClassManager.addNameAlternateMappings({
"EdiromOnline.view.window.View": [],
"EdiromOnline.view.window.Window": [],
"EdiromOnline.view.window.XmlView": [],
"EdiromOnline.view.window.about.AboutWindow": [],
"EdiromOnline.view.window.annotationLayouts.AnnotationLayout1": [],
"EdiromOnline.view.window.annotationLayouts.AnnotationLayout2": [],
"EdiromOnline.view.window.annotationLayouts.AnnotationLayout3": [],
Expand Down Expand Up @@ -956,6 +958,7 @@ Ext.ClassManager.addNameAliasMappings({
"EdiromOnline.controller.window.SummaryView": [],
"EdiromOnline.controller.window.WindowController": [],
"EdiromOnline.controller.window.XmlView": [],
"EdiromOnline.controller.window.about.AboutWindow": [],
"EdiromOnline.controller.window.audio.AudioView": [],
"EdiromOnline.controller.window.concordanceNavigator.ConcordanceNavigator": [],
"EdiromOnline.controller.window.iFrameView": [],
Expand Down Expand Up @@ -1016,6 +1019,9 @@ Ext.ClassManager.addNameAliasMappings({
"EdiromOnline.view.window.XmlView": [
"widget.xmlView"
],
"EdiromOnline.view.window.about.AboutWindow": [
"widget.aboutWindow"
],
"EdiromOnline.view.window.annotationLayouts.AnnotationLayout1": [],
"EdiromOnline.view.window.annotationLayouts.AnnotationLayout2": [],
"EdiromOnline.view.window.annotationLayouts.AnnotationLayout3": [],
Expand Down
12 changes: 12 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<include name="data/xslt/tei/Stylesheets/common/"/>
<include name="data/xslt/tei/Stylesheets/VERSION"/>
<include name="help/**"/>
<exclude name="help/images/">
<!-- exclude help images here because the below filterset
would alter their contents and render them unreadable.
Will be copied in anoter copy statement without filterset. -->
</exclude>
<include name="index/**"/>
</fileset>
<fileset dir="${basedir}">
Expand All @@ -44,6 +49,13 @@
<filter token="repo.target" value="${repo.target}"/>
</filterset>
</copy>
<copy todir="${build.dir}" preservelastmodified="true">
<!-- copy help images in separate copy statement because above filterset
would modify their contents and render them unreadable -->
<fileset dir="${basedir}/add">
<include name="help/images/"/>
</fileset>
</copy>
<copy file="${build.dir}/resources/pix/ViFE-logo-small-144x144-trans.png" tofile="${build.dir}/icon.png" overwrite="true"/>
<copy file="${basedir}/CITATION.cff" tofile="${build.dir}/resources/CITATION.cff" overwrite="true"/>
</target>
Expand Down

0 comments on commit dbc998b

Please sign in to comment.