From db014477eb4c99ca89a1c9e0f656d10ca6e8d3f1 Mon Sep 17 00:00:00 2001 From: Alex Bertram Date: Thu, 29 Jun 2017 09:36:40 +0200 Subject: [PATCH 1/2] Setup deployment to jfxplot repository on nexus.bedatadriven.com --- pom.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 51f178b..02cf0ac 100644 --- a/pom.xml +++ b/pom.xml @@ -23,20 +23,29 @@ UTF-8 + 0.8.2408 + + + jfxplot + Renjin Jfxplot Repository + https://nexus.bedatadriven.com/content/repositories/jfxplot/ + + + org.renjin renjin-script-engine - 0.7.0-RC7 + ${renjin.version} org.renjin hamcrest - 0.7.0-RC7 + ${renjin.version} test @@ -70,7 +79,7 @@ org.renjin renjin-maven-plugin - 0.7.0-RC7 + ${renjin.version} build From 9a74e70f7b30f95c789da4bc446fb698960459fa Mon Sep 17 00:00:00 2001 From: Alex Bertram Date: Thu, 29 Jun 2017 09:52:41 +0200 Subject: [PATCH 2/2] Added required Java classes to NAMESPACE file You can use the importClass() directive to make java classes available to your package code. Then your users only need to call library() in order to load your package. --- NAMESPACE | 5 +++++ README.md | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NAMESPACE b/NAMESPACE index e0849cf..fc775fb 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -22,3 +22,8 @@ export(C_plotXY) export(.External.graphics) export(par) export(canvas) +importClass(org.jfxplot.PlotApp) +importClass(org.jfxplot.GraphicsState) +importClass(org.jfxplot.StageManager) + + diff --git a/README.md b/README.md index 4d69853..bb15c94 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,6 @@ Add the jar file, plot-0.1-SNAPSHOT.jar, to the renjin dependencies directory. Load in library and create some test data - import(org.jfxplot.PlotApp) - import(org.jfxplot.GraphicsState) library(org.jfxplot.plot) x = seq(-2.0*pi,2.0*pi,4.0*pi/100)