how are you launching the app?
do you have salve.xml in the proper place and does it have the proper
package declaration?
also you wont need @Transient annotation because the field will be
removed through instrumentation.
-igor
<config>
<package name="my.stack.demo">
<instrumentor class="salve.depend.DependencyInstrumentor"/>
</package>
</config>
start your app as usual and add -Dsalve.agent.debug=true
i havent tested the debugging code yet so let me know if it works ok
-igor
Where exactly is salve.xml?
-igor
Is that ok?
-- Cafesolo
say your webapp layout is:
/
/META-INF (1)
/WEB-INF/classes
/WEB-INF/classes/META-INF (2)
try including salve.xml in (2), not in (1)
otherwise look at the approach taken in gluw
(http://code.google.com/p/gluw/source/browse/trunk/gluw/src/gluw/agent/GluwTransformer.java)
to implement your own package/instrumentor lookup - it might help.
francisco
I modified my web app layout to (2), but my entity is still not being
instrumented.
Any ideas before trying the Gluw approach?
Cheers,
-- Cafesolo
Kristof
On Fri, Oct 31, 2008 at 2:54 PM, Leandro Ezequiel Lovisolo
make sure you have WEB-INF/classes/META-INF/salve.xml once it's
deployed, and that your entity's base package is associated to
DependencyInstrumentor.
i actually asked igor if he could open salve to other configuration
implementations other than the xml file. he then restructured salve so
that anyone could provide an impl of Config, as i did in gluw (class
GluwConfig implements Config). you can just grab that code and use it
in your app - in 5 min.
francisco
pd: asi q estas en ingenieria en la uba? saludos por alla :)