Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit aa02dec8586e561cd5280426cfd439ac445a712e Slawomir Chodnicki committed Feb 1, 2011
Showing with 2,402 additions and 0 deletions.
  1. BIN .DS_Store
  2. +13 −0 .classpath
  3. +17 −0 .project
  4. +12 −0 .settings/org.eclipse.jdt.core.prefs
  5. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyScriptMeta.class
  6. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStep.class
  7. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepData.class
  8. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$1.class
  9. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$10.class
  10. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$11.class
  11. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$2.class
  12. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$3.class
  13. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$4.class
  14. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$5.class
  15. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$6.class
  16. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$7.class
  17. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$8.class
  18. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$9.class
  19. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog.class
  20. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepFactory.class
  21. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepMeta.class
  22. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepParseErrorHelper.class
  23. BIN bin/org/typeexit/kettle/plugin/steps/ruby/RubyStepSyntaxHighlighter.class
  24. +11 −0 bin/org/typeexit/kettle/plugin/steps/ruby/messages/messages_en_US.properties
  25. BIN build/.DS_Store
  26. +4 −0 build/INSTALLATION.txt
  27. +502 −0 build/LICENSE.txt
  28. +144 −0 build/build.xml
  29. +1 −0 build/local.properties
  30. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyScriptMeta.class
  31. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStep.class
  32. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepData.class
  33. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$1.class
  34. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$10.class
  35. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$11.class
  36. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$2.class
  37. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$3.class
  38. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$4.class
  39. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$5.class
  40. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$6.class
  41. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$7.class
  42. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$8.class
  43. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog$9.class
  44. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog.class
  45. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepFactory.class
  46. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepMeta.class
  47. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepParseErrorHelper.class
  48. BIN classes/org/typeexit/kettle/plugin/steps/ruby/RubyStepSyntaxHighlighter.class
  49. +11 −0 classes/org/typeexit/kettle/plugin/steps/ruby/messages/messages_en_US.properties
  50. BIN dist/generic_icon.png
  51. BIN dist/icon.png
  52. BIN dist/icon_large.png
  53. BIN dist/lib/jruby-complete-1.6.0.RC1.jar
  54. +16 −0 dist/plugin.xml
  55. BIN dist/ruby-step.jar
  56. BIN dist/ruby.png
  57. BIN dist/ruby_32.png
  58. +167 −0 gallery/dialog.ktr
  59. BIN lib/jruby-complete-1.6.0.RC1.jar
  60. BIN plugin/generic_icon.png
  61. BIN plugin/icon.png
  62. BIN plugin/icon_large.png
  63. +16 −0 plugin/plugin.xml
  64. BIN plugin/ruby.png
  65. BIN plugin/ruby_32.png
  66. +43 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyScriptMeta.java
  67. +101 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStep.java
  68. +24 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStepData.java
  69. +611 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStepDialog.java
  70. +41 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStepFactory.java
  71. +183 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStepMeta.java
  72. +141 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStepParseErrorHelper.java
  73. +333 −0 src/org/typeexit/kettle/plugin/steps/ruby/RubyStepSyntaxHighlighter.java
  74. +11 −0 src/org/typeexit/kettle/plugin/steps/ruby/messages/messages_en_US.properties
