简体   繁体   English

Talend Open Studio和Eclipse-从Eclipse链接源到talend Open Studio并导出作业作为测试

[英]Talend Open Studio and Eclipse - Link source from eclipse to talend open studio and export job as test

is it possible to use Talend Open Studio in conjunction with Eclipse. 是否可以将Talend Open Studio与Eclipse结合使用。 I want to link my eclipse developments (sources) directly as source code to talend and use my classes inside. 我想将我的日食开发(源代码)直接链接为源代码,以在内部使用和使用我的类。

What I'm trying to do is, write for eg testjobs in Talend Open Studio for my Eclipse java developments without the need of compiling my eclipse developments as a jar. 我想做的是,不需要在Eclipse开发中将jar编译为Talend Open Studio中针对我的Eclipse Java开发的testjobs。 So they should share the same workspace also and Talend should be aware of my classes and have my classes in the class path of the jobs. 因此,他们也应该共享同一个工作空间,Talend应该了解我的班级,并将我的班级放在作业的班级路径中。

Will this be possible and if so, does anyone know a good example or how I have to do this. 这是否有可能,如果可以,有没有人知道一个很好的例子或我该怎么做。

I'm a beginner with Talend Open Studio ( TOS ) and I'm using TOS for Data Integration ( TOS-DI ). 我是Talend Open Studio( TOS )的初学者,并且使用TOS进行数据集成( TOS-DI )。

TOS-DI is based upon Eclipse Framework but it is a standalone "product" (in Eclipse sense) so, it has its proper rules for third party code integration. TOS-DI基于Eclipse框架,但它是一个独立的“产品”(就Eclipse而言),因此,它具有用于第三方代码集成的适当规则。

For example, you can use your Java code as a Talend "routine" or in one of Talend tJavaXX components. 例如,您可以将Java代码用作Talend“例程”或Talend tJavaXX组件之一。 But this is copy/paste, not classpath integration. 但这是复制/粘贴,而不是类路径集成。

Another way could be to integrate in YOUR Eclipse environment, the Talend code. 另一种方法是将Talend代码集成到您的Eclipse环境中。 This is open source and you can get the code there : http://www.talendforge.org/trac/tos/browser/trunk 这是开源的,您可以在此处获取代码: http : //www.talendforge.org/trac/tos/browser/trunk

But if you need the complete TOS execution environment, this will not easily be useful for you... 但是,如果您需要完整的TOS执行环境,那么这对您来说将并不容易...

Last chance (but I've not tested) is to try to change the classpath of TOS-DI , using the "Debugger" perspective, in the package explorer, on the ".Java" project, by changing the Build path. 最后一次机会(但我尚未测试)是尝试通过在包浏览器中的“ .Java”项目上使用“调试器”透视图来更改TOS-DI的类路径,方法是更改​​构建路径。 You could then add your source code, as an Eclipse project or as a source directory. 然后,您可以将源代码添加为Eclipse项目或源目录。

Let's give it a chance and keep us informed of your success ? 让我们有机会,让我们知道您的成功吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM