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