java 如何将 Pentaho Kettle 存储库配置到包含 Kettle ETL 脚本的文件夹和/或 SVN 存储库?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14369974/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do I configure Pentaho Kettle repository to folder and/or SVN repository containing Kettle ETL scripts?
提问by MacGyver
I'm a newbie to Kettle and need some help setting it up properly. I'm trying to point Kettle at an SVN repository. For now, I just have the following folders.
我是 Kettle 的新手,需要一些帮助来正确设置它。我试图将 Kettle 指向一个 SVN 存储库。现在,我只有以下文件夹。
D:\ETL\data-integration\
D:\ETL\.kettle\
D:\ETL\Kettle-custom\
D:\ETL\scripts\
D:\ETL\logs\
The data-integration folder was extracted from pdi-ce-4.3.0-stable.zip.
数据集成文件夹是从 pdi-ce-4.3.0-stable.zip 中提取的。
In D:\ETL.kettle\repositories.xml, I'm pointing to D:\ETL\Kettle-custom\
在 D:\ETL.kettle\repositories.xml 中,我指向 D:\ETL\Kettle-custom\
<?xml version="1.0" encoding="UTF-8"?>
<repositories>
<repository>
<id>KettleFileRepository</id>
<name>3</name>
<description>custom_import</description>
<base_directory>D:\ETL\Kettle-custom</base_directory>
<read_only>N</read_only>
<hides_hidden_files>N</hides_hidden_files>
</repository>
</repositories>
I have an SVN repository set up called "etl" and a project named "kettle".
我有一个名为“etl”的 SVN 存储库和一个名为“kettle”的项目。
https://mydomain:8443/svn/etl/kettle/trunk
At this point, I get this popup, but I'm not sure what the "admin" password is, or what to do after this point. I'd first like to connect Kettle to this folder. But I'd also like to connect it to SVN if that's possible. Anything you can explain to me would be beneficial.
在这一点上,我得到了这个弹出窗口,但我不确定“admin”密码是什么,或者在这之后要做什么。我想先把 Kettle 连接到这个文件夹。但如果可能的话,我也想将它连接到 SVN。你能向我解释的任何事情都会有好处。
回答by Codek
I think you're confused about the term "Repository." The PDI Repository is not a SVN repository it's a custom home grown database repository.
我认为您对“存储库”一词感到困惑。PDI 存储库不是 SVN 存储库,它是一个自定义的本土数据库存储库。
So you need to click on the + button to add a repository and enter some database details. The password is just admin/admin IIRC once you've created your repo.
因此,您需要单击 + 按钮添加存储库并输入一些数据库详细信息。创建存储库后,密码仅为 admin/admin IIRC。
You dont need to use a repository though. If you want to store your files in SVN and then open those files then just cancel this dialog.
不过,您不需要使用存储库。如果您想将文件存储在 SVN 中,然后打开这些文件,则只需取消此对话框即可。
回答by DWBI Developer
After launched spoon have you checked the repository is connected or not if not connected then connect then able to see repositiers.xml file in your shared location
启动勺子后,您是否检查了存储库是否已连接,如果未连接,则连接然后可以在您的共享位置看到 repositiers.xml 文件