[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-builds-dev] Question about configuration caches and extending buildplans
|
The builds model is intended as a common abstraction and not likely
going to support storing any object. If you absolutely need to persist
your domain objects which I would not recommend you could take a look
at the GSon library. It's very easy to marshal objects into JSON which
can be persisted in a string attribute which should be supported by
the changes for this bug:
355436: enhance BuildPlan and Build class to hold additional data
https://bugs.eclipse.org/bugs/show_bug.cgi?id=355436
Steffen
On Thu, Aug 25, 2011 at 10:11 PM, Kiu Leung <kleung@xxxxxxxxxx> wrote:
> Hi all,
>
> I am building a connector for Red Hat's build system koji and have a need
> of storing koji's data model into a subclass of build plan. According to
> my previous mailing list conversations, I am aware that the emf framework
> will increase the difficulty of doing so. I wonder would it be related to
> serializing/deserializing the objects? If that's the case, is it possible
> for me to actually store koji's data model (which is declared serializable)
> into the configuration cache and convert it to a subclass of buildplan during
> runtime through BuildServerBehavior's getConfiguration()?
>
> Looking forward to read your reply, thank you very much!
>
> Best regards,
>
> Ken Leung
> _______________________________________________
> mylyn-builds-dev mailing list
> mylyn-builds-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev
>
--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com