ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ File Transfer Edition » Regular Expression inside ant file

Post new topic  Reply to topic
 Regular Expression inside ant file « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Thu Jun 07, 2012 3:04 am    Post subject: Regular Expression inside ant file Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Hi I am trying to use regfular expression inside my ant file to string the date from a file name, then strip out the month and convert it from 11 to Nov.

I am getting an error

Quote:

Problem: failed to create task or type propertyregex


How do I get FTE to know about regular expression. I see Ant is builkd in already.

Back to top
View user's profile Send private message
matuwe
PostPosted: Fri Jun 08, 2012 2:18 am    Post subject: failed to create task or type propertyregexCause: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Someone please help.. this is the error I am getting on the log

Problem: failed to create task or type propertyregexCause: The name is undefined.Action: Check the spelling.Action: Check that any
custom tasks/types have been declared.Action: Check that any <presetdef>/<macrodef> declarations

These ant scripts where working super on Verion 7.0.3 and now we upgraded to version 7.0.4.1.. What am I doing wrong? have the java changed. My java exit is also giving me errors

Return code = 1 Error message = Unable to locate tools.jar.

I am running my agent on AIX and my user .profile has JAVA-HOME set to
export JAVA_HOME=/opt/IBM/WMQFTE/jre


please help
Back to top
View user's profile Send private message
matuwe
PostPosted: Wed Jun 20, 2012 12:23 am    Post subject: Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Hi

Okay problem solved. Had to add ant-conlib.jat in the ant/lib folder.

Thanks Wikus
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ File Transfer Edition » Regular Expression inside ant file
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.