Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » bundles vs. .project file
bundles vs. .project file [message #464731] Tue, 29 November 2005 09:35 Go to next message
Eclipse UserFriend
Originally posted by: philipp.kutter.org

Dear all.
I asked the following in the newcommers newsgroup, but got never an answer.
We are still very interested in the topic.

Dear all.
We work on a large Java project, and we have used the normal project file
for dependencies between Java projects.


Some people in the project propose that we switch completly
to bundles, using manifest.mf files to define the dependencies
and the jar files which we use.


Since we are not using runtime workbenches and since
we do not create plugins, not all people do see the
advantage.

Especially they noted that the use of visility rules in
the .project file give exactly the same advantage as package import and
export in bundles.


Can you please advice us whether to move to bundles or not?


Best Regards, Philipp
Re: bundles vs. .project file [message #464735 is a reply to message #464731] Tue, 29 November 2005 10:13 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
Are you planning on dstributing your project in an OSGI Enviroment? Is
the visibility of packages the only reason why you are considering bundles?
If not I would not use the manifest approach since you are not using any
of the features that it is intended for.

If you are distributing in an OSGI Enviroment I would recommend going
the bundle way.

Regards
Stefan

Philipp Kutter wrote:
> Dear all. I asked the following in the newcommers newsgroup, but got
> never an answer.
> We are still very interested in the topic.
>
> Dear all.
> We work on a large Java project, and we have used the normal project
> file for dependencies between Java projects.
>
>
> Some people in the project propose that we switch completly
> to bundles, using manifest.mf files to define the dependencies
> and the jar files which we use.
>
>
> Since we are not using runtime workbenches and since
> we do not create plugins, not all people do see the
> advantage.
>
> Especially they noted that the use of visility rules in
> the .project file give exactly the same advantage as package import and
> export in bundles.
>
>
> Can you please advice us whether to move to bundles or not?
>
>
> Best Regards, Philipp
>
>
>
Re: bundles vs. .project file [message #464823 is a reply to message #464731] Wed, 30 November 2005 14:31 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You will probably get a better response to this Eclipse Workbench question
on the eclipse platform newsgroup.

news://news.eclipse.org/eclipse.platform

"Philipp Kutter" <philipp@kutter.org> wrote in message
news:c05796decf728691385f1e15f59a4226$1@www.eclipse.org...
> Dear all. I asked the following in the newcommers newsgroup, but got never
> an answer.
> We are still very interested in the topic.
>
> Dear all.
> We work on a large Java project, and we have used the normal project file
> for dependencies between Java projects.
>
>
> Some people in the project propose that we switch completly
> to bundles, using manifest.mf files to define the dependencies
> and the jar files which we use.
>
>
> Since we are not using runtime workbenches and since
> we do not create plugins, not all people do see the
> advantage.
>
> Especially they noted that the use of visility rules in
> the .project file give exactly the same advantage as package import and
> export in bundles.
>
>
> Can you please advice us whether to move to bundles or not?
>
>
> Best Regards, Philipp
>
>
>
Re: bundles vs. .project file [message #464842 is a reply to message #464731] Wed, 30 November 2005 16:11 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Bundles (and the OSGI manifest) are necessary when you're running in an OSGI environment, such as you get with Eclipse plugins. However, if you're just using Eclipse as a Java IDE, then it's really unlikely that it will bring you any benefit at all.

In order for Manifest.MF files to be useful (as OSGI bundles), you'll have to have them hosted in another OSGI-aware system. It's highly unlikely you've got that.

Lastly, Eclipse uses the .project to track dependencies between projects (and the corresponding entries in .classpath), so if you want Eclipse to have inter-project dependencies for compilation, you *have* to use the .project/.classpath dependencies.

Alex.
Previous Topic:OleAutomation parameters problem
Next Topic:ProgressBar.getSelection()
Goto Forum:
  


Current Time: Tue Dec 10 14:39:12 GMT 2024

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

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

Back to the top