Milos Kleint wrote:

> On Nov 6, 2007 4:35 PM, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> 
>>
>> On 6 Nov 07, at 4:00 AM 6 Nov 07, Milos Kleint wrote:
>>
>> > Hello,
>> >
>> > I've got a working prototype of the toolchains proposal. I'm able to
>> > define
>> > the jdk toolchains and have them used in a project. Works with patched
>> > compiler, surefire, javadoc plugins.
>> > details are at http://docs.codehaus.org/display/MAVEN/Toolchains
>> >
>> > issues for resolution:
>> > 1. currently using build-context, I heard stories about it going away.
>>
>> My only concern with the build-context, and John can counters as he
>> deems fit, but it's hard to tell where through the core of Maven the
>> context actually pops out. You still need to inspect the session, but
>> the session would be the one place that you could look to see what is
>> changing as it passes through the core. The rub right now is that many
>> components internally are not setup to use a session. That's my
>> opinion: that the session passing through the core could just as
>> easily serve as a build context it's just architecturally the context
>> is easier to wormhole through the code.
> 
> 
> Possibly true. In order to move the toolchains code to session, we would
> need a way to serialize/deserialize Objects. The actual live instances
> cannot be used due to plugun classloading.

Just a suggestion: You might give XStream with the binary driver a try. Not
as bloated as XML and your classes do not have to implement Serializable.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to