Closed spaceeinstein closed 7 years ago
I'll take a look, but do note currently paths from the INI file are not relative to its path but rather to working directory path - I probably should change that. What do you think?
Can you show me an example of the command? My example directory that didn't work looks like this:
current_dir
| dir
| | EN
| | | MAIN
| | \ \- MAIN.txt
| |- american.ini
| \- charmap.txt
\- gxtbuilder.exe
The one that did work looks like this:
current_dir
| EN
| | MAIN
| \ \- MAIN.txt
|- american.ini
|- charmap.txt
\- gxtbuilder.exe
Yes this is correct. My build script does this
cd GXT
gxtbuilder american.ini -vc
and EN dir comes straight in the GXT directory - just like in your second example.
That said, you are right - The first example should work too (as long as american.ini in there contains paths relative to dir directory) and this should probably be classified as a bug. I'm looking into this as we speak, which explains why I'm replying so fast =)
It seems that the INI file must be in the same directory as the builder regardless of the path given in the command line. With
gxtbuilder.exe dir\american.ini
for example, the builder does not read the INI file in the dir directory but will always read the INI file that is in the same directory as it.