Re: build problem, no such resource in classpath
"Sasvata (Shash) Chatterjee" <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Gene wrote:
> no, actually none of my classes are listed in the uber jar (classes or
> .meta). I've tried maven clean on both my app and my project dir.
> Then I did also do the maven jar:install on the app, but then I did
> maven keel:maven clean war on the project. is that correct?
> jar -tf target/occa-1.0-uber.jar | grep .meta
> gives me none of my app files.
>
> not sure what i'm doing wrong. I do get app-occa-1.0.1.jar in my
> repository (If i delete it, my project build fails and says so) after
> the maven jar:install.
>
> my project.xml contains:
>
> <dependency>
> <groupId>keel</groupId>
> <artifactId>app-occa</artifactId>
> <version>1.0.1</version>
> <properties>
> <keel.client>true</keel.client>
> <keel.server>true</keel.server>
> </properties>
> </dependency>
Put this (and not keel.client) in the project.xml for app-occa (use
app-register/project.xml as a reference), only clnt-* and keel-common
need the keel.client property.
<properties>
<keel.server>true</keel.server>
</properties>
After you are done, you need to do a "maven keel:maven" before the war
build and make sure that the keel.client property is gone for app-occa
(or, you could just manually remove it).
HTH,
Shash
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com