diff options
Diffstat (limited to 'platform_specific/2019-12/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt')
-rw-r--r-- | platform_specific/2019-12/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/platform_specific/2019-12/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt b/platform_specific/2019-12/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt new file mode 100644 index 000000000..4ab8c36b4 --- /dev/null +++ b/platform_specific/2019-12/org.eclipse.egf.emf.pattern/templates/pattern._Pcm9tDG0Ed-kc8dEZsdm2w/method._PcwusjG0Ed-kc8dEZsdm2w.pt @@ -0,0 +1,38 @@ + +<% +/** + * Copyright (c) 2002-2010 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v2.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v20.html + * + * Contributors: + * IBM - Initial API and implementation + */ +%> +<%GenModel genModel = (GenModel)argument;%> +<%String pluginClassesLocation = genModel.isRuntimeJar() ? genModel.getModelPluginID()+".jar" : ".";%> +<%List<String> sourceFolders = genModel.getModelSourceFolders();%> +<%@ egf:patternCall patternId="platform:/plugin/org.eclipse.egf.emf.pattern.base/egf/EMF_Pattern_Base.fcore#LogicalName=org.eclipse.egf.emf.pattern.base.HeaderProperties" args="parameter:argument"%> + +bin.includes = <%=pluginClassesLocation%>,\ + model/,\ +<%if (genModel.sameModelEditProject() || genModel.sameModelEditorProject()) {%> + icons/,\ +<%}%> +<%if (genModel.isBundleManifest()) {%> + META-INF/,\ +<%}%> +<%if (genModel.getRuntimePlatform() != GenRuntimePlatform.GWT) {%> + plugin.xml,\ +<%}%> +<%String modelBundleLocalization = genModel.getModelBundleLocalization(); int index = modelBundleLocalization.indexOf("/"); if (index == -1) {%> + <%=modelBundleLocalization%>.properties +<%} else {%> + <%=modelBundleLocalization.substring(0, index + 1)%> +<%}%> +jars.compile.order = <%=pluginClassesLocation%> +<% boolean first=true; for (Iterator<String> i = sourceFolders.iterator(); i.hasNext();) { String sourceFolder = i.next(); if (i.hasNext()){sourceFolder +=",\\";} if (first) {%> +source.<%=pluginClassesLocation%> = <%=sourceFolder%><%first=false;} else {%><%=sourceFolder%><%}}%> +output.<%=pluginClassesLocation%> = bin/ |