We are newly migrating to TS 7.3.2 windows from TS 6.7.2 UnixI was trying to get a dct and tpl to work on the new TS Dev box.While trying to generate from DCT, i see this error on screen: An error occurred during PT compiling. Please see more details in log files.
\Interwoven\TeamSite\bin>iwpt_compile.ipl -pt Y:\aacom\main\NorthAmerica\WORKAREA\production\templatedata\non-Repository\standardLayout\presentation\standardLay out.tpl -ofile Y:\aacom\main\NorthAmerica\WORKAREA\production\pubcontent\en_US\test_03252013.jsp -iw_pt-dcr Y:\aacom\main\NorthAmerica\WORKAREA\production\templatedata\non-Repository\standardLayout\data\en_US\test_03252013 -iw_pt-arg varLocale=en_US
You need to have two backslashes in the following lines (ignore the extra space that this forum is putting below).[PHP] require "D:\Interwoven\TeamSite\aascripts\includes\AATemplating.pm"; use lib 'D:\Interwoven\TeamSite\aascripts\lib\perl';[/PHP] [PHP] require "D:\\Interwoven\\TeamSite\\aascripts\\includes\\AATemplating.pm"; use lib 'D:\\Interwoven\\TeamSite\\aascripts\\lib\\perl';[/PHP]
use lib "d:/Interwoven/TeamSite/aascripts/lib/perl";use lib "d:/Interwoven/TeamSite/asscripts/includes";use AATemplating;
[...] you should put your custom modules into the following location.d:\Interwoven\TeamSite\iw-perl\site\libThen, add the following to the first line of your AATemplating.pm file.package AAScripts::AATemplating;
In the above location, create a folder called AAScripts and put your AATemplating.pm into that folder.Then call it using.use AAScripts::AATemplating;my $obj = new AAScripts::AATemplating$obj->yourfunction("somevalue");