On Thu, 01 May 2008 09:59:08 -0400 Lee Jenkins <[EMAIL PROTECTED]> wrote:
> Hi all, > > I'm trying to create a package to that contains a unit which defines > a TShape descendant component following this example: > > http://wiki.lazarus.freepascal.org/Lazarus_Packages#Adding_existing_components_to_a_Package > > The problem that I'm having is that package overwrites the .pas file > that I include with: You named the package the same as the unit. The IDE should not allow this. Please create a bug report and explain how you did that. Did you create a new package, added the file and then saved the package? > { This file was automatically created by Lazarus. Do not edit! > This source is only used to compile and install the package. > } >[...] > > Before trying to save/compile the package this source file contains > the source for the component. After save/compile the contents are > replaced with the above source. Mattias _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
