From: Junmin L. <ju...@pc...> - 2005-07-20 18:32:45
|
Hi, looks like there is bug when you tried to build GUS/Model at the first place. The build.xml doesn't declare the dependence of "Model" target on "Supportted", however the bin/generateGusObjects use the GUS::Supported::GusConfig. Here is the error message. [junmin@hera rad]$ build GUS/Model install -append [WritePropertyFiles] Jul 20, 2005 2:05:33 PM org.gusdb.install.WritePropertyFileTask writeGusProp [WritePropertyFiles] INFO: Skipping creation of GUS_CONFIG_FILE /home/junmin/gus35/.gus.properties -- already exists [WritePropertyFiles] Jul 20, 2005 2:05:33 PM org.gusdb.install.WritePropertyFileTask writeInstallProp [WritePropertyFiles] INFO: Recreating install.prop file [WritePropertyFiles] Jul 20, 2005 2:05:33 PM org.gusdb.install.WritePropertyFileTask writePluginProp [WritePropertyFiles] INFO: Recreating GUS-PluginMgr.prop file [copy] Copying 1 file to /www/rad/gushome/config [copy] Copying 1 file to /www/rad/gushome/config [echo] . [echo] Installing GUS/ObjRelP [mkdir] Created dir: /www/rad/gushome/bin [copy] Copying 3 files to /www/rad/gushome/bin [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/ObjRelP [copy] Copying 18 files to /www/rad/gushome/lib/perl/GUS/ObjRelP [mkdir] Created dir: /www/rad/gushome/doc/GUS/ObjRelP [copy] Copying 3 files to /www/rad/gushome/doc/GUS/ObjRelP [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/Core [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/DoTS [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/RAD [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/SRes [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/TESS [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/PROT [mkdir] Created dir: /www/rad/gushome/lib/perl/GUS/Model/Study [echo] generating Perl Objects [exec] Can't locate GUS/Supported/GusConfig.pm in @INC ............. couple thoughts: 1. One of obvious solution is to declare the dependence of "Model" on "Supported", which I did and it runs OK. 2. While maybe it is bad idea, since "Model" should not depend on "Supported". So maybe we should move the GusConfig.pm inside other component like "ObjRelP". 3. Say in the documentation that we should not run "build GUS/Model install" at first place. I will file a bug in the tracker. ---junmin |