What are derived files in Eclipse?

前端 未结 6 1074
清酒与你
清酒与你 2021-02-06 20:54

I have problem with derived files. Some of my files in my project are \'derived\'. When I want to edit these files, I get the following message:

"This f

6条回答
  •  无人及你
    2021-02-06 21:34

    i had this problem after creating a LaTeX document with TeXlipse. TeXlipse placed the output (PDF) file in the same folder, and marked the entire folder with Derived attribute. Derived files are those that have been automatically generated and should not be edited or the changes will be lost next time the files are regenerated. Clearly not all the files in the folder were derived. By right clicking on the folder and selecting Properties, I could see that the Derived attribute was set, but unchecking it did not help (next time it was checked again).

    If the problem actually is with Maven, then this won't work, but in case somebody is having this problem after creating a TeXlipse document, here's the solution:

    1. Right click on the project, select Properties, then select Latex Project Properties.
    2. Either uncheck Set LaTeX output files as derived, or modify the Output File path so that the file will be written into the project root or into a different folder.
    3. Right click on the folder that has the Derived attribute, select Properties, uncheck Derived.

提交回复
热议问题