What does the exported attribute in .classpath do?

Spread the love

Question Description

This question already has an answer here:

What does the exported attribute do in this .classpath line?

I’ve got a project that builds & runs fine with and without it. So, what difference does it make?

Apparently in my particular case (a project I inherited) it isn’t critical to have it. When is it critical to have this attribute added?

Practice As Follows

When it is exported, it is available to other eclipse projects. In maven, if you have multiple projects that depend on each other, eclipse can resolve projects within the workspace. So changing that is likely to have an effect when you have multiple projects.

You may be interested in these books.


As an Amazon Associate I earn from qualifying purchases.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.