PerlSvc Command Option Oddity
by Craig Dayton other posts by this author
Sep 30 2003 5:01AM messages near this date
perlapp cause Oracle error ORA-06550
|
Re: PerlSvc Command Option Oddity
Here is an interesting discovery when using the --info option when compiling
with PerlSvc.
> perlsvc @mybackup.pl.config mybackup.pl
When 'mybackup.pl.config' contains:
--force
--exe E:\Utopia\Scripts\Perl\PerlSvc_Examples\MyBackup\MyBackup.exe
--verbose
--info CompanyName="ActiveState Example";
FileDescription="Example PerlSvc 520";
FileVersion="1.47.7.520";
InternalName="MyBackup";
OriginalFilename="MyBackup";
ProductName="Example MyBackup";
ProductVersion="1.47.7.520";
--clean
Perlsvc will complain that 'ProductVersion' has an invalid value specified.
When option file is change to:
--force
--exe E:\Utopia\Scripts\Perl\PerlSvc_Examples\MyBackup\MyBackup.exe
--verbose
--clean
--info CompanyName="ActiveState Example";
FileDescription="Example PerlSvc 520";
FileVersion="1.47.7.520";
InternalName="MyBackup";
OriginalFilename="MyBackup";
ProductName="Example MyBackup";
ProductVersion="1.47.7.520"
PerlSvc compiles the service successfully without complaining about the
'ProductVersion' value.
From my experience, ensure that --info option is that last option specified
and that the last item in the list does not contain a terminating
semi-colon. Although the PDK help documentation indicates that
'ProductVersion' is required, it compiled without complaint when the
specification is missing.
-Craig
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Craig Dayton
Jan Dubois
|