Re: Maven: cannot run keel:maven
"Sasvata (Shash) Chatterjee" <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Mike, >>Not that I didn't already ask a bunch of questions, I forgot one >>though. I did two successive "maven war" runs, without changing any >>source, and each time it took roughly 5 minutes to go through the goal. >>I am sure there is a faster edit/build/debug cycle, question is what is >>it. Maybe I shouldn't be using the war method, but instead use an >>expanded webapp directory? I tried "maven webapp" (and even "maven >>keel:webapp"), as it says in the doc., but Maven says "goal doesn't >>exist in project". Also, if we do this, Tomcat requires manual >>configuration, right, unlike the Ant build system which used to take >>care of this? >> >> > >Yes, that's all correct, but there are indeed goals in Maven to do the >expanded webapp, just as we did with the Ant system (except already >written!) I believe it's war:webapp, although I'd have to double check. >What I'm trying to do is "customize" what Maven is doing as little as >possible, using the defaults wherever that's practical. > > > I tried "maven war:webapp". But it pretty much took the same amount of time, around 5 minutes. Most of the time, looks like, goes toward building the uber jar (what is the function of this?). Question is, do we need the uber JAR for a expanded webapp scenario, since this is, I guess, for a fast edit/build/test cycle? Also, when building the uber jar, the temp directory is deleted which forces the expansion of all the JARs from scratch everytime, even though none have changed. Maybe we can remove the delete step, with the gotch'a being you have to delete manually if you delete some dependency JARs, or you deleted something in your app? I am not too sure of all the Maven options, maybe I am overlooking something obvious. Shash http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com