External output folder in eclipse

前端 未结 1 1465
眼角桃花
眼角桃花 2020-11-27 17:44

Is there a way in eclipse to make the project\'s output folder an external folder, instead of a folder located under the project root?

相关标签:
1条回答
  • 2020-11-27 18:48

    Yes, you can define it as a linked folder.

    http://archive.eclipse.org/eclipse/downloads/drops/R-2.1-200303272130/images/linked-resource.gif

    This this SO answer for more (or this one)

    To create a new linked folder select New->Folder, input bin in the folder name: field then click Advanced>>

    Click Link to folder in the file system
    Click on Variables... to bring up the Select Path Variable dialog.

    If this is your first time, or you are linking to a new location select New... and give the variable a sensible name and path.

    More precisely, you define your output directory (say 'bin') as a linked folder, then you set that directory as the official output one of your project.

    0 讨论(0)
提交回复
热议问题