Community
Participate
Working Groups
Build Identifier: M20110909-1335 I use the emf.Ecore2Java task to generate my source code. The editor plugin gets completely generated but is not a java project. Here the .project file: <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>xxx.xxx.xxx</name> <comment></comment> <projects> </projects> <buildSpec> </buildSpec> <natures> </natures> </projectDescription> plugin.xml etc. look fine. It seems that something goes wrong with generating the .project file Reproducible: Always
Might it be the case that file existed before you ran the generator? I'm unlikely to find time in the foreseeable future to look at Ant problems...
Maybe there can be these people could help with the ant stuff: http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-ant/
Can you confirm that this isn't just a problem with creating a project in a location that's already populated with files like the .project file. That's the only time I've seen such a problem...
Hi, my .edit plugin is under version control there everything worked fine. The .editor plugin was completly newly created. After having a by hand created plugin the .editor plugin generation works fine as well. Therefore I versioned my .editor plugin as well to fix the problem. Ralph
When I modify our tools tests to generate edit and editor projects they end up looking like this: ?xml version="1.0" encoding="UTF-8"?> projectDescription> <name>library.java.1.4.editor</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.pde.ManifestBuilder</name> <arguments> </arguments> </buildCommand> <buildCommand> <name>org.eclipse.pde.SchemaBuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.pde.PluginNature</nature> </natures> /projectDescription> So it looks to me like it's working properly.
Hi Ed, what is the plugin name in the CVS so that I can check it out? Is it somewhere around org.eclipse.emf/org.eclipse.emf/tests/ in the CVS? Thanks, Ralph
It's org.eclipse.emf.test.tools. I couldn't figure out how to make the tests generate edit and editor stuff, so I used the debugger to modify the values of edit and editor in Generator.PlatformRunnable to be true.