[Lazarus] Register Package Help

Damien Gerard milipili at shikami.org
Fri May 2 17:56:56 CEST 2008


Le May 2, 2008 à 5:46 PM, Lee Jenkins a écrit :

> Mattias Gaertner wrote:
>> On Fri, 02 May 2008 09:09:04 -0400
>> Lee Jenkins <lee at datatrakpos.com> wrote:
>>
>>> [...]
>>>>> The unit source name is:
>>>>>
>>>>> pos_button.pas
>>>>>
>>>>> I named the .lpk file:
>>>>>
>>>>> posbutton.lpk
>>>>>
>>>>> I figured that the names should not be exact, but I suppose that
>>>>> the IDE somehow stripped the underscore ?
>>>>>
>>>>> At any rate,
>>>>>
>>>>> 1. I created the source file first.
>>>>>
>>>>> 2. Create the packages and added through "Add Unit" tab.
>>>>>
>>>>> 3. Saved the lpk file as posbutton.lpk
>>>>>
>>>>> 4. Compiled it and that is when it overwrote my source file.
>>>> Here it works. That means, it does not strip the underscore. The
>>>> only place where underscores are stripped are in the widgetsets for
>>>> labels. I don't see any relationship.
>>>> Can you reproduce it?
>>
>> Any news?
>>
>>
>>>> I added a check in svn 15029 to forbid naming a package as a unit.
>>> Mattias,
>>>
>>> Is this included in snapshots?  I have problems when trying to build
>>> from sources on Windows, but I'll download the latest snapshot this
>>> weekend and give it a go again and see if I can get it to replicate
>>> the problem or not.
>>
>> Snapshots are built daily.
>>
>
> It seems that page that hosts the snapshots
> (http://www.hu.freepascal.org/lazarus/) is down right now, at least  
> from where I
> am.  I'll try to grab the latest later today/tonight and try.
>

Others mirrors are available :
http://wiki.lazarus.freepascal.org/Lazarus_Snapshots_Downloads

This one is up :
http://snapshots.lazarus.shikami.org/lazarus/


> Thanks,
>
> -- 
>
> Warm Regards,
>
> Lee
>
> "When my company started out, we were really, really, really, really  
> small.
> Now...we're just really small."
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



--
Damien Gerard
milipili at shikami.org

"Intelligence is 10 million rules."
    -- Douglas Lenat









More information about the Lazarus mailing list