forked from lsmyrnaios/UrlsWorker
- Fix the project's name inside "settings.gradle".
- Fix the "change-dir" to the "libs"-directory in "installAndRun.sh"
This commit is contained in:
parent
2ffb44a615
commit
e091a029a8
|
@ -22,13 +22,18 @@ if [[ ! -f $inputDataFile ]]; then
|
||||||
|
|
||||||
touch $inputDataFile
|
touch $inputDataFile
|
||||||
echo "$workerId,$controllerBaseUrl" >> $inputDataFile
|
echo "$workerId,$controllerBaseUrl" >> $inputDataFile
|
||||||
|
echo -e "\n\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gradleVersion="7.2"
|
gradleVersion="7.2"
|
||||||
|
|
||||||
if [[ justInstall -eq 0 ]]; then
|
if [[ justInstall -eq 0 ]]; then
|
||||||
|
|
||||||
cd libs || (mkdir libs && (cd libs || exit))
|
if [ ! -d libs ]; then
|
||||||
|
mkdir libs || (echo -e "The directory \"libs\" could not be created! Exiting.." && exit 2)
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd libs || exit 3
|
||||||
git clone https://github.com/LSmyrnaios/PublicationsRetriever.git # We assume there is no previously source-code here, if so, it will be overwritten.
|
git clone https://github.com/LSmyrnaios/PublicationsRetriever.git # We assume there is no previously source-code here, if so, it will be overwritten.
|
||||||
|
|
||||||
# Do not need to perform a string-replace in "build.gradle", since it automatically gets all ".jar" files.
|
# Do not need to perform a string-replace in "build.gradle", since it automatically gets all ".jar" files.
|
||||||
|
|
|
@ -3,4 +3,4 @@ pluginManagement {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rootProject.name = 'urls_worker'
|
rootProject.name = 'UrlsWorker'
|
||||||
|
|
Loading…
Reference in New Issue