You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Phil Steitz <ph...@gmail.com> on 2007/08/06 15:54:45 UTC

Re: Apache hardware (Was: How to start from here?)

Well, I finally got the response that we can't get a solaris zone
while in the incubator.  I can get us set up to run in the Continuum
instance, or via command line scripts on vmbuild1.apache.org, though,
which is an Ubuntu linux vmware image.  Are there some build scripts
somewhere in svn that we can start testing with?

Phil

Re: Apache hardware (Was: How to start from here?)

Posted by Jim Hurley <Ji...@Sun.COM>.
On Aug 19, 2007, at 1:02 PM, Phil Steitz wrote:
> On 8/16/07, Frank Barnaby <Fr...@sun.com> wrote:
>> :
>> :
>
> Using these instructions and a little hacking, I got the jstk build
> working on the Continuum instance on vmbuild1.apache.org.
:

Thanks Phil!  This is awesome.

-Jim



Re: Apache hardware (Was: How to start from here?)

Posted by Phil Steitz <ph...@gmail.com>.
On 8/16/07, Frank Barnaby <Fr...@sun.com> wrote:
>
> Yes, Ant build scripts are available in the svn source tree.  A set of
> build instructions are also available in the top-level doc directory
> (trunk/jtsk/doc/build.html); however, those instructions were written
> with reference to an end-user installation of the released binary and
> source distribution.  At some point, those instructions will need to
> be updated to reflect inevitable changes in the distribution.
>
> Till then, I'll provide a brief set of instructions here to build the
> sources within an svn repository:
>
>         1) Set JAVA_HOME to the top level of a JDK 1.4 (or later)
>            distribution, and export the environment variable.
>
>         2) Building the jars currently requires access to the
>            prebuilt-outrigger-logstore.jar file, so you'll need to
>            set JINI_HOME to the top-level directory of a Jini 2.1
>            distribution, and export that environment variable.
>
>         3) Set ANT_HOME to the top-level directory of an Ant 1.6.2
>            (or later) distribution, and export that environment
>            variable.
>
>         4) Go into the trunk/jtsk directory and run ant with one or
>            more of the following targets:
>
>                 all (the default)
>                 clean
>                 jars
>                 doc
>                 spec-doc
>
> That should get you started.  Let me know if you have any problems.
>

Using these instructions and a little hacking, I got the jstk build
working on the Continuum instance on vmbuild1.apache.org.  To
workaround the prebuilt-outrigger-logstore.jar dependency, I created a
"fakeJini" directory in my home there including just a /lib directory
including that jar and set JINI_HOME to point there.  Other than this
hack, everything works directly out of svn.  We should fix the
build_common.xml to eliminate that external dependency and then drop
the "Jini" installation from the "River" profile.  The build is now
set up to run under JDK 1.5 and executes "clean", then "all" and
"jars".  If 1.6 or something else is preferred, let me know and I can
change that.

For now, the build is set up to run on the default schedule, which (I
think) is hourly, but it will not run unless there are changes to svn.
 Notifications (only on failure or error) are set to come to this
list.

Currently, Nigel and Frank are set up with permissions to modify the
River build group.  Other committers who want to work on the CI build
should register at http://vmbuild1.apache.org and then let one of us
know so we can add you to the River group.  Right now, I think I am
the only one who can add environment variable definitions (what
Continuum calls "Profiles" made up of "Installations"), but any group
member can add a build using one of the existing profiles.

Phil

Re: Apache hardware (Was: How to start from here?)

Posted by Phil Steitz <ph...@gmail.com>.
Thanks, Frank!

On 8/16/07, Frank Barnaby <Fr...@sun.com> wrote:
>
> Yes, Ant build scripts are available in the svn source tree.  A set of
> build instructions are also available in the top-level doc directory
> (trunk/jtsk/doc/build.html); however, those instructions were written
> with reference to an end-user installation of the released binary and
> source distribution.  At some point, those instructions will need to
> be updated to reflect inevitable changes in the distribution.
>
> Till then, I'll provide a brief set of instructions here to build the
> sources within an svn repository:
>
>        1) Set JAVA_HOME to the top level of a JDK 1.4 (or later)
>           distribution, and export the environment variable.
>
>        2) Building the jars currently requires access to the
>           prebuilt-outrigger-logstore.jar file, so you'll need to
>           set JINI_HOME to the top-level directory of a Jini 2.1
>           distribution, and export that environment variable.

I assume it is OK to grab and install this on ASF hardware? (I am
thinking of the nightlies here).

>
>        3) Set ANT_HOME to the top-level directory of an Ant 1.6.2
>           (or later) distribution, and export that environment
>           variable.
>
>        4) Go into the trunk/jtsk directory and run ant with one or
>           more of the following targets:
>
>                all (the default)
>                clean
>                jars
>                doc
>                spec-doc
>
> That should get you started.  Let me know if you have any problems.
>

Will do.  I will play with this this weekend locally and also see if I
can get things set up on vmbuild1

Phil

Re: Apache hardware (Was: How to start from here?)

Posted by Frank Barnaby <Fr...@Sun.COM>.
Yes, Ant build scripts are available in the svn source tree.  A set of
build instructions are also available in the top-level doc directory
(trunk/jtsk/doc/build.html); however, those instructions were written
with reference to an end-user installation of the released binary and
source distribution.  At some point, those instructions will need to
be updated to reflect inevitable changes in the distribution.

Till then, I'll provide a brief set of instructions here to build the
sources within an svn repository:

	1) Set JAVA_HOME to the top level of a JDK 1.4 (or later)
	   distribution, and export the environment variable.

	2) Building the jars currently requires access to the
	   prebuilt-outrigger-logstore.jar file, so you'll need to
	   set JINI_HOME to the top-level directory of a Jini 2.1
	   distribution, and export that environment variable.

	3) Set ANT_HOME to the top-level directory of an Ant 1.6.2
	   (or later) distribution, and export that environment
	   variable.

	4) Go into the trunk/jtsk directory and run ant with one or
	   more of the following targets:

		all (the default)
		clean
		jars
		doc
		spec-doc

That should get you started.  Let me know if you have any problems.


Frank


On Aug 6, 2007, at 9:54 AM, Phil Steitz wrote:

> Well, I finally got the response that we can't get a solaris zone
> while in the incubator.  I can get us set up to run in the Continuum
> instance, or via command line scripts on vmbuild1.apache.org, though,
> which is an Ubuntu linux vmware image.  Are there some build scripts
> somewhere in svn that we can start testing with?
>
> Phil


Re: Apache hardware (Was: How to start from here?)

Posted by Jim Hurley <Ji...@Sun.COM>.
Thanks for checking into it, Phil.

There are build scripts in the svn, but it'll probably have to
wait until next week.  Frank Barnaby is the best person to
work on it, and he is on holiday this week.

thanks -Jim


On Aug 6, 2007, at 9:54 AM, Phil Steitz wrote:
> Well, I finally got the response that we can't get a solaris zone
> while in the incubator.  I can get us set up to run in the Continuum
> instance, or via command line scripts on vmbuild1.apache.org, though,
> which is an Ubuntu linux vmware image.  Are there some build scripts
> somewhere in svn that we can start testing with?
>
> Phil