Hi there,
I had a look on the changesets that should fix these bugs. There still seems to be an issue there. Let's have a look on tMap_begin.inc.javajet lines 46 - 50:
http://talendforge.org/trac/tos/browser/trunk/org.talend.designer.components.localprovider/component...
String tempFolder = ElementParameterParser.getValue(node, "__TEMPORARY_DATA_DIRECTORY__");
if (tempFolder.equals("")) {
tempFolder=ElementParameterParser.getValue(node.getProcess(), "__COMP_DEFAULT_FILE_DIR__") + "/temp";
}
String rowsBufferSize = ElementParameterParser.getValue(node, "__ROWS_BUFFER_SIZE__");
"__COMP_DEFAULT_FILE_DIR__" is evaluated during code generation and *not* during runtime of the job. Furthermore, the content of the variable tempfolder is used as java code in line 860, so the string literal would have to be enclosed by quotes.
Thus, we have moved the developer specific information from the .item-file to the .java/.class-file of the job. This does not solve the issue. Unfortunately, it makes such problems even harder to debug.
Instead, code should be generated that determines an appropriate temp path at runtime (e.g., using System.getProperty(?java.io.tmpdir?)).
Best regards,
Michael