What is wrong with just moving the packaged res dir into bin?

2 views
Skip to first unread message

aardvarkman

unread,
Jan 26, 2009, 4:12:15 AM1/26/09
to Cava Packager
Howdy,

Since I was having some file resource difficulties, I tried moving the
res dir in my package under bin, thereby maintaining the path
relationship between my original pl script and it's referenced files.

For development, I have this:

Dir
script.pl
res
referenced files

After packaging, I have this:

build
bin
scipt.pl
resdir
lib

It seems to work fine. Is there any reason I can't just skip using the
Cava Pack Resource mechanism and just manually copy my res dir under
bin?

Thanks,

Ben


aardvarkman

unread,
Jan 26, 2009, 4:55:19 AM1/26/09
to Cava Packager
Turns out it works fine on my dev machine, but not on another machine.
My guess is the perl modules my script references don't know where to
look for the now moved resource directory.

ben
Reply all
Reply to author
Forward
0 new messages