Hi, Mark.
Thanks for sharing your thoughts.
Yes, in Equinox, we can configure the configuration area to hold the bundle
cache. It can be passed in as a system property. See [1]. By default, we
select the tmp folder.
We can enhance our OSGi JUNIT test maven plugin to expose
osgi.configuration.area as a configuration parameter so that it can be
configured in pom.xml to point to the target folder.
[1]
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html
Thanks,
Raymond
--------------------------------------------------
From: "Mark Combellack" <[email protected]>
Sent: Wednesday, January 20, 2010 3:26 PM
To: <[email protected]>
Cc: <[email protected]>; <[email protected]>
Subject: Re: Build failed in Hudson: Tuscany-2x #395
Hi,
I did a bit of looking around at this issue and notice this bug report for
another project.
http://jira.zutubi.com/browse/CIB-2124
Perhaps the same solution of making the OSGI configuration area read only
might work for us. Unfortunately, I don't know enough about OSGI to work
out the consequences of doing this.
Thanks,
Mark
Raymond Feng wrote:
The OSGi runtime tries to create the cache for bundles under the user's
temporary directory. I remember I ran into a case where some of the
folders on the path are owned by another user and the running user cannot
create such files.
Is there any way to find out the directory permissions on the build
machine?
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Tuesday, January 19, 2010 2:03 AM
To: <[email protected]>
Subject: Re: Build failed in Hudson: Tuscany-2x #395
On Fri, Jan 15, 2010 at 9:28 AM, Simon Laws <[email protected]>
wrote:
hmmm is this another new random one? Or has anyone seen this before?
Simon
These OSGi samples seem to fail now quite often, almost every other
time the Hudson build runs. What is the error about? Could there be
some timing or race condition bug that we need to track down?
Caused by: java.io.IOException: The directory
"/tmp/hudson/.tuscany/equinox/f90e7d4b-f3c9-4df5-9f5e-d9c4a955a32b/config/org.eclipse.osgi/bundles/1/1"
could not be created
...ant