RE: Examples on installation packages

"Bonilla, Christian J (Puerto Rico R&D)" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <9D75DB0004BEFC4C852C49F9DD9A084438EB0A@agdexc01.americas.cpqcorp.net>
Ashish,
 
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:
 
Buildfile: build.xml
 
init-common:
 
verify-smartfrog:
 
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.
 
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.
 
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.
 
Thanks again,
 
Christian
 


________________________________

From: Ashish Awasthi [mailto:awasthi-hAGStUev6lJWk0Htik3J/[email protected]] 
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,
 
I presume that you are able to build core/components/<component -name>
successfully.
 
There are two solutions you may try.
 
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.
 
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.

 
Initially, I would recommend solution 1. You may try solution 2 later.
 
Hope it helps. 
 
Please feel free to ask questions.
 
Thanks,
Ashish

	-----Original Message-----
	From: Bonilla, Christian J (Puerto Rico R&D)
[mailto:[email protected]]
	Sent: Friday, June 25, 2004 2:28 AM
	To: Ashish Awasthi
	Subject: RE: [Smartfrog-support] Examples on installation
packages
	
	
	Hello again Ashish,
	 
	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.
	 
	Thanks again for your help,
	 
	Christian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.