Am Sonntag, den 10.01.2010, 17:31 -0800 schrieb bbb888:
> Thanks Fabien,
>
> I forgot that I did a little cleanup/re-org before the upgrade and moved the
> projects.
>
> The links in ~/.local/lib/gambas2 still existed and therefore pointed to a
> non-existent place. Simply deleting them and re-making the exec's fixed it
> all up!
>
> Also, sorry for the delay in replying, I've been a tad busy.
>
> regards
> bruce
Salut,
I claim that since October 2009
--
Amicalement
Charlie
--- Begin Message ---
Salut,
I have a project which uses 4 components.
/MyProject
|__/project
|_switch (1 component)
|_ 2 component \
| > 4 component
|_ 3 component /
last week I set up an svn-repository and imported all dir's and files.
Then for testing matters I checked out ../trunk to
/MyProjectTEST
|__/project
|_switch (1 component)
|_ 2 component \
| > 4 component
|_ 3 component /
svn worked like a charm, then I compiled the parts from up because of
the requires ... nothings, happens and I think the link wasn't made, the
component it self and the required where always claimed.
After deleting in ~/.local/lib/gambas2 the concerned *.component and
*.gambas, so the component it self and the required where no more
claimed after recompilation.
But the exported functions where not recognised .
That where OK, after deleting also the in */.local/share/gambas2/info
the concerned *.info and *.list and recompilation.
This all happened on gambas2, a check out of the newest IDE/Version
changed nothing.
here is one solution :
'PRIVATE SUB MakeLink_OLD(sSrc AS String, sDst AS String)
'
' IF NOT Exist(sDst) THEN LINK sSrc TO sDst
'
'END
PRIVATE SUB MakeLink(sSrc AS String, sDst AS String)
DIM oStat AS Object
IF Exist(sDst) THEN
oStat = Stat(sDst)
IF oStat.Link <> sSrc THEN
IF oStat.Type = gb.Link THEN
KILL sDst
ELSE
RETURN
END IF
ELSE
Message.Error("Can't create the link")
RETURN
END IF
END IF
LINK sSrc TO sDst
END
--
Amicalment
Charlie
--- End Message ---
--- Begin Message ---
Am Sonntag, den 15.11.2009, 02:40 +0100 schrieb BenoƮt Minisini:
> > Salut,
> >
> > two minor ++ IDE-Bugs (seen in gambas2-IDE).
> >
> > 1. in the IDE, make an Executable (Ctrl+Alt+M) which is a component.
> > Then load a "normal" project and make an Executable (Ctrl+Alt+M).
> > The component dialog is still there "Install in the user component
> > directory"
> >
>
> OK, I will fix that in the next commit.
>
> > 2. gambas2 user-components
> >
> > If your project (which is a component) moves, you have to delete
> > the 4 links concerned,
>
> I don't understand the following sentences:
>
> > because and bad MakeLink procedure in the IDE.
> >
> > 'PRIVATE SUB MakeLink_OLD(sSrc AS String, sDst AS String)
> > ' IF NOT Exist(sDst) THEN LINK sSrc TO sDst
> > 'END
> > '
> >
>
> Can you explain again?
Salut,
the shown MakeLink out of gambas IDE does not create a link if the
link (file) exists.
Sometimes for testing matters, I make a copy of the project.
Then the <executable>.gambas2 is no more the one who's pointed by the
link (which exists), but the link is not created, because the link
exists.
Attached a test project.
--
Amicalment
Charlie
[OperatingSystem]
OperatingSystem=Linux
KernelRelease=2.6.24-25-generic
DistributionVendor=ubuntu
DistributionRelease="Ubuntu 8.04.3 LTS"
[System]
CPUArchitecture=i686
TotalRam=506932 kB
[Gambas]
Gambas1=gbx-1.0.17
Gambas1Path=/usr/bin/gbx
Gambas2=2.17.0
Gambas2Path=/usr/local/bin/gbx2
Gambas3=2.99.0
Gambas3Path=/usr/local/bin/gbx3
firstTry-0.0.1.MakeLink.tar.gz
Description: application/compressed-tar
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-devel
--- End Message ---
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user