SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Chat transcript, 09:24 AM CDT


Permlink Replies: 27 - Pages: 2 [ 1 2 | Next ] - Last Post: Nov 26, 2011 12:28 AM Last Post By: ying
chatbot

Posts: 26
Registered: 7/27/05
Chat transcript, 09:24 AM CDT
Posted: Jul 25, 2006 9:24 AM
  Click to reply to this thread Reply
chatbot> New thread by webdevfreak: Can compass index regular content (http://forums.opensymphony.com/thread.jspa?threadID=38308)
chatbot> New reply by Grant: Trying to marshall a null id [id] (http://forums.opensymphony.com/thread.jspa?messageID=75319)
chatbot> New reply by Shay Banon: JdbcDirectory (http://forums.opensymphony.com/thread.jspa?messageID=75399)
chatbot> New reply by Shay Banon: Can compass index regular content (http://forums.opensymphony.com/thread.jspa?messageID=75400)
chatbot> New thread by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?threadID=38333)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75407)
chatbot> New reply by Shay Banon: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75408)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75417)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75418)
chatbot> New reply by Shay Banon: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75419)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75425)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75427)
chatbot> New reply by Shay Banon: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75433)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75442)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75445)
chatbot> New reply by Shay Banon: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75446)
kimchy> hello
dres> hiya

dres> btw not trying to give you a hard time

kimchy> no problem mate, always welcome input
dres> I think I get you now. The mappings I understand should be compiled but the unmarshalling of objects should be able to be dynamic on data in the index

dres> hibernate has the discriminator

dres> figured compass could use poly

kimchy> exactly, Compass will use the class name that it stores in the index
kimchy> using poly=true
dres> and the saved class name

dres> right

kimchy> exactly
dres> I think were on the same level

kimchy> the fact that Compass compiles the mappings in startup time give it a big performance boost
dres> sure

kimchy> when I started Compass I tried the dynamic construction of mappings, and the performance were really bad
dres> I was only thinking about the poly feature support

kimchy> got you
kimchy> how soon do you need it?
dres> no, best to compile

dres> today :)

kimchy> (I am really upset that I missed it :) )
dres> but no worries

kimchy> you sound like my boss :)
dres> I can look at it too

dres> just one thing

dres> it seems that poly is not as supported as using ref-alias

dres> is that a misconception

dres> I don't know if you saw my forum message

dres> but it would be nice to see a priority for the 3 ways of determining class

dres> ref-alias, reflection, poly saved class name

dres> 'course not in that order

kimchy> poly should work with ref-alias, I will double check
kimchy> you mean I should document the priority?
dres> your docs are good but it seems poly is only mentioned in the schema property description

kimchy> point taken, I will enhance the documentation to explain it as well
dres> so what class should I start in, if I wanted to have a look at this?

dres> right now I'm in:

dres> ComponentMappingConverter

dres> public Object unmarshall(Resource resource, Mapping mapping, MarshallingContext context) throws ConversionException {
ComponentMapping cMapping = (ComponentMapping) mapping;
ClassMapping classMapping = cMapping.getRefClassMapping();
Object current = context.getAttribute(MarshallingEnvironment.ATTRIBUTE_CURRENT);
context.setAttribute(MarshallingEnvironment.ATTRIBUTE_PARENT, current);
return classMapping.getConverter().unmarshall(resource, classMapping, context);
}

kimchy> first you will need to change the mappings to support an array of ref-aliases strings
dres> looks like there would be no problem grabbing the alias from the resource

kimchy> but it would be the alias of the root resource (the one that owns the component)
dres> ah

dres> didn't know the ctx

kimchy> I tried to store as less extra data as possible
kimchy> I can understand, the javadoc needs enhancing as well :)
dres> nah

dres> who reads code anyhow

dres> so

kimchy> there are several places that it needs changing, let me list them:
dres> is it not possible to get the poly saved classname from the context in this method?

dres> sorry already typed it

kimchy> AbstractRefAliasMapping (and the interface) need to support multiple aliases strings
kimchy> and also multiple ref class mappings
kimchy> The Xml mapping binding will need to initialize the array of strings
kimchy> and the ResolveRefAliasProcess (which happens after all the mappings have been read), will need to resolve each alias to the correspondent class mapping
dres> so the class mappings and ref aliases in AbstractRefAliasMapping also need to be related

kimchy> it is quite a change, let me work on it tomorrow morning (its midnight here), is that ok?
kimchy> I would be really happy to step you through the code, but I have to go now...
dres> don't worry, I don't have commit rights

dres> no worries

dres> can you answer the last q though

kimchy> for me, the best thing is for you to implement it, so another person will get into Compass code
dres> I'll have a look, thx

