ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved