steve4king
IS-IT--Management
I expected to find these answers via google and I've come up short. So, my apologies if this has been answered elsewhere already.
I've got a project that I've taken over, and the way our licensing works, it is necessary to turn the build process over to administrative people.(But I don't let them build from the IDE directly)
The prior developer had pieces of source scattered all over multiple computers. I've made the build process more flexible, with params for every part.
So when the build runs it copies all requisites to a compile directory, and gets from SVN, then builds it from there.
Some resource paths are relative, and as such are able to be moved and compiled more flexibly. Others, (specifically a compiled .DBF) hangs on to an absolute path.
The old build program used an SVN checkout instead of an SVN get and as such was dependent on the SVN working directory.
I don't want to be tied to that path anymore, but I don't even see that directory listed under 'options'->'file locations'.
How can I, during the cmdline build, specify a new resource path? Or even just clear the old path so that it will look in home directory?
I cannot figure out how to access that Project variable. (even with the UI, the only thing I can think of is to remove it and re-add it.)
Thanks!
-Stephen
I've got a project that I've taken over, and the way our licensing works, it is necessary to turn the build process over to administrative people.(But I don't let them build from the IDE directly)
The prior developer had pieces of source scattered all over multiple computers. I've made the build process more flexible, with params for every part.
So when the build runs it copies all requisites to a compile directory, and gets from SVN, then builds it from there.
Some resource paths are relative, and as such are able to be moved and compiled more flexibly. Others, (specifically a compiled .DBF) hangs on to an absolute path.
The old build program used an SVN checkout instead of an SVN get and as such was dependent on the SVN working directory.
I don't want to be tied to that path anymore, but I don't even see that directory listed under 'options'->'file locations'.
How can I, during the cmdline build, specify a new resource path? Or even just clear the old path so that it will look in home directory?
I cannot figure out how to access that Project variable. (even with the UI, the only thing I can think of is to remove it and re-add it.)
Code:
TRY
MODI PROJ Prg.PJX nowait
WAIT WINDOW "building EXE from " + cCompileSource+"\Prg.PJX to " + cExeDir+'\'+cExeName+nVersion+"exe..." NOWAIT
BUILD EXE cExeDir+'\'+cExeName+nVersion FROM cCompileSource+"\Prg.PJX" RECOMPILE
CATCH TO oErr
MESSAGEBOX(oErr.Message)
! notepad cExeDir+'\'+cExename+'.err'
ENDTRY
Thanks!
-Stephen