Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am on TOS 6.4.1. I created a copy of tFileOutputDelimited in my components folder. I renamed it to mFileOutputDelimited, and changed all of the references of "t". No other changes.
I created simple job to test the component. But when I run the component I get
org.talend.designer.runprocess.ProcessorException: Job compile errors
At least job "test_mFileOutputDelimited" has a compile errors, please fix and export again.
Error Line: 1069
Detail Message: CsvWritermFileOutputDelimited_1 cannot be resolved
I checked the java.xml and the import of talendcsv.jar looks good.
If i try to run in debug I get an empty dialog box and nothing else.
How would i go about finding the problem?
Found the problem. The include path for Log4j was not valid when the files were moved to my own custom component directory. I found this through trial and error. Is there a way to see a log of jet error to avoid guessing? The error given at runtime wasn't much help.
FYI i had to replace
<%@ include file="../templates/Log4j/Log4jFileUtil.javajet"%>
with
<%@ include file="@{org.talend.designer.components.localprovider}/components/templates/Log4j/Log4jFileUtil.javajet"%>
in two of the jet files.