Hello Gero, i added twittetweeter.java to the pebble project
i have in eclipse. This is easier with the build.xml since
all the libraries and other goodies are already there. Also,
since your packaging started with *net* i only had to add
the code under: src/net/java. BTW: your source-file package
references net.vermaas but your instructions below use the
package designation net.java so I changed to package name to
reflect the proper package name according to the
instructions below. i made two very small changes in the
build.xml to get the needed twittertweeter.jar output along
side the pebble.jar using the build.xml build target. I
followed the instructions at: http://gerodt.homeip.net/blog/gero/2008/04/06/12
07505880000.html verbatim but pebble.war failed to
deploy with the twittertweeter.jar in the lib directory. I
removed the twittertweeter.jar and pebble.war redeployed no
problemo. Please find the server.log exceptions and the
pebble messages are removal of twittertweeter
.jar included below. TIA and please advise, David.
2008-04-21 16:05:02,037 INFO [STDOUT] 2008-04-21
16:05:02,034 [main] WARN
org.acegisecurity.intercept.AbstractSecurityInterceptor -
Could not validate configuration attributes
as the MethodDefinitionSource did not return a
ConfigAttributeDefinition Iterator
2008-04-21 16:05:02,117 INFO [STDOUT] 2008-04-21
16:05:02,116 [main] INFO
net.sourceforge.pebble.web.listener.PebbleContextListener -
Starting Pebble
2008-04-21 16:05:02,622 INFO [STDOUT] 2008-04-21
16:05:02,617 [main] ERROR
org.apache.catalina.core.ContainerBase.[jboss.web].[localhos
t].[/pebble] - Exception sending context
initialized event to listener instance of class
net.sourceforge.pebble.web.listener.PebbleContextListener
java.lang.NoClassDefFoundError:
net/sourceforge/pebble/api/event/blogentry/BlogEntryListener
Messages
4/21/08 4:13 PM Could not start comment listener
"net.java.TwitterTweeter"
4/21/08 4:13 PM Could not start blog entry listener
"net.java.TwitterTweeter"
Gero Vermaas wrote ..
> Thanks for the tip on Twitterfeed, he're the reponse I
posted on a
> comment on my blog:
>
> ========
> I didn't know about http://www.twitterfeed.co
m/ yet, but that is also
> a nice solution. Advantage would be that you can use
this solution
> with any blog that publishes an RSS/Atom feed... which
is basically
> any blog. So you're not limited to a Pebble blog on
which you can
> install new plug-ins.
>
> Disadvantages... well, it does not immediately publish
to Twitter
> after you post to the blog. It only polls your feed
periodically and
> this plug-in immediately published to Twitter once you
post a blog
> entry or when a comment is posted. And you don't have
the fun of
> building you own plug-in of course....
>
> On the authentication side, my solution and twitterfeed
have the same
> limitations, see the "Authentication" section
on of the Twitter API.
>
> However, just for fun I changed the Twitter URL from
http to https and
> it looks as if this works... If this comments shows up
on my Twitter
> I'll update the blog entry and remove the note on
username/password
> traveling in plain text over the Net... so that's how
you can see that
> it works ;-
> ========
>
> And it worked, by changed the Twitter url from http to
https the
> requests are encrypted.
>
> B.t.w., David who left a comment on the blog,
there is probably a
> type in the mail address you used in the comment,
update mails seemed
> to bounce...
>
> Gero
>
> On Apr 7, 2008, at 11:08 AM, Gero Vermaas wrote:
>
> > Hi,
> >
> > In case anyone is interested, I created a little
plug-in to
> > integrate Pebbel with Twitter, see http://gerodt.homeip.net/blog/gero/2008/04/06/12
07505880000.html
> >
> > Regards,
> > Gero
------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference
Don't miss this year's exciting event. There's still time to
save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Pebble-user mailing list
Pebble-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user
|