Re: [Keelgroup] Update Documentation: Including install procedure

Ramin <[email protected]> Mon, 21 Feb 2005 11:06:19 -0500
Newsgroups gmane.comp.java.keel.user
Message-ID <6f75632505022108066835a012__32885.4938773022$1109246745$gmane$org@mail.gmail.com>
So do I still need to run ant create-project from the keel-build
directory to create a new project? This is what I had to do before
with the ant procedure. If Ant isn't needed anymore, how do I go about
creating a new project using just Maven? I'm talking about creating a
folder structure and everything, just like Ant did before, where it
asked me for the project location and short-name.

Thanks,
Ramin


On Mon, 21 Feb 2005 10:31:12 -0500, Michael Nash
<[email protected]> wrote:
> Ramin:
> 
> On Mon, 2005-02-21 at 10:25, Ramin wrote:
> > I'm not sure if I'm doing this entirely right, but here is what I did
> > on a WinXP system and the new Maven build procedure:
> >
> > - downloaded and setup Maven
> > - installed the keel plugin
> >
> > - created a build.properties in my "home" directory, which I assumed was:
> >         C:\Documents and Settings\<username>\
> >   and inserted the following two lines:
> >         maven.repo.local=C:/Documents and Settings/<username>/.maven/repository
> >         maven.repo.remote=http://ibiblio.org/maven,http://keelframework.org/maven
> >
> > - navigated over to $KEEL_HOME/keel-build/example-projects/default and
> > typed in "maven"
> > - maven started to download a bunch of jars into my maven.repo.local folder
> 
> Sounds right. You must have defined the build.properties in the right
> place, or it would not have known to find the remote repositories
> properly.
> 
> > ok, so I guess the files I need for the default project have been
> > downloaded into my repository. Now how do I create a new project? What
> > would be the maven equivalent of ant create-project?
> 
> maven keel:war will create a complete default.war file (in the target
> sub-dir). You can then just put this .war in your Tomcat (or other web
> server) webapps directory, restart Tomcat, and the app is up and
> running.
> 
> > P.S. I am not sure if putting my build.properties file in that folder
> > made any difference. Because I believe C:/Documents and
> > Settings/<username>/.maven/repository is the default repository
> > location for maven on windows anyway. I'm not going to mess with it
> > right now and keep my repo at that location. it seems to be working
> > fine..
> 
> Yes, your maven.repo.local setting is telling it to put it at the
> default location, which is fine. You can also leave that line out of
> build.properties and it would do the same thing. The critical line in
> build.properties is the maven.repo.remote line.
> 
> Mike
> 
> >
> >
> > On Mon, 21 Feb 2005 09:10:13 -0500, Michael Nash
> > <[email protected]> wrote:
> > > Morning all:
> > >
> > > I've just published a new update to the chapter in the doc that
> > > discusses the new Maven build system.
> > >
> > > http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch13.html#d0e5613
> > >
> > > You will also find on there instructions for initially installing Keel
> > > itself via Maven - I think you'll find this procedure far simpler than
> > > the old method of getting a whole CVS snapshot.
> > >
> > > So far on the "default" example project has been set up to work with
> > > this new build technique, but I hope to have the remainder of the
> > > projects converted today, as it's not difficult to set up.
> > >
> > > I will publish updates to this doc frequently, and would appreciate any
> > > feedback, especially if the instructions don't work!
> > >
> > > Regards,
> > >
> > > Mike
> > >
> > > P.S. One small addition already: There's a mirror of maven-1.0.2 at
> > > http://www.keelframework.org/maven/maven-1.0.2.zip, just for
> > > convenience.
> > >
> > > http://keelframework.org/documentation.shtml
> > > Keelgroup mailing list
> > > [email protected]
> > > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> > >
> >
> 
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
> 


-- 
- Ramin