PDI CE _ Source Control - pentaho

I'm using PDI-CE 8.2 and do have around 20 Scripts performing transformations. I was looking for help on how to integrate with Source Control since Tools --> Repository is disabled? does PDI-CE 8.2 support source control?
any help is appreciated

You are asking two different things
Repository option is disabled - pdi 8.2 is not a stable version, i would recommend you to use 8.3, pdi_8.3\system\karaf\caches go to this caches location delete everything and re-start the tool, you will see repository option
source code control - pentaho does not directly support version control however community has developed few plugins for the same.
click on tools -> marketplace
search bar type git, you will find 2 3 different plugin(spoongit,etc).

Related

Pentaho Demo Graphs or Charts

Recently had a project in JBoss but want to move to Pentaho (JBoss kept crashing). JBoss was good because it showed you sample data and various types of results when you installed it. When I installed Pentaho, it is like a clean slate and I do not see a demo feature that I can install and see how data is displayed.
Is there a link that anyone can point me to in order to look at sample data being generated into charts or graphs in Pentaho? I already have the common plugins installed - CDE, CDA, CDF, and CGG.
Any help would be greatly appreciated.
There are samples in the /public/Steel Wheels folder.
If you install the CE version, you'll also get a lot of samples in /public/Plugin Samples.
Log in to PUC as admin and go to the explore files perspective. You should see them there.
Below is a very simple CDE tutorial I wrote. It uses screen shots from version 5.x but you could also use it for version 6.0 (they are similar). Nothing fancy though: http://holowczak.com/getting-started-with-pentaho-community-edition-dashboard-editor-cde/

Why isn't the javax.smartcardio package in the Java SE 7/8 API? [duplicate]

