On 6/7/10 10:24, Stijn de Witt wrote:
Ok.. sorry to keep spamming you guys with my thoughts.. but:

Thinking about this more I don't understand how it's possible that File
Install does not re-install all the bundles that were already in the
Felix bundlecache? Somewhere there must be a flaw in my thinking....

Any ideas?

I believe it stores info about the installed bundles into its private data area and then uses this as the baseline to determine if the bundles in the watched directory are different than what it last saw.

-> richard

-Stijn


-----Original Message-----
From: Stijn de Witt [mailto:[email protected]]
Sent: maandag 7 juni 2010 16:15
To: [email protected]
Subject: RE: File Install treats manually installed bundles as new when
it starts

I have been reading the code for File Install and it looks like it keeps
track of a list of bundles that it is managing in
DirectoryWatcher.currentManagedArtifacts (package private). When it
encounters an artifact that is not already in that list, it assumes it
must be new and installs it. There seems no easy way to prevent this
behavior.

I assumed that File Install would not attempt to install bundles that
were already running, but thinking more about it, it makes sense that it
has to keep track of the list of installed bundles itself. Being a
separate bundle it has no intimate knowledge of the Felix bundlecache...

-Stijn


-----Original Message-----
From: Stijn de Witt [mailto:[email protected]]
Sent: maandag 7 juni 2010 11:30
To: [email protected]
Subject: File Install treats manually installed bundles as new when it
starts

Hi,



As part of our upgrade process, we install our application's bundles
manually to prevent File Install from running during the upgrade. Once
the upgrade has completed, we start File Install.

However, at that point it treats all bundles we already started manually
as 'new' and starts uninstalling the old ones and installing the 'new'
ones. So basically we see all our bundles being installed again.

Does anyone maybe recognize this behavior? Can we prevent it from
happening?



-Stijn




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to