Skip to content

Commit

Permalink
Merge pull request #217 from daliboris/fix/version-9/generate-variables
Browse files Browse the repository at this point in the history
Double brackets for variables in deploy:ANT_FILE variable
  • Loading branch information
wolfgangmm authored Oct 10, 2024
2 parents f8538b3 + 2210215 commit ac50e55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/lib/api/generate.xql
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ declare variable $deploy:ANT_FILE :=
<property name="build.dir" value="build"/>
<property name="scripts.dir" value="node_modules/@teipublisher/pb-components/dist"/>

<property name="fore.dir" value="${basedir}/node_modules/@jinntec/fore/dist"/>
<property name="fore.dir" value="${{basedir}}/node_modules/@jinntec/fore/dist"/>

<target name="clean">
<delete dir="${build}" />
<delete dir="${{build}}" />
<delete dir="resources/scripts" includes="*.js *.map" />
<delete dir="resources/images/leaflet" />
<delete dir="resources/images/openseadragon" />
Expand All @@ -81,11 +81,11 @@ declare variable $deploy:ANT_FILE :=

<target name="prepare">
<copy todir="resources/scripts">
<fileset dir="${scripts.dir}">
<fileset dir="${{scripts.dir}}">
<include name="*.js" />
<include name="*.map" />
</fileset>
<fileset dir="${fore.dir}">
<fileset dir="${{fore.dir}}">
<include name="*.js" />
<include name="*.map" />
</fileset>
Expand All @@ -98,7 +98,7 @@ declare variable $deploy:ANT_FILE :=
</copy>
<copy todir="resources/css">
<fileset dir="node_modules/@teipublisher/pb-components/css"/>
<fileset dir="${basedir}/node_modules/@jinntec/fore/resources">
<fileset dir="${{basedir}}/node_modules/@jinntec/fore/resources">
<include name="*.css"/>
</fileset>
</copy>
Expand All @@ -107,7 +107,7 @@ declare variable $deploy:ANT_FILE :=
</copy>

<copy todir="resources/i18n/common">
<fileset dir="${scripts.dir}/../i18n/common" />
<fileset dir="${{scripts.dir}}/../i18n/common" />
</copy>
</target>

Expand Down

0 comments on commit ac50e55

Please sign in to comment.