Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Why the Unpack the plug-in archive after the installation doesn't work?
Why the Unpack the plug-in archive after the installation doesn't work? [message #45869] Mon, 09 February 2009 14:52 Go to next message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

Hi All:

I followed the article http://www.vogella.de/articles/EclipsePDEBuild

/article.html,and successed in building my rcp with ant script。My rcp

has three plugins , all is .jar ,but I want it is a directory (becase

my rcp application will acess the conf file in the directory,it can't

find the file when it is a jar which puzzled me a lot. ) .

1) first problem : in the feature project,I selected "the Unpack the
plug-in archive

after the installation ",but it doesn't work.Can anybody tell me

why?And how can I get the three plugins in a single directory ?

2) the second : when I exe my rcp application,it displays in wrong
encoding ?How can I compile my rcp with <javac encoding="UTF-8",so I can
get the correct encode when I run my rcp application.


Any help would be greatly appreciated.

sunway.
Re: Why the Unpack the plug-in archive after the installation doesn't work? [message #46230 is a reply to message #45869] Tue, 10 February 2009 15:21 Go to previous messageGo to next message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
sunway wrote:

> (becase my rcp application will acess the conf file in the directory,it can't

> find the file when it is a jar which puzzled me a lot. ) .

Are you not able to load the file from the bundle?
(Platform.getBundle("id").getResource("name")) Then you don't need a
folder to access the file.
Re: Why the Unpack the plug-in archive after the installation doesn't work? [message #46655 is a reply to message #46230] Thu, 12 February 2009 01:34 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-02-10 23:21, Matthias Kappeller 写道:
> sunway wrote:
>
>> (becase my rcp application will acess the conf file in the
>> directory,it can't
>
>> find the file when it is a jar which puzzled me a lot. ) .
>
> Are you not able to load the file from the bundle?
> (Platform.getBundle("id").getResource("name")) Then you don't need a
> folder to access the file.
>
>
I tryed this ,but it doesn't work.It seems that in 3.5 will solve this
problem? see this :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562,
http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundle shape/
Re: Why the Unpack the plug-in archive after the installation doesn't work? [message #591748 is a reply to message #45869] Tue, 10 February 2009 15:21 Go to previous message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
sunway wrote:

> (becase my rcp application will acess the conf file in the directory,it can't

> find the file when it is a jar which puzzled me a lot. ) .

Are you not able to load the file from the bundle?
(Platform.getBundle("id").getResource("name")) Then you don't need a
folder to access the file.
Re: Why the Unpack the plug-in archive after the installation doesn't work? [message #591890 is a reply to message #46230] Thu, 12 February 2009 01:34 Go to previous message
Eclipse UserFriend
Originally posted by: jiaoxw.css.com.cn

于 2009-02-10 23:21, Matthias Kappeller 写道:
> sunway wrote:
>
>> (becase my rcp application will acess the conf file in the
>> directory,it can't
>
>> find the file when it is a jar which puzzled me a lot. ) .
>
> Are you not able to load the file from the bundle?
> (Platform.getBundle("id").getResource("name")) Then you don't need a
> folder to access the file.
>
>
I tryed this ,but it doesn't work.It seems that in 3.5 will solve this
problem? see this :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=157562,
http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundle shape/
Previous Topic:OSGi running my own embedded Jetty, dependent plugins not starting?
Next Topic:Access Restrictions - How to get rid of these?
Goto Forum:
  


Current Time: Sat Jun 12 12:32:04 GMT 2021

Powered by FUDForum. Page generated in 0.02636 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top