Hi, we are building a platform which allow to deploy and execute OSGI
components.
Those OSGI components are developed by our customers and we do not have control
one those components.
The application is a JEE one and is deployed inside JBoss AS, we also use an
embedded Felix container.
We ha
On Fri, Oct 2, 2009 at 10:48 AM, Baptiste Gaillard
wrote:
>
> Hi, we are building a platform which allow to deploy and execute OSGI
> components.
>
> Those OSGI components are developed by our customers and we do not have
> control one those components.
> The application is a JEE one and is depl
.path = fs.normalize(pathname);
this.prefixLength = fs.prefixLength(this.path);
}
}
Do you think something like that is feasible ?
> Date: Fri, 2 Oct 2009 10:51:21 +0200
> Subject: Re: OSGI bootdelegation and java.io.File ?
> From: karlpa...@gmail.com
> To: users@fel
.prefixLength(this.path);
> }
>
> }
>
> /**
> * SUN version of java.io.File
> */
> class File {
>
>
>
> public File(String pathname)
>
> {
>
> this.path = fs.normalize(pathname);
>
> this.prefixLength = fs.prefixLength(this.path);
>
is.prefixLength = fs.prefixLength(this.path);
>
>}
>
>
>
> }
>
> Do you think something like that is feasible ?
>
>
>
>
> > Date: Fri, 2 Oct 2009 10:51:21 +0200
> > Subject: Re: OSGI bootdelegation and java.io.File ?
> > From: karlpa...@
fs.prefixLength(this.path);
>> }
>>
>> }
>>
>> /**
>> * SUN version of java.io.File
>> */
>> class File {
>>
>>
>>
>> public File(String pathname)
>>
>> {
>>
>> this.path = fs.normalize(pathname);
>
{
this.path = fs.normalize(pathname);
this.prefixLength = fs.prefixLength(this.path);
}
}
Do you think something like that is feasible ?
Date: Fri, 2 Oct 2009 10:51:21 +0200
Subject: Re: OSGI bootdelegation and java.io.File ?
From: karlpa...@gmail.com
To: users@felix.ap
Ok, so I think the best solution in this case is to write a guide and explain
what to do and not to do to make the components compatible with our platform.
Thanks a lot,
Baptiste
> Date: Fri, 2 Oct 2009 11:26:08 +0200
> Subject: Re: OSGI bootdelegation and java.io.File ?
>
t; */
> class File {
>
>
>
> public File(String pathname)
>
> {
>
> this.path = fs.normalize(pathname);
>
> this.prefixLength = fs.prefixLength(this.path);
>
> }
>
>
>
> }
>
> Do you think something like t
he boot class path but the 'java.io.File' class to
developp will be very compilcated.
Thanks,
Baptiste
> Date: Fri, 2 Oct 2009 11:34:13 +0200
> From: he...@ungoverned.org
> To: users@felix.apache.org
> Subject: Re: OSGI bootdelegation and java.io.File ?
>
change it to an absolute one
using BundleContext.getDataFile(String)
But I don't know how to do that, perhaps it's not possible...
> Date: Fri, 2 Oct 2009 11:40:05 +0200
> From: fmesc...@gmail.com
> To: users@felix.apache.org
> Subject: Re: OSGI bootdelegation and
ut it will not be super easy...
regards,
Karl
>
>> Date: Fri, 2 Oct 2009 11:40:05 +0200
>> From: fmesc...@gmail.com
>> To: users@felix.apache.org
>> Subject: Re: OSGI bootdelegation and java.io.File ?
>>
>> Hi,
>>
>> Besides that probably not work
ts
onto the cloud,
where you don't always have access to the raw file-system. The File API is
good for quick
prototyping, but these days I mostly try to abstract it beneath a general
resource API.
--
Cheers, Stuart
Thanks,
>
> Baptiste
>
> > Date: Fri, 2 Oct 2009 11
13 matches
Mail list logo