There are two ways to make this easy.
1. This simple answer is bad for source control: keep all of your PBLs in a single folder. Then compiling the code is simple and there's no risk of losing a PBL.
2. The other method is to use a BATCH file to copy all of your files from their various folders into a COMPILE folder. It works like this:
a) first delete all of the old files from c:\compile (or wherever you put your compile folder)
b) copy the PBLs, PBRs, DLLs, images, and whatever else you need from the various development folders into the COMPILE folder.
Alternately, you can keep the DLLs and images in separate folders and have the PATH environment valiable include those folders.
c) Run the batch file.
d) Change the TARGET file in the PB IDE to point to the code in the COMPILE folder
e) Deploy the code in the COMPILE folder
Later -
Olan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sample batch file:
@echo off
color e2
;rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;rem Update the yourAPP files in C:\Build12
;rem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;rem
;rem Author: Olan Knight
;rem Date: 17-JUL-2012
;rem Version: 1.01
;rem
;rem The purpose of this batch file is to copy the current PBLs
;rem from the C:\Apps12 folder into your C:\Apps12\Build12 folder.
;rem
;rem Note that everyone needs to have the exact same directory
;rem structure in order for us to implement source control software.
;rem Do NOT change the structure of the C:\Apps12 directory.
;rem
;rem KEEP YOUR WORKSPACE AND TARGETS AT THE "C:\Apps12\Build12" LEVEL!!!
;rem
;rem Note: Remember that the RESOURCES file is still on the M drive
;rem so your PATH variable must include the Resources folder.
;rem ----------------------------------------------------------------
echo.
echo.
echo "Press enter to continue or c to quit"
echo.
pause " "
set DeleteFlags=/s /f /q
set CopyFlags=/s /k /r /y
;rem =======================================================================
;rem =======================================================================
echo.
echo.
echo.
echo.
echo Copying the yourAPP libraries....
echo.
echo.
set sourcepath=C:\Apps12\yourAPP
set targetpath=C:\Apps12\Build12\yourAPP
echo.
echo.
echo Delete the yourAPP files from "%targetpath%"...
;rem ---------------------------------------------------
del "%targetpath%"\CSGI_yourAPP\*.* %DeleteFlags% > NUL
del "%targetpath%"\yourAPP\*.* %DeleteFlags% > NUL
del "%targetpath%"\yourAPP_asap\*.* %DeleteFlags% > NUL
.
.
.
del "%targetpath%"\yourAPP_usage\*.* %DeleteFlags% > NUL
del "%targetpath%"\yourAPP_wc\*.* %DeleteFlags% > NUL
del "%targetpath%"\*.pbr %DeleteFlags% > NUL
del "%targetpath%"\*.exe %DeleteFlags% > NUL
echo Copy the YOURAPP files from "%sourcepath%" into "%targetpath%...
;rem --------------------------------------------------------------------
xcopy "%sourcepath%"\CSGI_yourAPP\*.PBL "%targetpath%"\CSGI_yourAPP\*.* %CopyFlags%
xcopy "%sourcepath%"\yourAPP\*.PBL "%targetpath%"\yourAPP\*.* %CopyFlags%
xcopy "%sourcepath%"\yourAPP_asap\*.PBL "%targetpath%"\yourAPP_asap\*.* %CopyFlags%
.
.
.
xcopy "%sourcepath%"\yourAPP_usage\*.PBL "%targetpath%"\yourAPP_usage\*.* %CopyFlags%
xcopy "%sourcepath%"\yourAPP_wc\*.PBL "%targetpath%"\yourAPP_wc\*.* %CopyFlags%
xcopy "%sourcepath%"\*.PBR "%targetpath%"\*.* %CopyFlags%
echo Change the file attributes of the new C drive yourAPP files....
attrib -r "%targetpath%"\*.* /s
;rem =======================================================================
;rem =======================================================================
color a2
pause
echo on
It seems to be easy to generate my own PBR file, so I will create it myself before running ORCA's import .