You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Carfield Yim <ca...@carfield.com.hk> on 2007/11/19 17:34:26 UTC

How can I try to run the project?

Hi, my colleague refer me to this project as he know I am interested
on jini also. However once I checkout the project this is not come
with the dependence jars. Can I download it somewhere can try to build
and run the project??

RE: How can I try to run the project?

Posted by Hakan Kocakulak <ha...@uzay.tubitak.gov.tr>.
Hi Mark,
After checking out, project cannot be built. Following are the reasons:
Under 
com.sun.jini.tool package ClassDep.java and DlassDepLoader.java depends on following classes

import sun.tools.java.BinaryClass;
import sun.tools.java.ClassDeclaration;
import sun.tools.java.ClassFile;
import sun.tools.java.ClassNotFound;
import sun.tools.java.ClassPath;
import sun.tools.java.Constants;
import sun.tools.java.Environment;
import sun.tools.java.Identifier;
import sun.tools.java.MemberDefinition;
import sun.tools.java.Package;
import sun.tools.java.Type;

however I think, these classes are necessary for analyzing codes.

If one excludes ClassDep.java and DlassDepLoader.java from class path project builds with JDK 1.4 level compiler.

with JDK 1.6 Level compiler,

One has to change "enum" variable from com/sun/jini/jeri/internal/runtime/Util.java

Since enum is reserved word.

I started to follow list recently, I hope to contribute to your efforts.

Regards,
Hakan



-----Original Message-----
From: Mark Brouwer [mailto:mark.brouwer@cheiron.org] 
Sent: Monday, November 19, 2007 9:48 PM
To: river-dev@incubator.apache.org
Subject: Re: How can I try to run the project?

Carfield Yim wrote:
> Hi, my colleague refer me to this project as he know I am interested
> on jini also. However once I checkout the project this is not come
> with the dependence jars. Can I download it somewhere can try to build
> and run the project??

Hi,

You should be able to build River from the trunk, I'm not aware of any
required dependencies. Based on the river/trunk/jtsk I'm able to build a
'release' when executing ant build.release you get a dist directory that
contains a source and binary distribution. Can you tell what problems
you ran into?

Running the project is probably a different story [1], it is
questionable whether the River release is the best thing to get started
with the Jini technology. There are alternatives built on top of the
Apache River codebase that lowers the hurdle significantly for getting
started with Jini and shield you from a lot of things that can go wrong
when working with the basics and besides that provide you a lot of
things not provided by the River codebase.

More information about getting started with Jini you can find here
http://www.jini.org/wiki/Category:Getting_Started , and due to my
personal involvement with the Cheiron project I might suggest you to
have a look at the Seven Suite http://www.cheiron.org/seven/

Regards,
-- 
Mark




Re: How can I try to run the project?

Posted by Mark Brouwer <ma...@cheiron.org>.
Carfield Yim wrote:
> Hi, my colleague refer me to this project as he know I am interested
> on jini also. However once I checkout the project this is not come
> with the dependence jars. Can I download it somewhere can try to build
> and run the project??

Hi,

You should be able to build River from the trunk, I'm not aware of any
required dependencies. Based on the river/trunk/jtsk I'm able to build a
'release' when executing ant build.release you get a dist directory that
contains a source and binary distribution. Can you tell what problems
you ran into?

Running the project is probably a different story [1], it is
questionable whether the River release is the best thing to get started
with the Jini technology. There are alternatives built on top of the
Apache River codebase that lowers the hurdle significantly for getting
started with Jini and shield you from a lot of things that can go wrong
when working with the basics and besides that provide you a lot of
things not provided by the River codebase.

More information about getting started with Jini you can find here
http://www.jini.org/wiki/Category:Getting_Started , and due to my
personal involvement with the Cheiron project I might suggest you to
have a look at the Seven Suite http://www.cheiron.org/seven/

Regards,
-- 
Mark