Re: Downloading Source

Gene McCullough <[email protected]> Mon, 19 Dec 2005 09:45:42 -0600
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
I've just been through the process of acquiring a fresh copy of keel
and building on a new machine, and am planning to document the process
asap.  However, I'm on a tight deadline to get a project finished
(read, get payed) so you'll have to make do with a brief overview.

the following link has more useful information also:
http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch13.html

Requirements:
Java (I'm running sun jdk1.5.0_06)
Ant (setup per ant instructions)
Maven 1.0.2 (setup per maven instructions)

After getting maven setup, namely a repository location configured,
you'll need to get a couple of jars first.
Those are commons-resources-0.1-dev and jndi-1.2.1.  jndi can be
downloaded from Sun's site, unzip and place the jar at
MAVEN_REPO/jndi/jars.  I'm not aware of a repo for
commons-resources-0.1-dev, so I've changed my references to
commons-resources-1.0-dev, which is available on ibiblio repo.

Also, the multiproject goal uses lots of memory.
Set MAVEN_OPTS=-XX:PermSize=256m -XX:MaxPermSize=512m -Xmx640m
(change the numbers above as appropriate for your system, these worked
for mine with 1G ram on a Windows XP system)

Checkout from cvs (see docs for that instruction).  The "all" module
is assumed for this instruction.

>From root of your checkout, issue:
maven -Dgoal=jar:install multiproject:goal

create a project folder, will reference as YOUR_PROJECT.  I create
mine along side the keel modules.  With the new maven build system, i
believe it can be placed anywhere you like.

Copy an example project from keel-build/example-projects (default is a
good choice, Shash has gotten it to a runnable state.  I had to use
his generated project.xml from the list however to avoid all errors. 
See message from weekend) into YOUR_PROJECT.

copy Shash's project.xml to YOUR_PROJECT folder.

from YOUR_PROJECT folder, issue:
maven war
this builds the default.war file in YOUR_PROJECT/target to be deployed
to your container of choice.

Thats the basics to get the latest running.

--
Gene McCullough
http://keelframework.org/documentation.shtml
keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com