Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwregen takes a lot of time
Markandeyulu
When i run iwregen from the command line it takes a lot of time...and gives me a lot of errors...such as uninitalized values
BEGIN failed--compilation aborted at /u01/iw-home/iw-perl/lib/perl5/site_perl/5.005/TeamSite/DCRparser.pm line 88.
BEGIN failed--compilation aborted at /u01/iw-home/iw-perl/lib/perl5/site_perl/5.005/TeamSite/PTparser.pm line 241.
BEGIN failed--compilation aborted at /u01/iw-home/bin/iwpt_compile.ipl line 529.
"my" variable $cmd masks earlier declaration in same scope at (eval 39)
but when i run it from teh file menu it does it in atleast 1/20th of the time and without any errors..
is there a way i can supress these errors.. and the reason why i am getting such errors.. and how i can get the htmls regenerated faster from the file menu...
thanks
Find more posts tagged with
Comments
Migrateduser
Use iwpt_compile.ipl (check the file for all the command line parameters you need and yes you have to provide the full path) to create an ocode file.
Then start perl like this:
iw-home/iw-perl/bin/iwperl -w -c ocode-file-name-here
You get a bunch of warnings here (I guess). Try to fix them all, unless they are in TeamSite provided modules.
I have been on a customer site where generation took over 2 minutes. They managed to get rid of the warnings and brought generation time back to 10-20 seconds (!). That's why I always recommend running all TPLS through iwpt_compile.ipl, just to kill the warnings.
**** doesn't play dice.
-- Albert Einstein