Philip/all,

I am in the habit of cleaning my Tomcat image before deploy... conf/Catalina/localhost, shared/lib, and webapps. I'll even clean the work and temp directories often. I also perodically issue 'maven -o allClean initMavenPlugin' or 'mvn -o clean'. I know it can be painful on a slow machine, but I feel it is well worthwhile. I also rarely edit the bulid.properties or settings.xml files. By taking a few simple precautions, I have managed to tame many of these issues in my development cycle.

Randy

Philip Mark Donaghy wrote:
I reproduced this when I updated the jetspeed source. I had some
target directories that were left over while testing mvn (maven 2). I
noticed that 'maven -o allClean' did not remove these, probably
normal. I also replaced the tomcat that I had with a fresh version.
That resolved the issue.

I also didn't modify tomcat-users.xml, therefore I just learned that
this is only necessary for WEB-INF/deploy directory deployment.
Jetspeed has so many hidden features. It's quite powerful but the
learning curve is pretty high. There are also some things that go
unchecked like if you make a mistake with your tomcat path properties
the maven-plugin creates all new directories for you instead of
telling you that the path does not exist.

Phil

On 3/2/06, Dr. Michael Lipp <[EMAIL PROTECTED]> wrote:
for some reason, the "maven allClean allBuild" does no longer include
the OJB.properties in the jetspeed.war (resulting, of course, in total
failure). Can anybody give me a hint (I simply cannot refrain from
remarking that I have now spent more than 2 hours trying to find out how
maven is supposed to get this file from etc/db-ojb to jetspeed.war and I
have totally failed to even get a hint; and actually, I wanted to spend
this time on diagnosing a problem, not on maven). I have no idea what
stopped the build from working. I did a complete new checkout and
followed the instructions in "Build Jetspeed2 from Source", no luck.
Cannot say that I "solved" it. But it works now. I applied all advice at
once: remove and checkout Jetspeed2, remove ~/.maven, and remove the
jetspeed plugin in the maven-1.0.2/plugins. "Total cleanup". For some
reason, this did it.

Thanks everybody for the help.

    Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to