Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Is the hwellman approach deprecated?

Hi all,

 

I am looking at how to integrate EMF code generation from an Ecore model into a Tycho build.

 

One option is described here: https://gist.github.com/hwellmann/6044835

It uses: org.eclipse.emf.codegen.ecore.Generator

When I look at the Generator code at

https://eclipse.googlesource.com/emf/org.eclipse.emf/+/ddaa455d58d2186cb198dde28bd1bf468207f38f/plugins/org.eclipse.emf.codegen.ecore/src/org/eclipse/emf/codegen/ecore/Generator.java
I see
  @Deprecated

  public static void main(String args[])

  {

    new Generator().run(args);

  }

 

Questions:

1)      does the implementation from hwellmann make use of that deprecated API?

2)      If the answer to 1) is yes, does that imply that the hwellmann implementation is basically also deprecated?
If the answer to 1) is no, can you explain?

 

Regards Martien


Back to the top