AW: Build Problem
"Uta Kapp" <[email protected]> Mon, 29 Aug 2005 00:37:42 +0200
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Raj,
I am also trying to get a working war file for keel and I am experimenting
with
/example-projects/default and /example-projects/hoj. I am a few steps
further than you,
but still battling some problems.
1. Problem: Warning: Could not find file
C:\mykeel\target\temp\lib\keel-client\conf\client\snippets\web-1.xml to
copy.
I solved by adding the following dependency to the project.xml file:
<dependency>
<groupId>keel</groupId>
<artifactId>keel-client</artifactId>
<version>2.3</version>
<properties>
<war.bundle>true</war.bundle>
<keel.client>true</keel.client>
</properties>
</dependency>
2. It seems to be a good idea to use the latest maven plugin from cvs.
To build this,
* fetch keel/tool-maven and keel/tool-maven-plugin from cvs
* run "maven jar:install" in directories {keel_home}/keel-build,
keel/tool-maven and keel/tool-maven-plugin.
* run "maven plugin:install" inside directory
{keel_home}/tool-maven-plugin
3. maven keel:maven and maven war in default or hoj will generate the war
file.
Now I am battling to get the system running. I am using a Tomcat 5.5.1 to
deploy the war file.
The start page comes up well. The followup page
http://localhost:8080/hoj/model.do?model=nav.navigate-seq
gets me an error:
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Exception during model execution:
org.keel.clients.struts.ModelAction.execute(ModelAction.java:90)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224
)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java
:122)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.jav
a:118)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java
:52)
It will be interesting if you hit the same problem. I expect it to be caused
by an out of date jar file
from downloading. from maven.repo.remote.
Trying to re-build from cvs with
maven -Dgoal=jar:install multiproject:goal
in /keel-build should fire up rebuild of all projects in system, but does
not do the job for me.
I am very interested to hearing from you, if your war file is working.
Uta
-----Ursprüngliche Nachricht-----
Von: keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org
[mailto:keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org]Im
Auftrag von Raj Joshi
Gesendet: Sonntag, 28. August 2005 22:12
An: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected]
Betreff: Re: [Keelgroup] Build Problem
btw, i'm trying to work off of maven-keel-plugin-1.2.18.jar and
running into issues. do you know of a stable maven-keel-plugin that
renders a clean build? i already tried maven-keel-plugin-1.2.9.jar
and ran into issues as well.
thanks.
-raj
On 8/28/05, Raj Joshi <[email protected]> wrote:
> I figured and put requisite properties tag within its body - using
> appropriate keel.client or a keel.server tag.
>
> Now getting following error (btw, i'm trying to do "maven war" for the
> .../example-projects/default project.):
> BUILD FAILED
> File...... C:\Documents and
Settings\Administrator\.maven\cache\maven-keel-plugi
> n-1.2.18\plugin.jelly
> Element... copy
> Line...... 751
> Column.... 89
> Warning: Could not find file
C:\mykeel\target\temp\lib\keel-client\conf\client\s
> nippets\web-1.xml to copy.
> Total time: 54 seconds
> Finished at: Sun Aug 28 16:02:55 EDT 2005
>
>
> -raj
>
> On 8/28/05, Raj Joshi <[email protected]> wrote:
> > not sure if i follow. could you elaborate for a newbie please?
> > -raj
> >
> > On 8/28/05, Raoul Pierre <[email protected]> wrote:
> > > Raj,
> > >
> > > >I thought I had gotten ahead but apparently not.
> > > >maven war
> > > >renders following error:
> > > >"keel.project property is not true - Keel-specific goals skipped"
> > > >
> > > >
> > > It seems that in the project.xml of your application:
> > > - either there is not dependency with any Keel Module
> > > - or none of the dependency with a Keel module has a properties tag
with
> > > in its body either a keel.client or a keel.server tag
> > >
> > > Pierre
> > >
> > >
> > > 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
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com