kimchy> but if you need it as fast as possible, I can do it tomorrow, if not, we can continue it tomorrow morning
kimchy> where are you based?
dres> please don't rush it, not necessary

dres> san diego

kimchy> how do you want to do it? I can join the chat tomorrow, and we can continue it, or I can start to work on it tomorrow, your call
dres> at the very worst I can put together a patch and we can go from there

dres> do you use IM

dres> dres1011

dres> andresmarch

kimchy> yea, but don't have it at home
kimchy> home=work
kimchy> which one do you use, I will add you
dres> y!m or AIM

dres> vice versa on the handles though

dres> geez

kimchy> which one is the AIM one?
dres> y!m: andresmarch

dres> AIM: dres1011

kimchy> added
dres> if you can't IM me tomorrow, just update the forum thread

dres> it will email me

dres> thx again

kimchy> we can chat on this one, I can do it from work
kimchy> a few more points:
kimchy> after updating ResolveRefAliasProcessor
dres> I really wanted to know : is it not possible to get the poly saved classname from the context in this method?

kimchy> you will need to update DefaultMappingProcessor secondPass for componentMapping and referenceMapping to take into account the multiple aliases
kimchy> then the ComponentMappingConverter and ReferenceMappingConverter
dres> k

kimchy> in the converters, you can read the class from the Resource, and decide which alias mapping to use (only if you have more than one alias)
kimchy> how to read the class can be found in the ClassMappingConverter (which I suggest extracting into common code)
dres> k

