From: Christoph F. <cf...@fo...> - 2005-04-18 09:09:45
|
Hi Darina, it seems to me, that your new panckoucke.jar is not taken into account by the classloader. Are you sure, that you replaced the old panckoucke-jar in the lib folder with your version? Maybe you just copied your new jar to the lib directory without removing the old one from there?? Bye c Am Sonntag, den 17.04.2005, 19:18 -0400 schrieb Dicheva, Darina: > Hi, > > I wonder if anybody could advise on the following: > > I am trying to add scoping in our viewer based on TMNav. For that > purpose I would like to take from the interface (in TMNav) themes set by > the user for filtering out TM objects. I need to pass these themes over > to the Panckoucke index abstractors, so that they only include in the > models the qualifying objects. > > For this purpose I introduced a 4th parameter in the Panckoucke's > ModelProvider getModel method: > > > public AModel getModel(AMMember member, String abstractorClassname, > AbstractionContext options, ScopesStore scopesStore) > > (I have added a ScopesStore class in Panckoucke for storing the current > sets of chosen themes for each of the open TMs. I am not sure if it is a > good solution, but didn't manage to use any of the current classes, e.g. > AbstractionContext.) > > The problem is that when this method is called in the TMNav's > IndexProvider and RendererView classes I get compilation errors (see > below). My question is: Could I (and if so how) change a Panckoucke > class so that this change is recognised by TMNav? I do produce a new > jar file after compiling Panckoucke and copy it to the TMNav lib folder > ... > > I would appreciate a lot any feedback. > Many thanks, > Darina > > ------------------------------- > > Buildfile: C:\workspace\TMNav\build.xml > build: > [javac] Compiling 5 source files to C:\workspace\TMNav\buildclasses > [javac] > C:\workspace\TMNav\src\org\tm4j\tmnav\app\ix\IndexProvider.java:82: > cannot find symbol > [javac] symbol : method > getModel(org.tm4j.panckoucke.model.AMMember,java.lang.String,<nulltype>, > org.tm4j.panckoucke.store.ScopesStore) > [javac] location: interface org.tm4j.panckoucke.model.ModelProvider > [javac] AModel model = modelProvider.getModel(member, > abstractorClassname, null, scopesStore); > [javac] ^ > [javac] > C:\workspace\TMNav\src\org\tm4j\tmnav\app\ui\RendererView.java:425: > cannot find symbol > [javac] symbol : method > getModel(org.tm4j.panckoucke.model.AMMember,java.lang.String,org.tm4j.pa > nckoucke.abstraction.AbstractionContext,org.tm4j.panckoucke.store.Scopes > Store) > [javac] location: interface org.tm4j.panckoucke.model.ModelProvider > [javac] model = mp.getModel(member, > ad.getClassname(),abstractionEnv.getAbstractionContext(), > navCtx.getScopesStore()); > [javac] ^ > [javac] 2 errors > BUILD FAILED: C:\workspace\TMNav\build.xml:66: Compile failed; see the > compiler error output for details. > Total time: 1 second > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Christoph Froehlich <cf...@fo...> |