newbie question: how to open file in bundle

2 messages Options
Embed this post
Permalink
MayankT

newbie question: how to open file in bundle

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Hi,

I have a file in the bundle. When I try to open the file, the path shows up as the path on my drive. It doesn’t open the file inside the bundle.

       File file = new File("/wsdl/services/FaultService.wsdl");

I am working from inside eclipse. I exported the bundle and could see that the file is present inside it.

Please help!

 

Regards

Mayank

 

********************************************************************************************************
 This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

 

mraible

Re: newbie question: how to open file in bundle

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I believe you're posting to the wrong project - you should google for "Eclipse Equinox" to find the right OSGi-related project.

Matt

On Jan 16, 2008, at 9:18 PM, Mayank Thakore wrote:

Hi,
I have a file in the bundle. When I try to open the file, the path shows up as the path on my drive. It doesn’t open the file inside the bundle.
       File file = new File("/wsdl/services/FaultService.wsdl");
I am working from inside eclipse. I exported the bundle and could see that the file is present inside it.
Please help!
 
Regards
Mayank
 
********************************************************************************************************
 This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!