Re: Getting started...?

Michael Nash <[email protected]> Sun, 20 Feb 2005 18:58:44 -0500
Newsgroups gmane.comp.java.keel.user
Organization JGlobal Limited
Message-ID <[email protected]>
Morten:

I haven't got all the doc written up for it yet, but just this weekend
we've got fully operational a new build system for Keel, based on Maven.
The previous one was Ant-based, and fairly complex, especially to get
started with.

The new one is *much* simpler, and getting started is literally a matter
of a few commands. There are a number of complete example projects, one
of which I have just verified as fully operational with the new build
system (the rest are tomorrows job!)

In the morning tomorrow I'll be posting detailed doc on exactly how to
get started with this new system - I think you'll find it much more
approachable than the current version.

The error you're getting below does indeed sound like a database issue -
and you're right, it shouldn't happen as the default project includes
hypersonic by default. 

The reason your "test" target is breaking is probably because you don't
have the Junit optional jars in your "$ANT_HOME/lib" directory -
however, as of the new build system, you don't need to do this either
:-)

I'll post a notice here the moment the new doc hits the web - I promise,
no more than a page or so from zero to running app!

Regards,

Mike

On Sun, 2005-02-20 at 17:42, Morten Norby Larsen wrote:
> I came across the Keel project while looking for a good base for a  
> small web project I am considering.
> 
> It looks promising, so I thought I wanted to take a look at it.
> 
> The latest version from CVS wouldn't build (JUnit test cases wouldn't  
> compile), so I downloaded a week-old (more or less) version from  
> j2eeguy.com, which builds nicely - except the "test" target:
> 
> /Users/morten/Projects/EclipseData/Keel/keel-build/import/keel- 
> test.xml:38: Could not create task or type of type: junit.
> 
> However, when I try to initialise the database with the URL:
> 
> http://localhost:8080/default/model.do?model=createdb
> 
> I get the following error message in the browser window:
> 
> Could not return a reference to the Component  
> (Key='org.keel.services.persist.PersistentFactory/*')
> 
> I have not configured any database, as it was my understanding it would  
> happen automatically with Hypersonic?
> 
> Platform: MacOSX 10.3.8 (Java 1.4.2_05).
> 
> Does anyone have a good tip on how to get a good, basic demo version up  
> and running? I just wanted to get a feel for it, so it doesn't need to  
> have everything included.
> 
> 
> Thanks,
> 
> Morten
>