开发者

creating a "export to eclipse" feature. where can I get the project files specifications?

开发者 https://www.devze.com 2023-01-27 15:50 出处:网络
I am working in a small java editor and I want to add a feature to export a project to a eclipse java project format. I know I have to create a .project and .classpath files. I would like to know wher

I am working in a small java editor and I want to add a feature to export a project to a eclipse java project format. I know I have to create a .project and .classpath files. I would like to know where I can find information of what kind of information these files can store. I have checked some files from projects but it's difficult to get all the possiblities from a few examples.

I have tried to search for the specification, but I didnt find it. Does anyone knows where can I开发者_如何学Go find such information (besides eclipse source code) ?

thanks for your help


Create a maven project instead and invoke "mvn eclipse:eclipse".


As said in Thorbjørn Ravn Andersen's answer, Maven Eclipse plugin does that kind of thing. You should have a look at its source, especially EclipseClasspathWriter and EclipseProjectWriter

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号