从Eclipse加载整个项目(关于源代码)

时间:2021-08-11 19:03:26

I am working on buid a plugin of Eclipse. In one step, i load the project through scan classpath,but the feedback from requirement is:

我正在开发一个Eclipse插件。在一个步骤中,我通过扫描类路径加载项目,但需求的反馈是:

Loading projects encompasses two things:

加载项目包含两件事:

  1. Loading multiple files from the same directory/package
  2. 从同一目录/包中加载多个文件

  3. Including files from other packages through for instance Eclipse's .classpath files
  4. 包括来自其他包的文件,例如Eclipse的.classpath文件

Since the prototype will be built into an Eclipse plugin anyways, is it fine to use Eclipse stuff, like the .classpath files? you are now loading and reading these files yourself. It might be more convenient to use Eclipse code for this, since it has to be already there.

既然原型将被构建到Eclipse插件中,那么使用Eclipse的东西是否合适,比如.classpath文件?您现在正在自己加载和阅读这些文件。为此使用Eclipse代码可能更方便,因为它必须已经存在。

I have no idea how to deal with it from Eclipse, can anybody help?

我不知道如何从Eclipse处理它,任何人都可以帮忙吗?

1 个解决方案

#1


0  

I think you're looking for PDE build. You could have a look at this tutorial.

我想你正在寻找PDE构建。你可以看看这个教程。

#1


0  

I think you're looking for PDE build. You could have a look at this tutorial.

我想你正在寻找PDE构建。你可以看看这个教程。