PDA

View Full Version : Deploying bundle in ext Vs usr



vishalj
Jan 23rd, 2009, 06:27 AM
What difference does it make when bundles are deployed in repository/bundles/usr versus ..../ext
As for me sometime it works with usr and some time with ext

vishalj
Jan 23rd, 2009, 06:29 AM
Am i getting issue because their are some common classes in ext and usr

Glyn Normington
Jan 26th, 2009, 03:12 AM
/ext is intended to be for dm Server use only, so users must not add their own bundles and libraries in /ext. /usr is the place for users to put their bundles and libraries.

The purpose of these directories is to hold bundles and libraries that will be referred to by bundles that are subsequently installed.

Please could you describe the symptoms of the problem you are seeing?

vishalj
Jan 27th, 2009, 12:21 AM
Thanks Glyn

I wanted to update a bundle to higher version,the bundle already being present in the repository/bundles/ext do i replace it in ext or place a newer one in usr directory

Glyn Normington
Jan 27th, 2009, 03:43 AM
It's probably best to put the higher version in /usr and then code your application's dependencies so that only the higher version falls in the version range, since /ext is normally searched before /usr.

Alternatively, you could experiment with changing the search order of /ext and /usr, but this seems riskier as it could disrupt the behaviour of dm Server. The User Guide describes how to do this.