Qmax might be better to comment but the script is expecting two params passed in on the cmd line. It tests for these and dies if not their.

It looks like you are setting some variables up in the script? This is not needed just pass the strings in when you execute the script. Looks like qmax has also wriiten a test switch (-t ) so things can be quite safe

to run as a test use:

lenyaimport.pl -t "C:\ProjectBS\src\apache-lenya-1.2.2src\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial" "D:\file.xml"

to run for real:

lenyaimport.pl "C:\ProjectBS\src\apache-lenya-1.2.2src\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial" "D:\file.xml"

Note i've just copied your filepaths, I guess it won't work if these are wrong.



----- Original Message ----- From: "Amna & Kiran" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, May 10, 2005 9:44 AM
Subject: a plea to qMax



Hi
We know we've been bothering u a lot, but ,can't help it :( Sorry.
But plz guide us as to how to run tht perl code u've provided
on "ContentImportHowTo" in wiki Lenya tutorials.
We are new to perl, have read a couple of tutorials and what we r doing while
compiling it is as follows:


We are providing the following parameters in the code:
............................
....

# defaults
.
.
.
$args{'pub-path'}="C:\ProjectBS\src\apache-lenya-1.2.2-
src\build\lenya\webapp\lenya\pubs\default";
$args{'NODEPATH'}="C:\ProjectBS\src\apache-lenya-1.2.2-
src\build\lenya\webapp\lenya\pubs\default\content\authoring\tutorial";
$args{'FILENAME'}="D:\file.xml";
.................
............

And still we are getting the msg:
"Some required arguments missing (pub-path, NODEPATH, FILENAME)





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to