need clearification with inplace development

Hussayn Dabbous <[email protected]>
Newsgroups gmane.comp.java.scarab.devel
Message-ID <[email protected]>
Hi;

there seems to be a bit of confusion and much of broken functionality
with the inplace development:

1.) in the docs we have mentioned war:inplace and scarab:inplace as 2 goals.
     while war:inplace does something, scarab:inplace does not exist.
     So i assume, this is a typo in the docs ?

     look at xdocs/howto/maven-build-howto.xml

2.) maven war:inplace copies the libs to src/webapp/WEB-INF/lib and
     it also copies the classes. but...
     the docs mention, that other files are modified, especially the
     tomcat/webapps/scarab.xml should be modified so that the correct
     source folder is found. But this file is not touched.

3.) the docs say, that maven clean would be used to revert war:inplace.
     this is not true. it simply removes the target folder. The files
     generated by maven war:inplace are not removed.

4.) the term inplace development is missleading to some extend...
     first of all the build systems (maven AND ant) will still create
     the classes under the target folder...
     I expected, that the build system would create the classes under
     src/webapp/WEB-INF/classes once maven war:inplace has been run. But
     in reality you need to "maven war:inplace" over and over when you modify
     java sources...

     so it is like this:

     maven java:compile    is "normal build"
     maven war:inplace     is "inplace build"

     I can live with that, but we should make it clearer in the docs.

===================

PROPOSALS:

1.) what about renaming the target "war:inplace" to "java:inplace" ?
     or alternatively rename "java:compile" to "war.compile" ?

2.) Repair the broken functionality in maven
     BTW ... What is about maven-2 ?

regards, hussayn



-- 
Dr. Hussayn Dabbous
SAXESS Software Design GmbH
Neuenhöfer Allee 125
50935 Köln

tel.: +49 221 560 11 0
fax.: +49 221 560 11 20

mailto:[email protected]
http://www.saxess.de
http://www.saxess.com
http://www.saxess.org
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.