Is it possible to mark files / folders in Eclipse as generated?

my project structure is as follows:

src/main/java
src/main/resources
src/main/generated
....

in the generated folder, I put the files that are generated by external software (for example, classes created by JAXB).

In Eclipse, all mentioned folders are marked as source folders.

Is it possible to mark the file in src / main / generated as "generated" or block them differently so that the developer in eclipse cannot change them?

+4
source share
2 answers

I don't know if this can be done using the Eclipse user interface, but there are APIs that allow the plug-in to mark something as a "derived resource".

Link:

, / .

+1

- Eclipse, .

, " ".

"", . " ". " " "".

"".

Eclipse, .

0

Source: https://habr.com/ru/post/1568494/


All Articles