Hi Will,
A few random remarks, which will help or not.
On Sep 16, 2008, at 12:33 PM, Will Scheidegger wrote:
More info:
After a fresh mvn install the changes are now reflected in Tomcat.
So it _seems_ like the Magnolia running in TC would somehow access
the local maven repository?!
If you deployed a war file, certainly not.
Is there something in the "trunk" project I should know about?
You certainly know this, but just to avoid confusion and get precise
naming: there is no such project called "trunk". http://en.wikipedia.org/wiki/Trunk_(software)
On 16.09.2008, at 10:21, Will Scheidegger wrote:
Sorry to bother you guys with this, but I've already showed it to
someone else and we both could not find what's causing the trouble:
- I've downloaded and built the latest magnolia (mvn install, then
copied the war from magnolia-empty-webapp/target to Tomcat and let
it bootstrap)
- After everything was up and running I stoped TC, changed some
code in magnolia-core, built it, copied the jar to the magnolia
instance and started TC again
- But magnolia does not reflect the changes!
Things I tried:
- clean, build copy again
- search the whole computer for other copies of the jar
- Printed out the location of the jar that was being used by
magnolia with
ItemType.class.getProtectionDomain().getCodeSource().getLocation()
- Unpacked the Jar
- Decompiled the class
=> The modified code is _in_ the Jar, still Magnolia does not
reflect the changes.
=> When I test the same bit of code from a scriptlet, I _do_ see
the changes!!!
=> What the heck am I doing wrong?!
It's like my code would be overwritten by some old copy of the code
although magnolia claims to be using the modified jar. I'm totally
puzzled and do warmly appreciate any ideas where to look next!
If anything claims anything, it's the code you wrote to check this ;)
You don't give any detail as to what your "new" code is supposed to
do, nor how you expect to see these changes, so there's absolutely no
way we could guess what's wrong.
-g
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------