What env-var can be used to get the source-dir of spring on the buildbot?
Error is:
http://springrts.com:7778/builders/full ... logs/stdio
corresponding script:
https://github.com/spring/spring/blob/m ... ync.sh#L28
i want to pack all stuff into the <version>_base.7z to allow installing from the .7z files.
Pack cont/fonts/ + cont/LuaUI into base.7z
Moderator: Moderators
Re: Pack cont/fonts/ + cont/LuaUI into base.7z
I don't think it is stored in any env var at the moment. Each script is run with the source directory as cwd though.
(Do note that the line you modified is within a cd ${BUILDDIR}..cd ${OLDPWD} block, so that run in the directory with build output files.)
E.g. it looks like this:
So I think in this case you need some .. in the path to traverse back to the source directory from inside the build directory.
(Do note that the line you modified is within a cd ${BUILDDIR}..cd ${OLDPWD} block, so that run in the directory with build output files.)
E.g. it looks like this:
Code: Select all
build/ <-- build directory created by buildbot, contains source checkout
.git/
buildbot/
rts/
...
build-default/ <-- cmake build directory, direct child of source dir
base/ <-- generated base content files
...
Re: Pack cont/fonts/ + cont/LuaUI into base.7z
thanks, this helped much!
now i'm still having the problem, that some paths of the ais are wrong.
The Path of the ais/interfaces disallows placing them directly into a 7z.
Version information is missing in the path + data/ needs to be removed, for example:
builddir looks like this:
AI/Interfaces/C/SkirmishAI.dll
AI/SkirmishAI/NullAI/data/AIInfo.lua
but should look like
AI/Interfaces/C/0.1/SkirmishAI.dll
AI/SkirmishAI/NullAI/0.1/AIInfo.lua
i found no possibility how to change the path inside the 7z file, any ideas how to nicely solve that?
my current ideas:
* try to modify CMakeFiles
* move/copy files around
* stop my tries and clean the installer
* create an extra .7z for each ai and interface, would mean 3 additional files for the interfaces as the 7z ais could be reused, also version information would be lost
After this change, the buildbot could directly create a portable 7z.
now i'm still having the problem, that some paths of the ais are wrong.
The Path of the ais/interfaces disallows placing them directly into a 7z.
Version information is missing in the path + data/ needs to be removed, for example:
builddir looks like this:
AI/Interfaces/C/SkirmishAI.dll
AI/SkirmishAI/NullAI/data/AIInfo.lua
but should look like
AI/Interfaces/C/0.1/SkirmishAI.dll
AI/SkirmishAI/NullAI/0.1/AIInfo.lua
i found no possibility how to change the path inside the 7z file, any ideas how to nicely solve that?
my current ideas:
* try to modify CMakeFiles
* move/copy files around
* stop my tries and clean the installer
* create an extra .7z for each ai and interface, would mean 3 additional files for the interfaces as the 7z ais could be reused, also version information would be lost
After this change, the buildbot could directly create a portable 7z.
Re: Pack cont/fonts/ + cont/LuaUI into base.7z
oh, just noticed.
Don't download those files from the buildbot in your webinstaller (that's what you try to do AFAIK). It's Licho's server that runs nearly everything of this project.
Instead the spring installer downloads are hosted on sourceforge to save traffic.
Don't download those files from the buildbot in your webinstaller (that's what you try to do AFAIK). It's Licho's server that runs nearly everything of this project.
Instead the spring installer downloads are hosted on sourceforge to save traffic.
Re: Pack cont/fonts/ + cont/LuaUI into base.7z
thanks for this hint. These files can be rsynced to sf, too... i try to make releasing easier.
Re: Pack cont/fonts/ + cont/LuaUI into base.7z
now the files should contain all stuff to make a portable version from them...
why are the aiinterface.dll's not stripped in create-installer script? is this a bug?
why are the aiinterface.dll's not stripped in create-installer script? is this a bug?