kimchy> last, there is a static path builder (the one that builds alias1.property.property path)
kimchy> if you change HasRefAliasMapping and make getRefClassMapping return a ClassMapping[], and the same for getRefAlias (return a String[]), you should be able to follow the compilation errors and see what needs to be amended
kimchy> the part with the automatic resolve of ref-alias="a", and Compass will automatically add all the aliases that extend a, can be left for later on
kimchy> is that ok?
kimchy> I have to go, chat to you tomorrow mate
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75506)
chatbot> New reply by Andres March: Collection components that hold extended or poly mapped classes (http://forums.opensymphony.com/thread.jspa?messageID=75507)
chatbot> New reply by Andy Kessler: JdbcDirectory (http://forums.opensymphony.com/thread.jspa?messageID=75516)
chatbot> New reply by Andy Kessler: JdbcDirectory (http://forums.opensymphony.com/thread.jspa?messageID=75519)
chatbot> New thread by Andy Kessler: First compass steps (http://forums.opensymphony.com/thread.jspa?threadID=38391)
chatbot> New reply by Shay Banon: First compass steps (http://forums.opensymphony.com/thread.jspa?messageID=75581)
hmq123

Posts: 449
Registered: 8/22/11
christian louboutin
Posted: Aug 24, 2011 10:21 PM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
How christian louboutin should I heard cheap louboutin shoes that, about your right discount christian louboutin shoes and wrong? How Christian Louboutin Pumps should I heard, was able to Christian Louboutin Ankle Boots smile? How should I heard, you good, for her not to let the http://www.louboutinsshoes2u.com/ tears?
hmq123

Posts: 449
Registered: 8/22/11
Louboutins Shoes Sale
Posted: Aug 24, 2011 10:24 PM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Fresh Louboutins Shoes Sale sweet smile like the Christian Louboutin Shoes wine you drink, the more Cheap Christian Louboutin mellow Christian Louboutin Glitter Pumps life, elegant lingering smile Cheap Louboutin Booties like read the poem, the more http://www.louboutinsshoes4sale.com/ romantic life.
hmq123

Posts: 449
Registered: 8/22/11
Discount Christian Louboutin Shoes
Posted: Aug 24, 2011 10:26 PM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
A smile Discount Christian Louboutin Shoes is healthy, the smile Christian Louboutin Shoes is success, but only Christian Louboutin sale smile and life, and life Cheap Wedding Shoes road to the colorful, just Christian Louboutin Ankle Boots won't give his life with http://www.cheap-christianlouboutinpumps.com/ regrets.
hmq123

Posts: 449
Registered: 8/22/11
Cheap Louboutins
Posted: Aug 24, 2011 10:28 PM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
A smile is the most Cheap Louboutins moving people expression, Christian Louboutin Shoes life is good and silent Christian Louboutin Discount language, only smile Christian Louboutin Wedding life, the Louboutin Open-toe Booties mood will be relaxed and http://www.cheaplouboutins-shop.com/ cheerful.
hmq123

Posts: 449
Registered: 8/22/11
christian louboutin sale
Posted: Aug 24, 2011 10:30 PM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
In middle christian louboutin sale age, experience christian louboutin shoes rains and winds, have discount louboutin sale seen the rainbow. Through Christian Louboutin Peep Toe Pumps pain, also get the Christian Louboutin Sandal Booties joy. Experienced setbacks, and bear witness to the http://www.discountlouboutins-sale.com/ success.
hmq123

Posts: 449
Registered: 8/22/11
New Moncler Jackets
Posted: Aug 24, 2011 10:32 PM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Self-confidence New Moncler Jackets is not conceit, it is not proud, New Moncler Coats is important, Moncler Online Store is the spiritual pillar of the Cheap Moncler Men Jackets behavior of the Moncler Jackets Women self, self motivation is the incentive to overcome difficulties reach the goal of http://www.moncler-officialwebsite.com/ energy.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:05 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Only with a Christian Louboutins smile, Discount Christian Louboutin Shoes life between people will set Louboutins Online up the bridge of friendship, just Louboutin wedding Pumps can have the Louboutin Booties Online tacit understanding, the life is a warm http://www.designershoeslouboutins.com/ and harmonious.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:07 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Tolerance Louboutin Shoes is life's self Christian Louboutin Sale comprehension, Christian Louboutin Shoes is the mind's accomplishment, tolerance is the most Discount Wedding Shoes noble virtue, tolerance Louboutin Bootie need a happer selfless http://www.louboutin-shoes-discount.com/ heart.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:15 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Living Cheap Louboutin Shoes life to err Discount Christian Louboutin Shoes is human, to learn Christian Louboutin On Sale tolerance is more a friendship, to a more Louboutin Pumps Sale understanding, a more than Louboutin Boots On Sale touched, learn to forgive http://www.discounted-christianlouboutins.com/ is a few less trouble.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:34 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Is worthy of Prada Sales parents, Cheap Prada Shoes wife and children. Is worthy of Discount Prada Handbags colleagues, and Cheap Prada Kids Shoes friends, is worthy of Prada Mens Low Cut Shoes a worthy work with little http://www.pradashoes2u.com/ drops.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:40 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
As long Christian Louboutin Shoes as do keep Louboutin Women Shoes conscience clear, will not living in Louboutin Shoes On Sale fear, will not Discount Louboutin Pumps suffer from Discount Louboutin Boots insomnia, will be a good night's http://www.christianlouboutindesignershoes.com/ sleep.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:48 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Lack of Moncler Jacket Online confidence, and psychological Cheap Moncler Clothing can produce self Discount Moncler Jackets despise, moncler down jackets self, self negative kids moncler jackets flinch. Therefore, confidence is the key to life http://www.moncler-wintercoats.com/ road.
hmq123

Posts: 449
Registered: 8/22/11
Re: Chat transcript, 09:24 AM CDT
Posted: Aug 26, 2011 4:50 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
Self-confidence Moncler USA is his believe in Moncler Outerwear yourself, you trust Moncler Down Coats yourself. If you can't believe discount moncler jackets in yourself, others moncler jackets women and how can believe http://www.wintercoatmoncler.com/ yourself?
feifei

Posts: 128
Registered: 9/5/11
Re: Chat transcript, 09:24 AM CDT
Posted: Sep 13, 2011 3:14 AM   in response to: chatbot in response to: chatbot
  Click to reply to this thread Reply
We are the best soccer jersey supplier, all the soccer jerseys on jerseybbs.com are REPLICA SOCCER JERSEYS, but their quality are good, because many soccer jersey shopping websites are selling our discount soccer jerseys, espcially the thailand quality cheap soccer jerseys, They are the same as the official jerseys

According to a figure that most of the luxury brands consumer in China range frome 2os to 30s.
wholesale polo shirts are all young Women's love, wearing the designers will attract passerby glance, it make them be in good mood all the day.

feidufang
With the increase in printing needs all over the world, manufacturers of Ink Cartridges are hard pressed to meet the ever-increasing demand. Consumer satisfaction ranks highest in the quest to fulfill company priorities. Buying printers is relatively cheap nowadays, but unfortunately, the Ecco Key West Mens same thing cannot be said about the CISS or cartridges that require to be replaced often.

cocogamer.com is one of most reliable sellers which engage in r4i gold and r4i sdhc , including all the most popular R4i and R4 3DS Cards at favorable price
China Ceramic Tile Manufacturer exporter and supplier with a factory in China, manufacture all kinds of Ceramic Tile, wall tiles, Floor Tiles!


The online store to buy replica Louis Vuitton bags, wallets and purse of top most designer

R4 Series,r4i Series,R4DS,R4i SDHC,R4i Gold,R4i Card for NDSi XL/NDSi/DSL/NDS - UseeGames.Com




Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums