Skip to main content

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

I suggest you ask this question to EMF developers. This is their code
and they should be able to tell if there is a better way to run EMF code
generation now.

--
Regards,
Igor

On 2/18/2014, 3:26, Huijsmans, Martien wrote:
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



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



Back to the top