From: <jcm...@us...> - 2006-02-14 20:20:57
|
Revision: 606 Author: jcmoraisjr Date: 2006-02-14 12:20:12 -0800 (Tue, 14 Feb 2006) ViewCVS: http://svn.sourceforge.net/instantobjects?rev=606&view=rev Log Message: ----------- Changed how packages include resource files: - Added a sh script to replicate a new resource file; - changed Install.txt (removing a note about packages and .res files); - removed InstantVersion.res, InstantVersion.inc and InstantPackageVersion.inc. Modified Paths: -------------- trunk/Docs/Install.txt Added Paths: ----------- trunk/Source/InstantReplicateResource.sh Removed Paths: ------------- trunk/Source/InstantPackageVersion.inc trunk/Source/InstantVersion.inc trunk/Source/InstantVersion.res Modified: trunk/Docs/Install.txt =================================================================== --- trunk/Docs/Install.txt 2006-02-14 19:52:19 UTC (rev 605) +++ trunk/Docs/Install.txt 2006-02-14 20:20:12 UTC (rev 606) @@ -88,25 +88,4 @@ NOTE TO DELPHI 5 USERS: dpk files in Delphi 5 have an additional suffix "_D5". This is because Delphi 5 does not support the LIBSUFFIX compiler directive - that InstantObjects uses in newer versions of Delphi. - -******************************************************************************** -Note: All InstantObjects packages use non-standard code in the package -source file. In particular, they miss the standard line: - -{$R *.RES} - -and have instead something similar to this line: - -{$I '../../InstantVersion.inc'} - -that includes the InstantVersion.inc file in the $(InstantObjects)\Source -folder (Substitute the correct relative path in this statement depending on -where in the installed folder tree the package file resides). However if you -open the Project Options for a package and click the OK button, the Delphi IDE -will restore the line with the $R directive, automatically create a -<packagename>.res file that IO doesn't need and delete the $I -directive. If you ever do that, please restore the original code by editing -the Project Source by hand or restoring the original file from the distribution -archive. -******************************************************************************** + that InstantObjects uses in newer versions of Delphi. \ No newline at end of file Deleted: trunk/Source/InstantPackageVersion.inc =================================================================== --- trunk/Source/InstantPackageVersion.inc 2006-02-14 19:52:19 UTC (rev 605) +++ trunk/Source/InstantPackageVersion.inc 2006-02-14 20:20:12 UTC (rev 606) @@ -1,5 +0,0 @@ -{$IFDEF LINUX} -{$R '../../InstantVersion.res'} -{$ELSE} -{$R '..\..\InstantVersion.res'} -{$ENDIF} Added: trunk/Source/InstantReplicateResource.sh =================================================================== (Binary files differ) Property changes on: trunk/Source/InstantReplicateResource.sh ___________________________________________________________________ Name: svn:mime-type + Text/Plain Deleted: trunk/Source/InstantVersion.inc =================================================================== --- trunk/Source/InstantVersion.inc 2006-02-14 19:52:19 UTC (rev 605) +++ trunk/Source/InstantVersion.inc 2006-02-14 20:20:12 UTC (rev 606) @@ -1,5 +0,0 @@ -{$IFDEF LINUX} -{$R '../../../InstantVersion.res'} -{$ELSE} -{$R '..\..\..\InstantVersion.res'} -{$ENDIF} Deleted: trunk/Source/InstantVersion.res =================================================================== (Binary files differ) |