deploying stand alone application for mac
Gerhard Meier
gerrri at gmx.de
Tue Dec 22 09:52:59 CST 2009
Hi Ruslan,
the database is in a subfolder 'Data'
so I open it with gDb.open
the movie path & "Data:dbname.vdb"
The error message is
'Director Player Error: Script Error. Continue?'
If I say Yes, then the app continues.
But there is no access to the database.
I'll try making the db-files read-only.
What actually is the V4MD_v4 SCRIPT doing? Just copying the vcomponents into the app or are there other things be done?
So, as I already said: the first time it worked. Then it didn't. Strange.
There is another problem or question:
Making the app standalone with the vcomponents-script makes the app very big. Before it is about 10 MB, after it is 60 MB and it takes a minute starting the app from the CD. This is almost inacceptable slow.
I have another CD using Valentina for DB-queries. And except of the DB-files themselves (.dat, .vdb, .indI) I can't see there any Valentina-Standalone-Files, no files on mac and no on win partition. But the db-queries work. The only thing I see is the V4MD.xtra in the Xtra-Folder (better say: they use the V4MD_carbon.xtra; I use V4MD.xtra; should I take the carbon one?)
So: do they use another way making the CD standalone for DB-queries? It seems that on that CD the V4MD_carbon.xtra is enough
Thanks a lot
Gerri
-------- Original-Nachricht --------
> Datum: Tue, 22 Dec 2009 10:22:11 +0200
> Von: Ruslan Zasukhin <ruslan_zasukhin at valentina-db.com>
> An: Valentina Developers <valentina at lists.macserve.net>
> Betreff: Re: deploying stand alone application for mac
> On 12/22/09 1:41 AM, "Gerhard Meier" <gerrri at gmx.de> wrote:
>
> Hi Gerhard,
>
> > I'm getting mad.
> > I want to deploy the director projector on a hybrid CD with a mac and a
> PC
> > Partition.
> > The PC part works very well.
> > As described on
> >
> http://valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4md:manua
> > l:deployment:win
> > I just copied the content of the vcomponents.. Folder onto the CD.
> >
> > But Mac doesn't work.
> > I exactly followed the steps described on
> >
> http://valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4md:manua
> > l:deployment:mac_ub
> > and used the script V4MD_v4 SCRIPT for V4MD 4.0, which also worked.
> After
> > applying it to the projector-app, it contains a vcomponents folder.
> >
> > This app and it's necessary files work on harddisk very well, there is
> access
> > to the database. And I would say, standalone-like, because when I copy
> that
> > folder (not on disk but on stick) to another mac-computer, it also
> works,
> > having access to the database, even if there is no Valentina with it's
> > vcomponent-folder installed on that computer.
> >
> > But as soon as I copy the files into a partition having created to burn
> the
> > CD, the app has no access to the database anymore.
> >
> > And the strangest thing is: at the first time I burned the hybrid CD, it
> > workes!!
> > But it was just a test and I had to do some small changes.
> > And then the described anoying behavior. Although I did the same as I
> did at
> > the first time.
> > Even when I copy the files of the disk, which is already working, onto
> the
> > toast-mac-partition to burn: before copying they work (access to
> database),
> > after it doesn't.
> >
> > Why ????????????????????????
> >
> > Why does it behave on a parition different to that it does in a folder
> on
> > another computer with no Valentina (that is there standalone).
>
> Mystic ... Questions:
>
> ** How your app find DB files?
> they are located near to APP?
>
> So app uses something as
> path = the movie path & "dbname.vdb"
> ?
>
>
> ** what exactly error you get?
> file not found?
> there is no rights to open file?
>
>
> ** may be try to mark db files to be read only before put them on CD ...
>
>
> --
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
--
http://homepages.uni-regensburg.de/~meg08124/
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the Valentina
mailing list