On Tue, Sep 23, 2008 at 8:06 PM, Coe, Colin C. (Unix Engineer) <[EMAIL PROTECTED]> wrote: > > >> -----Original Message----- >> From: Jesus M. Rodriguez [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, 23 September 2008 12:20 PM >> To: Coe, Colin C. (Unix Engineer) >> Cc: spacewalk-devel@redhat.com >> Subject: Re: [Spacewalk-devel] API dev question >> >> On Mon, Sep 22, 2008 at 11:46 PM, Coe, Colin C. (Unix Engineer) >> <[EMAIL PROTECTED]> wrote: >> [snip] >> >> > Hi Jesus >> > >> > Thanks for this. The learning continues :) >> > >> > CC >> > >> >> Colin, >> >> I put together this page about custom serializers. I hope it helps. >> >> https://hosted.fedoraproject.org/spacewalk/wiki/CustomSerializer >> >> jesus >> > > Just looking at the example provided, what provides SimpleSerializer? A > 'grep -r SimpleSerializer java/code/src/*' shows > 'java/code/src/com/redhat/rhn/frontend/xmlrpc/serializer/util/Serializer > Helper.java' but I'm already importing that. > > [javac] Compiling 1 source file to > /home/coec/git/spacewalk/java/build/classes > [javac] > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/frontend/xmlrpc/se > rializer/KickstartCustomOptionSerializer.java:58: cannot find symbol > [javac] symbol : class SimpleSerializer > [javac] location: class > com.redhat.rhn.frontend.xmlrpc.serializer.KickstartCustomOptionSerialize > r > [javac] SimpleSerializer sl = new SimpleSerializer(); > [javac] ^ > [javac] > /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/frontend/xmlrpc/se > rializer/KickstartCustomOptionSerializer.java:58: cannot find symbol > [javac] symbol : class SimpleSerializer > [javac] location: class > com.redhat.rhn.frontend.xmlrpc.serializer.KickstartCustomOptionSerialize > r > [javac] SimpleSerializer sl = new SimpleSerializer(); > [javac] ^ > [javac] 2 errors > > Apologies in advance if I'm being dense.
It is I that should apologize. I didn't proofread the document before posting it. The doc was written for a previous iteration of serializers :) before we did some refactoring. I updated the doc with a more complete example, I hope it helps. https://fedorahosted.org/spacewalk/wiki/CustomSerializer Again, sorry about that. jesus _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel