| Summary: | EMF emf.Ecore2Java task does not make editor project java nature | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Ralph Gerbig <ralphgerbig> |
| Component: | Core | Assignee: | Ed Merks <Ed.Merks> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Ralph Gerbig
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. |