Hi, I was trying to play with the new demos from
packages/fcl-web/examples and found that them require the package lazwebdata, where can I find it?.
Mailing lists / lazarus / 2010-10
LazWebData package
8 messages · 3 people · –
- LLeonardo M. Ramé 4
- AABorka 3
- MMichael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Leonardo M. Ram? wroteHi, I was trying to play with the new demos from packages/fcl-web/examples and found that them require the package lazwebdata, where can I find it?.
It is in Lazarus, called Lazwebextra
ABorka wrote 6 lines
Uh, ok. Then, I have to change the references to lazwebdata, in the examples, to lazwebextra?
Leonardo M. Ram? wrote 11 lines
If that's the way to solve it, just execute this command in packages/fcl-web/examples, to replace lazwebdata to lazwebextra.
find . -type f -exec sed -i 's/\"lazwebdata\"/\"lazwebextra\"/g' {} \;;-)
Uh, ok. Then, I have to change the references to lazwebdata, in the examples, to…
Leonardo M. Ram? wrote 10 lines
No, Lazwebextra is just the name of the package you have to install in Lazarus to have the additional components installed. After installing the package, you can forgot the name lazwebextra you will never use it in your code.
Once you've installed the packages weblaz and lazwebextra and Lazarus is then recompiled, you can compile those example programs.
BTW, I've already raised this naming confusion issue with the developers, hopefully they will standardize the package names with the feature names and components. Some different icons for the toolbar components would be nice to have also :)
1. Currently we have package named WEBLAZ that provides us with the Lazarus FPWEB components.
2. We now have a LAZWEBEXTRA package too, that is also part of the Lazarus FPWEB components, this is just in a separate package for now until the next Lazarus release, theoretically.
3. We have the FCL-WEB that is part of the FPC's (Free Pascal Compiler) FCL (fere component library) that contains all the base and non-design time components for web development (fpweb, namely the weblaz/lazwebextra packages are based on this)
Confused enough yet? ;)
AB
ABorka wrote 40 lines
You are right...but, I have installed LazWebExtra (I can see all the new components), and when I try to open any of the examples on fcl-web/examples the project is requiring lazwebdata, just take a look at the lpi's:
grep -rH "\"lazwebdata\"" *
webdata/demo4/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo2/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo5/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo6/extgrid.lpi: <PackageName Value="lazwebdata"/> webdata/demo3/extgrid.lpi: <PackageName Value="lazwebdata"/>
I've just updated from svn's trunk version.
Leonardo M. Ram? wrote 57 lines
Ahh yes, I remember now. That is the old name of that package, I had the same problem, it seems it was not fixed in the SVN.
All you need to do is just remove that dependency from the project and it will compile. Just remove lazwebdata from everywhere it is mentioned, because that is just some leftover.
AB
Hi, I was trying to play with the new demos from packages/fcl-web/examples and found that…
Leonardo M. Ram? wroteHi, I was trying to play with the new demos from packages/fcl-web/examples and found that them require the package lazwebdata, where can I find it?.
It's actually lazwebextra (lazwebdata was the package I used when designing the components before I moved them). I will fix this, but you can simply change the name with search & replace in the lpi file or manually remove the dependency and add the correct dependency.
Michael.
