Every time I start working on a new J2EE web application, I need to create the various Eclipse projects that I'll fill up. This includes the top-level project that generates the EAR, a WAR project, etc. I usually only have to do this every couple of months, so I never remember the exact steps - specifically, which Eclipse Project Wizards to use for each project in the webapp.
每次我开始研究新的J2EE Web应用程序时,我都需要创建我将填充的各种Eclipse项目。这包括生成EAR的*项目,WAR项目等。我通常每隔几个月只需要这样做,所以我永远不会记住确切的步骤 - 具体来说,Eclipse Project Wizards用于每个项目webapp。
I have enough old J2EE projects laying around that they could serve as good reference if only I could actually see which Wizard created them. Is there a way to recover this information?
我有足够的旧J2EE项目,只要我能真正看到哪个向导创建它们,它们就可以作为很好的参考。有没有办法恢复这些信息?
3 个解决方案
#1
4
I don't think it is possible.
我不认为这是可能的。
What I would suggest is to use Maven. It has archetypes to automatically create specific types of projects. It is even easier in Eclipse with m2eclipse plugin. Take a look here
我建议使用Maven。它具有自动创建特定类型项目的原型。使用m2eclipse插件在Eclipse中更容易。看看这里
#2
0
I don't think that information is stored anywhere.
我不认为信息存储在任何地方。
However you can look at the .project xml file that every project has in Eclipse. You want to look at the <natures> element specifically, that will give you a hint of what type of project you want to create.
但是,您可以查看Eclipse中每个项目都具有的.project xml文件。您希望专门查看
#3
0
The best system I found since asking this is to look at a project's facets. If needed I can compare an existing Eclipse project to a newly created one from the wizard; if the facets are identical, then I've (re)found the right wizard.
我问过这个问题后找到的最好的系统就是看项目的各个方面。如果需要,我可以将现有Eclipse项目与向导中新创建的项目进行比较;如果方面相同,那么我(重新)找到了正确的向导。
#1
4
I don't think it is possible.
我不认为这是可能的。
What I would suggest is to use Maven. It has archetypes to automatically create specific types of projects. It is even easier in Eclipse with m2eclipse plugin. Take a look here
我建议使用Maven。它具有自动创建特定类型项目的原型。使用m2eclipse插件在Eclipse中更容易。看看这里
#2
0
I don't think that information is stored anywhere.
我不认为信息存储在任何地方。
However you can look at the .project xml file that every project has in Eclipse. You want to look at the <natures> element specifically, that will give you a hint of what type of project you want to create.
但是,您可以查看Eclipse中每个项目都具有的.project xml文件。您希望专门查看
#3
0
The best system I found since asking this is to look at a project's facets. If needed I can compare an existing Eclipse project to a newly created one from the wizard; if the facets are identical, then I've (re)found the right wizard.
我问过这个问题后找到的最好的系统就是看项目的各个方面。如果需要,我可以将现有Eclipse项目与向导中新创建的项目进行比较;如果方面相同,那么我(重新)找到了正确的向导。