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
精彩评论