BIN .DS_Store
Binary file not shown.
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="lib" path="/Users/slawo/Projects/PDI Builds/4.1.0 stable/lib/kettle-core.jar"/>
+ <classpathentry kind="lib" path="/Users/slawo/Projects/PDI Builds/4.1.0 stable/lib/kettle-db.jar"/>
+ <classpathentry kind="lib" path="/Users/slawo/Projects/PDI Builds/4.1.0 stable/lib/kettle-engine.jar"/>
+ <classpathentry kind="lib" path="/Users/slawo/Projects/PDI Builds/4.1.0 stable/lib/kettle-ui-swt.jar"/>
+ <classpathentry kind="lib" path="/Users/slawo/Projects/PDI Builds/4.1.0 stable/libswt/osx64/swt.jar"/>
+ <classpathentry kind="lib" path="lib/jruby-complete-1.6.0.RC1.jar" sourcepath="/Users/slawo/Projects/Libs/jruby-1.6.0.RC1 src"/>
+ <classpathentry kind="lib" path="/Users/slawo/Projects/PDI Builds/4.1.0 stable/libext/commons/commons-lang-2.4.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>RubyStep 4.0</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,12 @@
+#Sat Jun 12 15:21:06 CEST 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+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.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
+RubyStep.Shell.Title=Ruby Scripting
+RubyStepDialog.Tree.Label=Samples
+RubyStepDialog.Script.Label=Ruby Script
+RubyStepDialog.Fields.Label=Output Fields
+RubyStepDialog.ColumnInfo.Fieldname=Name
+RubyStepDialog.ColumnInfo.Type=Type
+RubyStepDialog.ColumnInfo.UpdateExisting=Update existing field?
+RubyStepDialog.ClearFields.Label=Clear all incoming fields
+RubyStepDialog.CheckSyntax.Label=Check Syntax
+RubyStepDialog.Settings.Label=Settings
+RubyStepDialog.ExecutionModel.Label=Execution model
Binary file not shown.
@@ -0,0 +1,4 @@
+To install the plugin simply copy the ExcelWriter folder
+to the plugins/steps folder of your Kettle installation
+and restart Kettle. The plugin should appear in the
+"Output" section as "Excel Writer".

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,144 @@
+<?xml version="1.0"?>
+<project name="RubyStep 4.0" default="dist" basedir="..">
+ <description>
+ Build file for a Kettle plugin
+ </description>
+
+ <!-- you can use this file to set the kettle-dir property or change it directly below -->
+ <property file="build/local.properties" />
+
+ <!-- change these to adapt to your environment -->
+ <property name="kettle-dir" location="your_kettle_4.x.x_dir_here"/>
+ <property name="swt-jar" location="${kettle-dir}/libswt/osx64/swt.jar"/>
+
+ <available file="${swt-jar}" property="swt-jar.present"/>
+ <available file="${kettle-dir}" type="dir" property="kettle-dir.present"/>
+
+ <fail unless="kettle-dir.present" message="please specify the path to your kettle 4.x.x installation"/>
+ <fail unless="swt-jar.present" message="please specify a valid jar for the swt-jar property"/>
+
+ <!-- set global properties for this build -->
+ <property name="src" location="src"/>
+ <property name="classes" location="classes"/>
+ <property name="dist" location="dist"/>
+ <property name="package" location="package"/>
+ <property name="pluginname" value="Ruby"/>
+ <property name="jarfilename" value="ruby-step.jar"/>
+ <property name="zipfilename" value="${pluginname}Plugin_Kettle_4.0.zip"/>
+
+ <target name="init">
+ <tstamp/>
+ </target>
+
+ <target name="compile" depends="init" description="compile the source ">
+ <mkdir dir="${classes}"/>
+ <javac target="1.6" srcdir="${src}" destdir="${classes}" debuglevel="lines,vars,source" debug="true">
+ <classpath>
+ <fileset dir="lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset dir="${kettle-dir}/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset dir="${kettle-dir}/libext">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset dir="${kettle-dir}/libext/pentaho">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset dir="${kettle-dir}/libswt">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset file="${swt-jar}"/>
+
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="dist" depends="compile" description="generate the distribution">
+
+ <mkdir dir="${dist}"/>
+
+ <!-- jar things up, also add the properties files (messages) -->
+ <copy todir="${classes}">
+ <fileset dir="${src}" includes="**/*.properties"/>
+ </copy>
+ <jar jarfile="${dist}/${jarfilename}" basedir="${classes}"/>
+
+ <!-- Put the plugin.xml and icon into dist folder -->
+ <copy todir="${dist}">
+ <fileset dir="plugin" includes="*.*"/>
+ </copy>
+ <!-- put the deps into lib subfolder -->
+ <mkdir dir="${dist}/lib" />
+ <copy todir="${dist}/lib">
+ <fileset dir="lib" includes="*.jar"/>
+ </copy>
+
+ </target>
+
+ <target name="install" depends="dist" description="install into local kettle">
+ <!-- remove previous installations -->
+ <delete dir="${kettle-dir}/plugins/steps/${pluginname}"/>
+
+ <!-- put fresh stuff in place -->
+ <mkdir dir="${kettle-dir}/plugins/steps/${pluginname}"/>
+
+ <copy todir="${kettle-dir}/plugins/steps/${pluginname}">
+ <fileset dir="${dist}" includes="**/*.*"/>
+ </copy>
+ </target>
+
+ <target name="package" depends="dist" description="package for distribution">
+ <!-- clear previous installations -->
+ <delete dir="${package}"/>
+ <mkdir dir="${package}"/>
+ <mkdir dir="${package}/Sources"/>
+ <mkdir dir="${package}/Samples"/>
+ <mkdir dir="${package}/${pluginname}"/>
+
+ <!-- copy plugin -->
+ <copy todir="${package}/${pluginname}">
+ <fileset dir="${dist}" includes="**/*.*"/>
+ </copy>
+
+ <!-- copy samples -->
+ <copy todir="${package}/Samples">
+ <fileset dir="samples" includes="**/*.*" />
+ </copy>
+
+ <!-- prepare sources -->
+ <copy todir="${package}/Sources/plugin">
+ <fileset dir="plugin" includes="**/*.*"/>
+ </copy>
+ <copy todir="${package}/Sources/src">
+ <fileset dir="src" includes="**/*.java"/>
+ <fileset dir="src" includes="**/*.properties"/>
+ </copy>
+ <copy todir="${package}/Sources/lib">
+ <fileset dir="lib" includes="**/*.*"/>
+ </copy>
+ <copy todir="${package}/Sources/build">
+ <fileset dir="build" includes="**/build.xml"/>
+ </copy>
+
+ <!-- zip up the contents -->
+ <delete file="${package}/${zipfilename}"/>
+ <zip destfile="${package}/${zipfilename}">
+ <zipfileset dir="${package}/${pluginname}" prefix="${pluginname}"/>
+ <zipfileset dir="${package}/Sources" prefix="Sources"/>
+ <zipfileset dir="${package}/Samples" prefix="Samples"/>
+ <zipfileset dir="build" includes="INSTALLATION.txt"/>
+ <zipfileset dir="build" includes="LICENSE.txt"/>
+ </zip>
+
+ </target>
+
+ <target name="clean" description="clean up">
+ <!-- Delete the ${classes} and ${dist} directory trees -->
+ <delete dir="${classes}"/>
+ <delete dir="${dist}"/>
+ <delete dir="${package}"/>
+ </target>
+
+</project>
@@ -0,0 +1 @@
+kettle-dir=/Users/slawo/Projects/PDI Builds/4.1.0 Scratchpad
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
+RubyStep.Shell.Title=Ruby Scripting
+RubyStepDialog.Tree.Label=Samples
+RubyStepDialog.Script.Label=Ruby Script
+RubyStepDialog.Fields.Label=Output Fields
+RubyStepDialog.ColumnInfo.Fieldname=Name
+RubyStepDialog.ColumnInfo.Type=Type
+RubyStepDialog.ColumnInfo.UpdateExisting=Update existing field?
+RubyStepDialog.ClearFields.Label=Clear all incoming fields
+RubyStepDialog.CheckSyntax.Label=Check Syntax
+RubyStepDialog.Settings.Label=Settings
+RubyStepDialog.ExecutionModel.Label=Execution model
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin
+
+ id="TypeExitRubyStep"
+ iconfile="icon.png"
+ description="Ruby Scripting"
+ tooltip="Only there for demonstration purposes"
+ category="Scripting"
+ classname="org.typeexit.kettle.plugin.steps.ruby.RubyStepMeta">
+
+ <libraries>
+ <library name="ruby-step.jar"/>
+ <library name="lib/jruby-complete-1.6.0.RC1.jar"/>
+ </libraries>
+
+</plugin>
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit aa02dec

Please sign in to comment.