From: Bonilla, C. J (P. R. R&D) <chr...@hp...> - 2004-06-25 19:46:57
|
Ashish, =20 As you had stated before, the first problem is that I cannot build any of the components under "core" successfully. I've installed the core directory under SFHOME, but I can't get any of those components to build. For example, here's the ant output when trying to build the ssh component: =20 Buildfile: build.xml =20 init-common: =20 verify-smartfrog: =20 BUILD FAILED /opt/SmartFrog.3.02.002.beta/dist/core/common.xml:249: /opt/SmartFrog.3.02.002.beta/dist/core/smartfrog/dist/lib not found. =20 It's looking for the SFHOME directory to be under core, just as it is in CVS. But since I've already installed SF, I thought I'd add it under SFHOME. =20 My understanding is that I probably need to change the directory definitions in common.xml to do a successful build, but I'm not sure if this is correct, or even what to change it to. =20 Thanks again, =20 Christian =20 ________________________________ From: Ashish Awasthi [mailto:aw...@in...]=20 Sent: Friday, June 25, 2004 1:33 AM To: Bonilla, Christian J (Puerto Rico R&D) Cc: Smartfrog-Developer (E-mail) Subject: RE: [Smartfrog-support] Examples on installation packages Hi Christian, =20 I presume that you are able to build core/components/<component -name> successfully. =20 There are two solutions you may try. =20 1. Copy jar files under core\components\<component-name>/build/dist/lib to SFHOME/lib [ typically <sf installation dir>/core\smartfrog\dist\lib] and restart the SmartFrog daemon. This would include components jar files in daemon class path. =20 2. Share components jar files trough a web server and use class loader feature of SmartFrog. Please refer section 7 of user manual for details. =20 Initially, I would recommend solution 1. You may try solution 2 later. =20 Hope it helps.=20 =20 Please feel free to ask questions. =20 Thanks, Ashish -----Original Message----- From: Bonilla, Christian J (Puerto Rico R&D) [mailto:chr...@hp...] Sent: Friday, June 25, 2004 2:28 AM To: Ashish Awasthi Subject: RE: [Smartfrog-support] Examples on installation packages =09 =09 Hello again Ashish, =20 Excuse my questions, which might seem obvious, but I'm just getting started with SmartFrog. I've been trying to run the examples under /core/components with no luck. I've set the SF environment as stated in the SF User Manual, and the examples included with SF run OK. The problem is that for the components under /core/components, apparenty it can't find the SF files and the java files in each components directory. I tried initially to force it to run by adding the absolute path for the component includes in each required .sf file, but then it couldn't find the java files, and at that time I knew perhaps some tye of environment variable was missing. Please let me know what could be going on. =20 Thanks again for your help, =20 Christian=20 |