You are not logged in.
I am really new to Talend yet developing a custom component.
When I write a javajet file (tXXXX_main.javajet) and publish it from the Component Designer by clicking "Push Components to Palette" context menu, I get an error message pop up:
"'Generation Engine Initialization in progress...'has encountered a problem.
Compnents compile fail: components/ext/user/tXXXX_main.javajet"
After that, I went back to the Integration perspective and looked at a generated job source code, there was an error message in it.
"The main part of tXXXX compile with error, it can't generate any code, please check and correct it."
Is there any other information I can get like log files or something like that?
The cause of the problem I encountered was a simple lack of an import statement of a class.
Since I don't get any error indication while writing javajet code, it's hard to find out the cause of problems.
Would anyone tell me a better practice to build a custom component?
My developing environment info:
Talend Open Studio for Data Integration (5.1.1.r84309)
I found that the JSP editor in Eclipse provides more useful feature than the default ComponentJetEditor.
It can detect syntax errors and provide auto completion of code within <% %> blocks.
To use JSP editor, I just needed to add the dependencies like org.talend.core*.jar to build path of a java project and change import statement syntax between JET and JSP like below:
<%@ page import="
After writing a JET template as a JSP file,
change its file extension from .jsp to .javajet
and change the import statement syntax into JET's way.