Re: build with 'maven war'

Michael Nash <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Organization JGlobal Limited
Message-ID <[email protected]>
Morten:

On Mon, 2005-02-28 at 08:56, Morten Norby Larsen wrote:
> Sorry to persist with these questions, but I am not sure I get the 
> whole picture.

Not at all - we appreciate your persistance (and patience!) 

> I have built the "default" application, and when going to the URL
> 
> http://localhost:9006/default/model.do?model=nav.navigate-seq
> 
> I get the usual (I think) error:
> 
> javax.servlet.ServletException: null : Can't find file 
> '/WEB-INF/tiles-defs.xml'

Hmm. This *should* be fixed. Give this a try:
find your local Maven repository (either where you pointed
maven.repo.local, or $HOME/.maven/repository if not specified). Within
it you'll see a "keel" directory. Delete the contents of that directory.
This will force Maven to re-download all modules for Keel when you try
to do a new "maven war".

Next, make sure you have the latest Maven plugin for Keel by re-doing
the maven plugin:download command. The current version is 1.2.4.

Now, if all went well, you should be able to do a "maven war" in the
default project and get a clean war file. At least one person has
reported that they had to do the "maven war" *twice*, for some strange
reason, but I wasn't able to reproduce this here.

Please let us know what happens - reports like yours are how we get this
fixed up and bulletproof!

Regards,

Mike

> 
> Is there a simple fix for that, or do I have to wait for a final build?
> 
> 
> Thanks,
> 
> Morten
> 
> 
> 
> On 28 Feb 2005, at 14:04, Michael Nash wrote:
> 
> > Bruce:
> >
> > On Sun, 2005-02-27 at 18:45, Bruce Powell wrote:
> >> Thank you,
> >> Can we update ch13 so ensure user goes into the default directory of
> >>  example-projects?
> >
> > I'll do that right now, thanks for pointing it out!
> >
> >> The build included a lot of jars in the war, but no web files, e.g.
> >> index.html, and the following errors
> >>
> >>    [copy] Warning: Could not find file
> >> C:\keel\keel-build\example-projects\default\logkit.properties to copy.
> >>     [copy] Warning: Could not find file
> >> C:\keel\keel-build\example-projects\default\roles.properties to copy.
> >>     [copy] Warning: Could not find file
> >> C:\keel\keel-build\example-projects\default\instrument.properties to
> >> copy.
> >
> > Those warnings are OK. You might want to get the latest update to the
> > plugin (1.2.4), as Shash reports he was able to build a webapp now.
> >
> > Mike
> >
> >>
> >> regards
> >> Bruce Powell
> >
> > 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.