Closed klues closed 6 years ago
one more change:
AsTeRICS/build.xml
instead of AsTeRICS/ARE/build.xml
and therefore call copyHelpFiles
on ant deploy
on an APE project, which was not the case before.see https://github.com/asterics/AsTeRICS/pull/218/files#diff-b2a1f14d92f95a69ed7201a10e363ab2R324
more changes:
web/help
and WebACS/help
to the AsTeRICS/ARE/build.xml
. Reason: I think on a fresh cloned repository if I go to AsTeRICS/ARE/
and call ant run
, the submodules should also be updated and the help_files copied.AsTeRICS/imported.xml
I made a new ant task updateGitSubmodules
that is used in copyHelpFiles
of AsTeRICS/build.xml
and AsTeRICS/ARE/build.xml
just tried:
git clone <AsTeRICS URL>
cd <InstallerDir>
ant deploy
on Linux and the result is a working .deb installer with correct submodules! yeah! :)
@deinhofer what do you think about this solution: 1) The target "copyHelpFiles" from WebACS which copies the files from
WebACS/help_files
toWebACS/help/help_files
was not called on the build of ARE -> I added a call of this task in the ARE build.xml @klues Are you sure? but the copyHelpFiles target called the build file in the WebACS submodule which then copied the help_files.2) In the target 'copyHelpFiles' of ARE I added a
git update submodule --init --recursive
before copying anything. I think this makes sense - so the submodules should always be existing and updated and we do not need theupdate_all
scripts anymore.