From: Jonathan C. <cra...@sn...> - 2003-02-18 00:54:46
|
Hi Chetna- On Mon, 17 Feb 2003, Chetna Warade wrote: > 1) The FileNotFoundException occured because java was not able to find > build.xml located in the GUS project (point 8 in Build System set up html OK, my mistake; I didn't realize that you hadn't downloaded the GUS project. > - In summary the BuildSystemsetup should mention to download both CBIL and > GUS projects. Point 7 does say that you should check out the GUS and install projects from the Sanger CVS repository (and provides the command for doing so, lest you should misconstrue "check out" to mean "look at.") However, we could reword point 8 so that it says something like this: "At a minimum you will need to get the CBIL project (in addition to the GUS and install projects, which you should have downloaded in step 7.)" > 2) I tried running grantPermissions.pl (standlone with perl) and here's > the problem. The GUS project that I downloaded from cvsweb has the > directory structure: /home/projects/GUS/DBAdmin/lib/perl/*.pm > > and the grantPremissions.pl has: > > use GUS::DBAdmin::Database; > use GUS::DBAdmin::Schema; > > which is why it fails. I am not quite sure if the build creates this > grantPermissions.pl but I dont know how to fix the discrepancy in the > directory structure (I could make changes though). Thats why I havent run > the create-db.sh script. Also permission of grantPermission.pl is not set > as executable. Maybe it should. The build process creates a new copy of this script in your $GUS_HOME, and makes it executable. It will also copy the library (.pm) files to a location in your $GUS_HOME, where they *will* conform to the directory structure that you would expect from the package names. If you follow all of the setup directions (including setting your PATH and other environment variables as indicated), then you should end up with the grantPermissions.pl in your PATH (i.e. you should be able to just say 'rehash; grantPermissions.pl' and have it find and run the script correctly.) I'll try to improve the documentation to explain some of these things a little more thoroughly. Jonathan |