Beautiful! Works a treat now.
Thanks Filippo and Guido
Just a couple of things to watch for:
- as you said Filippo, I had to define "felix.fileinstall.dir" as the
full path from where I started Knopflerfish and not from where the
config file was located i.e. felix.fileinstall.dir=watchedDir/watchedSubDir
- also seems to have problems with spaces in the filenames. I'm running
on windows and when the FileInstall resolves the location of the config
files as E:/Documents and Settings/<some path> it throws an error. If I
put Knopflerfish directly under E:/ all is ok! I'm not specifying this
path in any file, it is just resolved to that by the bundle.
Thanks again,
Fiona.
Filippo Diotalevi wrote:
On Thu, Jun 11, 2009 at 9:42 AM, Guido Spadotto<[email protected]> wrote:
Hi Filippo,
I've had a quick look at the Compendium R4, V4.1.
On Section 104.4.2 it reads:
/The value of the property may be of the following types:
type ::= simple | vector | arrays
simple ::= String | Integer | Long | Float | Double| Byte | Short |
Character | Boolean
primitive ::= long | int | short | char | byte | double | float | boolean
arrays ::= primitive ‘[]’ | simple ‘[]’
vector ::= Vector of simple
/
So, apart from this particular case with KF-specific properties, it might
still
be worth to be aware of 'simple' (not 'primitive') property types in the
Configuration Dictionary.
Hi,
so I was able to reproduce easily the problem with Knopflerfish, and
submitted a patch for that at
https://issues.apache.org/jira/browse/FELIX-1216
As for the original Fiona's email, I hope the patch fixes her bug too,
since the file she was referring to (props.xargs file) is indeed a
Knopflerfish file.
--
Fiona Mahon
Pervasive Communication Services(PCS),
Applied Research
Telecommunications Software & Systems Group (TSSG),
ArcLabs Research and Innovation Building,
Waterford Institute of Technology,
Carriganore Campus, Carriganore,
Co. Waterford, Ireland
www: www.tssg.org/people/fmahon
tel: +353 (0)51 302 928
fax: +353 (0)51 341 100
e-mail: [email protected]
Skype: fiona_mahon