Skip to content

Commit

Permalink
Merge pull request #31 from ideas-into-software/emf-r-lang-exporter
Browse files Browse the repository at this point in the history
Gecko EMF R Language Exporter - custom implementation
  • Loading branch information
juergen-albert committed Jan 8, 2024
2 parents d73bd92 + 54dcfb8 commit f177a27
Show file tree
Hide file tree
Showing 53 changed files with 216,035 additions and 11 deletions.
2 changes: 2 additions & 0 deletions cnf/build.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ javac.target: 11
#X-Test: ${if;${def;releaseNotNeeded};local;remote}
X-Test: ${-maven-release.local}
X-Test2: ${-maven-release}

-jpms-module-info:
1 change: 0 additions & 1 deletion cnf/local/index.xml.sha

This file was deleted.

11 changes: 11 additions & 0 deletions org.gecko.emf.exporter.r_lang.api/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 2 additions & 0 deletions org.gecko.emf.exporter.r_lang.api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/bin/
/bin_test/
23 changes: 23 additions & 0 deletions org.gecko.emf.exporter.r_lang.api/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.gecko.emf.exporter.r_lang.api</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
encoding/bnd.bnd=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11
12 changes: 12 additions & 0 deletions org.gecko.emf.exporter.r_lang.api/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Bundle-Version: 1.0.0.SNAPSHOT
Bundle-Name: Gecko EMF R Language Exporter API
Bundle-Description: R Language Exporter API for EMF

-library: enable-emf

-buildpath: \
org.gecko.emf.exporter,\
org.apache.commons.commons-text,\
slf4j.api

Export-Package: org.gecko.emf.exporter.r_lang.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2012 - 2023 Data In Motion 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:
* Data In Motion - initial API and implementation
*/
package org.gecko.emf.exporter.r_lang.api;

import org.gecko.emf.exporter.EMFExportOptions;

/**
* R Language export options.
*
* @author Michal H. Siemaszko
*/
public interface EMFRLangExportOptions extends EMFExportOptions {

// one data frame per RData file, contained in ZIP archive; otherwise all data
// frames will be output to same RData file (list of data frames)
String OPTION_DATAFRAME_PER_FILE = "DATAFRAME_PER_FILE";
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@org.osgi.annotation.versioning.Version("1.0.0")
@org.osgi.annotation.bundle.Export
package org.gecko.emf.exporter.r_lang.api;
11 changes: 11 additions & 0 deletions org.gecko.emf.exporter.r_lang.tests/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 2 additions & 0 deletions org.gecko.emf.exporter.r_lang.tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/bin/
/bin_test/
23 changes: 23 additions & 0 deletions org.gecko.emf.exporter.r_lang.tests/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.gecko.emf.exporter.r_lang.tests</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
encoding/bnd.bnd=UTF-8
encoding/test.bndrun=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=11
22 changes: 22 additions & 0 deletions org.gecko.emf.exporter.r_lang.tests/bnd.bnd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-enable-junit5: true
-library: enable-emf

javac.source: 11
javac.target: 11

Bundle-Version: 1.0.0.SNAPSHOT

-buildpath: \
org.gecko.emf.osgi.component,\
org.eclipse.emf.ecore.xmi,\
org.eclipse.emf.ecore,\
org.gecko.emf.osgi.example.model.basic,\
org.gecko.emf.exporter;version=latest,\
org.gecko.emf.exporter.r_lang.api;version=latest,\
org.apache.commons.commons-text,\
org.gecko.emf.util.model,\
org.gecko.emf.trees.model;version=latest

-privatepackage: \
org.gecko.emf.r_lang.tests,\
org.gecko.emf.r_lang.tests.helper
Loading

0 comments on commit f177a27

Please sign in to comment.