Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Move versioncode to be an argument to allow macrodef overload #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion componentbuild/shared/macrolib.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@
<attribute name="module" />
<attribute name="classname" />
<attribute name="file" />
<attribute name="versioncode" default="${builddir}/files/versioncode.txt" />
<sequential>
<loadfile srcfile="${builddir}/files/versioncode.txt" property="@{module}-@{classname}-version" >
<loadfile srcfile="@{versioncode}" property="@{module}-@{classname}-version" >
<filterchain>
<replacetokens>
<token key="MODULE" value="@{module}"/>
Expand Down