I'm studying the javax.smartcardio classes. I'm using eclipse 3.6 and I have JDK 6 SE. I can use the statement import javax.smartcardio.* or any of its individual classes, as long as I change preferences to warn or ignore forbidden references.
I don't see any mention of javax.smartcardio in the standard documentation at Java SE 6
and no javadoc help pops up in eclipse. I have found docs here.
Is there a way of linking Eclipse to the javadocs for smartcardio?
I found a WebLog about it (Konstantin Flitschew WebLog (german)). It's in german but it worked for me, so I give a short translation here:
create a java project or open an existing project
right-click the project and open the properties dialog
select build path -> libraries tab and unfold the "JRE System Library" tree
select the entry "Access Rules" and push the "edit" button on the right
you can apply a rule with the "add" button: set the drop down to "accessible" and enter the value “javax/smartcardio/**”
With this setting I was able to access the classes of javax.smartcardio.
I've asked Sun back in the day multiple times to include the javax.smartcardio in the documentation, but they have refused all the times. Now it seems that 64 bit Java version 6/7 for Windows do not have javax.smartcardio, and that the access rules rule out using it directly. This is pretty strange as javax.smartcardio seems to be an accepted JSR.
Sun and Oracle don't really communicate well regarding security API's. They are relatively well designed, but the support is lacking, and they do introduce features out of the blue.
[EDIT]
Although the javax.smartcardio package is an accepted JSR, the umbrella JSR's for Java 6 and 7 SE don't include it. See java_se-fr-spec.zip for more information (see below). So javacardx.smartcardio it is not part of the Java SE standard API. Nowadays you may have trouble accessing the API even if it is present. And you cannot add your own as it may be present for a particular edition. You can use Eclipse access rules to enable javax.smartcardio and remove access violations from your "Problem view".
Java 8 from Oracle does include an javax.smartcardio implementation. You may still have to configure access to it.
JSR 268, the Java Smart-Card I/O API, will not be included because the
JSR 270 Expert Group concluded that it would not be of sufficiently
wide interest in the Java SE 6 time frame.
Oracle's JDK does not contain the javadoc for javax.smartcardio at all. Use OpenJDK instead.
Install OpenJDK from https://adoptopenjdk.net/, then add it in Eclipse using Window -> Preferences -> Java -> Installed JREs (in Windows the path you need looks like C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot). The result:
I was in the same situation as you were but then I found this http://intelligenzija.net/?q=node/1
Basically you need to set Access rules for these classes in the IDE so you can use them.

Facing problems in Clearcase 8 plugin for Eclipse Luna for config spec update

I have been using Eclipse Helios/Luna with plugin installation of clearcase plugin 8.0.1.x version and have imported the base code.
Recently, when trying to change the config-spec to update the build files, the process is running for hours continuously even without a single file.
Previously, we had Clearcase version as 7.0.x version and the corresponding plugin installed on Eclipse Helios without facing any issues.
But, have been facing issues during update of files after the upgrade of clearcase server to 8.0.x and with the corresponding client plugin in eclipse.
Also, tried manual update from repository for the whole folder. Still no luck.
But, if I know manually update the file one by one individually, it is going fine.
As the number of files in the project is more, it would not be efficient for us.
Can someone provide some alternatives to resolve this problem?
As a workaround, we have been creating new views everytime there is an update to the config-spec.
One workaround would be to switch to dynamic views, supported in the latest 8.x version of ClearTeam/ClearCase. No reload needed with those kind of views.
The other would be to test with a minimal config spec, and load rules making sure you are loading only as few files as possible (jsut to check that those files do update when you change the config spec).
It can also depends on the exact version of your ClearCase installation.
There are some patches for hanging issue (like "PM48668 Problem: The IBM Rational ClearTeam Explorer may hang intermittently when many views are started.")

automate setup of IBM RAD and Websphere

In a project we a forced to use IBM RAD and Webspher Application Server (6.1).
Setting up the development environment is currently described in about 10 pages of wiki documentation and takes about a day if you don't do any mistake. The main parts are:
Installing the IBM Installer;
Use it to install RAD
Install a patch to the Installer;
use it to install half a dozen patches to RAD
create a network drive pointing to ...
checkout project source to ...
install WAS
configure the a WAS instance with two jdbc drivers, 6 datasources, a queue ...
I think you get the idea
I'd like to automate that process (or at lest 95% of it) to something like.
start script x.
On prompt enter a directory with at least yGB of memory available.
Get yourself a cup of coffee
start working.
What are the proper tools to get this working? Should I use something like puppet and chef? Or is that overkill and I can just zip the installation directory and change 2 registry entries?
Has anybody experience with this? Any pointers to get started?
You can script the configuration of WAS using wsadmin:
http://pic.dhe.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Fwelc6topscripting.html
It is some effort to learn how to do so but in the end it saves a lot of time. You need to use Jython or Jacl to do so.
WAS profiles can be created headless with a response file. Use manageprofiles.bat in bin directory of WAS to do so.
Regarding RAD installation you can install the IBM Installation Manager version you need to install the patches right away and then install everything in one shot. Add the fixes you need as Repositiories right from the beginning. The fixes will be installed instead of the old versions in this case. You should have the base images and all fixes on the local disk to do so.
The installation of RAD itself can also run in headless mode but I don't have any experience in doing this.
The configuration of the RAD workspace is the next thing you want to automate. This is not so simple to do. The simplest thing you can do is to export the workspace preferences of a workspace that contains all settings to an eclipse preference file (.epf). File -> Export
This is not a complete solution but may help you a bit. Be sure to keep all settings in just one file and import that into a fresh workspace.
Use Notepad++ TextFX plugin to sort the settings in the epf file. You can then figure out which settings you need just by looking at them.
More control over the workspace settings and automated conifiguration requires accessing eclipse internal APIs and some coding.
Regarding the the project sources it depends on the SCM you are using.

What Clearcase eclipse-plugin to use in order to work on both clearcase 6 and 7 projects?

Using Eclipse 3.5, what clearcase plugin to use in order for me to work on both clearcase 6 and 7 projects?
I confirm the latest version of the IBM ClearCase Eclipse plugin presented here on the IBM site
does work with eclipse3.5 even though it is for eclipse3.4
support CC6 and CC7
You just need to be careful about:
your \HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\ value
your Extension Location link.
Note: the official IBM download page for this plugin seems unavailable at the moment.
That means you must use the update p2 mechanism to access the:
CC eclipse plugin update site for Windows
or
CC eclipse plugin update site for Unix
Note:
Can you access those CC6 views with a classical ClearCase client?
Because it may very well turn out that you cannot (and, by extension, that would explain the eclipse CC plugin cannot either)
A view is attached to a view server through its view storage.
If that view storage is stored locally on his/her desktop, that make that desktop a CC6.0 view server.
If your CC7.0 view storages are stored on your desktop, that make your desktop a CC7.0 view server.
And a CC7.0 view server cannot access a CC6.0 view server.
You might want to try http://www3.software.ibm.com/ibmdl/pub/software/rationalsdp/clearcase/ccrc/701/update/