>: Indeed. I wrote the following test:
>:
>: Pattern p = Pattern.compile("(.*)");
>: Matcher m = p.matcher("xyz");
>: Assert.assertEquals("", "Video", m.replaceAll("Video"));
>:
>: The test fails. It gives "VideoVideo" as the actual result. I guess there is
>: something about Matcher.replaceAll t
: Indeed. I wrote the following test:
:
: Pattern p = Pattern.compile("(.*)");
: Matcher m = p.matcher("xyz");
: Assert.assertEquals("", "Video", m.replaceAll("Video"));
:
: The test fails. It gives "VideoVideo" as the actual result. I guess there is
: something about Matcher.replaceAll that I d
Thanks for the feedback. The templateTransformer is pretty straightforward
solution. Perfect.
Wesley.
>
> On 4/1/09 12:14 AM, "Noble Paul നോബിള് नोब्ळ्" wrote:
>
>> use TemplateTransformer
>>
>>
>>
>>
>> On Tue, Mar 31, 2009 at 9:20 PM, Wesley Small
>> wrote:
>>> I am trying to find a
iterestingly
seems to work
On Wed, Apr 1, 2009 at 12:13 AM, Fergus McMenemie wrote:
> Hmmm, I am sure I have seen this as well!
>
> sourceColName="fileAbsolutePath"/>
>
> I get the #${x.imgvurl} added twice.
>
> Fergus.
>
>>On 3/31/09 11:50 AM, "Wesley Small" wrote:
>>
>>> I am trying to f
use TemplateTransformer
On Tue, Mar 31, 2009 at 9:20 PM, Wesley Small wrote:
> I am trying to find a clean way to *hardcode* a field/column to a specific
> value during the DIH process. It does seems to be possible but I am getting
> an slightly invalid constant value in my index.
>
> replac
On Wed, Apr 1, 2009 at 12:13 AM, Fergus McMenemie wrote:
> Hmmm, I am sure I have seen this as well!
>
> sourceColName="fileAbsolutePath"/>
>
> I get the #${x.imgvurl} added twice.
>
Indeed. I wrote the following test:
Pattern p = Pattern.compile("(.*)");
Matcher m = p.matcher("xyz");
Assert.
Hmmm, I am sure I have seen this as well!
I get the #${x.imgvurl} added twice.
Fergus.
>On 3/31/09 11:50 AM, "Wesley Small" wrote:
>
>> I am trying to find a clean way to *hardcode* a field/column to a specific
>> value during the DIH process. It does seems to be possible but I am getting
>
On Tue, Mar 31, 2009 at 9:20 PM, Wesley Small wrote:
> I am trying to find a clean way to *hardcode* a field/column to a specific
> value during the DIH process. It does seems to be possible but I am
> getting
> an slightly invalid constant value in my index.
>
> replaceWith="Video" />
>
> Howev
Wesley,
I'm not sure but if what you want is to have Video in the field I would do
something in the sql query.
I use postgres and I needed all my calendar event items to have "event" in
the field named content. So I used the following as my sql query:
select *,'event' as content from events
Tha