<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tFileCopy logging questions in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349010#M116036</link>
    <description>&lt;P&gt;Error at the red context.CMPverd: &lt;EM&gt;CMPverd cannot be resolved or is not a field&amp;nbsp;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;The other contexts generate identical errors.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;There are also some warnings about &lt;EM&gt;multiple markers,&amp;nbsp;&lt;/EM&gt;about &lt;EM&gt;type safety&amp;nbsp;&lt;/EM&gt;and about&amp;nbsp;&lt;EM&gt;the static method&amp;nbsp;convertToJsonText&lt;/EM&gt;. &amp;nbsp;Are those relevant for my issue?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;				ok_Hash.put("tFileList_3", false);
				start_Hash.put("tFileList_3", System.currentTimeMillis());

				currentComponent = "tFileList_3";

				int tos_count_tFileList_3 = 0;

				class BytesLimit65535_tFileList_3 {
					public void limitLog4jByte() throws Exception {

					}
				}

				new BytesLimit65535_tFileList_3().limitLog4jByte();

				String directory_tFileList_3 = &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;context.CMPverd&lt;/STRONG&gt;&lt;/FONT&gt;;
				final java.util.List&amp;lt;String&amp;gt; maskList_tFileList_3 = new java.util.ArrayList&amp;lt;String&amp;gt;();
				final java.util.List&amp;lt;java.util.regex.Pattern&amp;gt; patternList_tFileList_3 = new java.util.ArrayList&amp;lt;java.util.regex.Pattern&amp;gt;();
				maskList_tFileList_3.add("WG.CIC_bedankv0_*.csv");
				maskList_tFileList_3.add("WG.CIC_TMBED0_*.csv");
				for (final String filemask_tFileList_3 : maskList_tFileList_3) {
					String filemask_compile_tFileList_3 = filemask_tFileList_3;

					filemask_compile_tFileList_3 = org.apache.oro.text.GlobCompiler
							.globToPerl5(
									filemask_tFileList_3.toCharArray(),
									org.apache.oro.text.GlobCompiler.DEFAULT_MASK);

					java.util.regex.Pattern fileNamePattern_tFileList_3 = java.util.regex.Pattern
							.compile(filemask_compile_tFileList_3);
					patternList_tFileList_3.add(fileNamePattern_tFileList_3);
				}
				int NB_FILEtFileList_3 = 0;

				final boolean case_sensitive_tFileList_3 = true;
				final java.util.List&amp;lt;java.io.File&amp;gt; list_tFileList_3 = new java.util.ArrayList&amp;lt;java.io.File&amp;gt;();
				final java.util.Set&amp;lt;String&amp;gt; filePath_tFileList_3 = new java.util.HashSet&amp;lt;String&amp;gt;();
				java.io.File file_tFileList_3 = new java.io.File(
						directory_tFileList_3);

				file_tFileList_3.listFiles(new java.io.FilenameFilter() {&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2017 10:22:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-28T10:22:30Z</dc:date>
    <item>
      <title>tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349003#M116029</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am new to Talend and I'm struggeling with the setup of the following flow:&lt;/P&gt;&lt;P&gt;I am copying files and logging this action with (iterative) tFileList ---&amp;gt; tFileCopy ---&amp;gt; tFlowToIterate ---&amp;gt; tIterateToFlow ---&amp;gt; tFileOutputDelimited&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 questions:&lt;/P&gt;&lt;P&gt;1. It feels unnatural to use&amp;nbsp;&lt;SPAN&gt;tFlowToIterate ---&amp;gt; tIterateToFlow for defining values to log with&amp;nbsp;tFileOutputDelimited. Is there a better way of doing this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I have set contexts&amp;nbsp;of the Directory-type (with no "", I use the browse button to pick the folder), but when I use these in the tFileList directory field and the tFileCopy directory field (context.dir1), I get error "dir1 cannot be resolved to a variable". What could be causing this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 16:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349003#M116029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T16:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349004#M116030</link>
      <description>&lt;P&gt;Can you provide a screenshot of your job + the config of the file components?&lt;/P&gt;
&lt;P&gt;What exactly are you trying to log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 18:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349004#M116030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-19T18:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349005#M116031</link>
      <description>&lt;P&gt;I want to log to a local file: which file was moved, at what time, from where, to where.&lt;/P&gt; 
&lt;P&gt;File components and context definitions + errors below. When I replace the context attributes with hard coded file paths "S:/etc." all files are moved correctly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flow" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lr2T.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158238iF1CF01573061FB15/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lr2T.png" alt="0683p000009Lr2T.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;flow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="contexts" style="width: 736px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqyi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155871i3AEB16094CA72EA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqyi.png" alt="0683p000009Lqyi.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;contexts&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileList_3" style="width: 612px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqsc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131388i79C667946BD20E9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqsc.png" alt="0683p000009Lqsc.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tFileList_3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileCopy_3" style="width: 603px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145714i7F8B0B070C3CE5D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrAG.png" alt="0683p000009LrAG.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tFileCopy_3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFileCopy_4" style="width: 614px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrAi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148884iA7932109CC341FDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrAi.png" alt="0683p000009LrAi.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tFileCopy_4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Errors" style="width: 466px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138144i1D7AB9E07AE729C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrAZ.png" alt="0683p000009LrAZ.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Errors&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 08:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349005#M116031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-21T08:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349006#M116032</link>
      <description>&lt;P&gt;Try changing data type of your context variables from Directory to String.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 13:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349006#M116032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-21T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349007#M116033</link>
      <description>&lt;P&gt;Changing to string (with "") results in the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could it be related to JDK version (JDK 1.7.0.790 with Java 8.0.910.15)?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 08:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349007#M116033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-25T08:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349008#M116034</link>
      <description>&lt;P&gt;That is a possibility.&amp;nbsp; Can you open the 'code' tab of your job and find the compilation error? That may point you in the right direction.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 22:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349008#M116034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T22:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349009#M116035</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LMMUAA4"&gt;@Auke&lt;/A&gt; wrote:
 &lt;BR /&gt; 
 &lt;P&gt;Changing to string (with "") results in the same error.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Could it be related to JDK version (JDK 1.7.0.790 with Java 8.0.910.15)?&lt;/P&gt; 
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Have you ever executed your job successfully in your current studio with&amp;nbsp;&lt;SPAN&gt;JDK 1.7.0.790 with Java 8.0.910.15? On which talend build version you are using?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 03:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349009#M116035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T03:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349010#M116036</link>
      <description>&lt;P&gt;Error at the red context.CMPverd: &lt;EM&gt;CMPverd cannot be resolved or is not a field&amp;nbsp;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;The other contexts generate identical errors.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;There are also some warnings about &lt;EM&gt;multiple markers,&amp;nbsp;&lt;/EM&gt;about &lt;EM&gt;type safety&amp;nbsp;&lt;/EM&gt;and about&amp;nbsp;&lt;EM&gt;the static method&amp;nbsp;convertToJsonText&lt;/EM&gt;. &amp;nbsp;Are those relevant for my issue?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;				ok_Hash.put("tFileList_3", false);
				start_Hash.put("tFileList_3", System.currentTimeMillis());

				currentComponent = "tFileList_3";

				int tos_count_tFileList_3 = 0;

				class BytesLimit65535_tFileList_3 {
					public void limitLog4jByte() throws Exception {

					}
				}

				new BytesLimit65535_tFileList_3().limitLog4jByte();

				String directory_tFileList_3 = &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;context.CMPverd&lt;/STRONG&gt;&lt;/FONT&gt;;
				final java.util.List&amp;lt;String&amp;gt; maskList_tFileList_3 = new java.util.ArrayList&amp;lt;String&amp;gt;();
				final java.util.List&amp;lt;java.util.regex.Pattern&amp;gt; patternList_tFileList_3 = new java.util.ArrayList&amp;lt;java.util.regex.Pattern&amp;gt;();
				maskList_tFileList_3.add("WG.CIC_bedankv0_*.csv");
				maskList_tFileList_3.add("WG.CIC_TMBED0_*.csv");
				for (final String filemask_tFileList_3 : maskList_tFileList_3) {
					String filemask_compile_tFileList_3 = filemask_tFileList_3;

					filemask_compile_tFileList_3 = org.apache.oro.text.GlobCompiler
							.globToPerl5(
									filemask_tFileList_3.toCharArray(),
									org.apache.oro.text.GlobCompiler.DEFAULT_MASK);

					java.util.regex.Pattern fileNamePattern_tFileList_3 = java.util.regex.Pattern
							.compile(filemask_compile_tFileList_3);
					patternList_tFileList_3.add(fileNamePattern_tFileList_3);
				}
				int NB_FILEtFileList_3 = 0;

				final boolean case_sensitive_tFileList_3 = true;
				final java.util.List&amp;lt;java.io.File&amp;gt; list_tFileList_3 = new java.util.ArrayList&amp;lt;java.io.File&amp;gt;();
				final java.util.Set&amp;lt;String&amp;gt; filePath_tFileList_3 = new java.util.HashSet&amp;lt;String&amp;gt;();
				java.io.File file_tFileList_3 = new java.io.File(
						directory_tFileList_3);

				file_tFileList_3.listFiles(new java.io.FilenameFilter() {&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 10:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349010#M116036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T10:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy logging questions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349011#M116037</link>
      <description>&lt;P&gt;Hi Sabrina, when I replace te contexts with hard coded directory paths, the job runs fine.&lt;/P&gt;&lt;P&gt;With contexts containing the directories however, it always fails.&lt;/P&gt;&lt;P&gt;I'm on TOS version&amp;nbsp;6.4.1.20170623_1246&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 10:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-logging-questions/m-p/2349011#M116037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T10:26:17Z</dc:date>
    </item>
  </channel>
</rss>

