[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: add copyright information in EMF generated Java

Liangzhao,

I don't have a 2.2 base installed on my new machine, but as far as I know, there has been a copyright property on the GenModel for an extremely long time, i.e., since at least 2004.


liangzhao zeng wrote:
My question this that in EMF framework, the Class.javajet already refer to copyrigh information, it should have some way to set it. as you can see in the Class.javajet, we have
<%if (genModel.getCopyrightText() != null) {%>
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
<%=publicStaticFinalFlag%><%=genModel.getImportedName("java.lang.String")%> copyright = "<%=genModel.getCopyrightText()%>";<%=genModel.getNonNLS()%>


<%}%>


anyway, thanks a lot.

Liangzhao