<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Google Wave Bots Forum &#187; Tag: profile - Recent Posts</title>
<link>http://googlewavebots.info/forum/</link>
<description>Got Bots?</description>
<language>en</language>
<pubDate>Mon, 06 Feb 2012 18:22:23 +0000</pubDate>

<item>
<title>Eck on "Java Bot Tutorial - Wiring Up your Profile - Missing Step?"</title>
<link>http://googlewavebots.info/forum/topic/java-bot-tutorial-wiring-up-your-profile-missing-step#post-27</link>
<pubDate>Sun, 06 Dec 2009 20:33:13 +0000</pubDate>
<dc:creator>Eck</dc:creator>
<guid isPermaLink="false">27@http://googlewavebots.info/forum/</guid>
<description>&#60;p&#62;When working through the Java Bot tutorial I was very careful and tested my code along the way. After uploading my code, everything worked beautifully except the profile.  I checked my extended Profile servlet, and everything looked fine. I also made sure I could hit the web page I had referenced and the image, no permissions problem there.  It wasn't until I was away from the computer and thinking about the Profile servlet I had written when I realized the problem.  Nowhere in there was the Profile servlet wired up to anything other than just extending the ProfileServlet class.  &#60;/p&#62;
&#60;p&#62;You have to map the servlet in the war/WEB-INF/web.xml file much like you did for the app itself. If you don't do this, your bot will remain a faceless, web-pageless, nameless bot.  &#60;/p&#62;
&#60;p&#62;Add the following to wire up your servlet changing PACKAGE_NAME to your package (like a namespace) that your class is in and CLASS_NAME to the name of the class that extended&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
    &#38;lt;servlet&#38;gt;&#60;br /&#62;
        &#38;lt;servlet-name&#38;gt;Profile&#38;lt;/servlet-name&#38;gt;&#60;br /&#62;
        &#38;lt;servlet-class&#38;gt;PACKAGE_NAME.CLASS_NAME&#38;lt;/servlet-class&#38;gt;&#60;br /&#62;
    &#38;lt;/servlet&#38;gt;&#60;br /&#62;
    &#38;lt;servlet-mapping&#38;gt;&#60;br /&#62;
        &#38;lt;servlet-name&#38;gt;Profile&#38;lt;/servlet-name&#38;gt;&#60;br /&#62;
        &#38;lt;url-pattern&#38;gt;/_wave/robot/profile&#38;lt;/url-pattern&#38;gt;&#60;br /&#62;
    &#38;lt;/servlet-mapping&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;When you fix your bot, don't forget to change the version number, and PUBLISH your changes.  You may also want to check out my Version Management post if you're still having problems.&#60;/p&#62;
&#60;p&#62;- Eck
&#60;/p&#62;</description>
</item>
<item>
<title>Admin on "Version Management for your Bots and Gadgets"</title>
<link>http://googlewavebots.info/forum/topic/version-management-for-your-bots-and-gadgets#post-26</link>
<pubDate>Sun, 06 Dec 2009 20:17:49 +0000</pubDate>
<dc:creator>Admin</dc:creator>
<guid isPermaLink="false">26@http://googlewavebots.info/forum/</guid>
<description>&#60;p&#62;I have run into the same, and many other problems because of version management being very very badly handled. I currently do not edit/use my bot because it is so unstable due to it. I had bots executing code that had been removed (from all versions) over a week before. I even made a new bot with the new code and the bot still performed functions that were NEVER in that bots code.
&#60;/p&#62;</description>
</item>
<item>
<title>Eck on "Version Management for your Bots and Gadgets"</title>
<link>http://googlewavebots.info/forum/topic/version-management-for-your-bots-and-gadgets#post-25</link>
<pubDate>Sun, 06 Dec 2009 18:55:31 +0000</pubDate>
<dc:creator>Eck</dc:creator>
<guid isPermaLink="false">25@http://googlewavebots.info/forum/</guid>
<description>&#60;p&#62;When I made some changes to my bot and republished them (specifically its profile), I made sure to change the version number.  But, when I went to revisit the bot, it still had the faceless icon as its image and had none of the changes I had made. After checking and rechecking that everything I knew about was correct,  I stumbled across the version management tab on my bot's dashboard and saw there were 2 versions.  Version 1 (default) and version 2.    I set version 2 as the default (and deleted version 1) and everything worked just fine. I probably didn't have to delete version 1, but I wanted to be sure. All the documentation that I read lead me to believe that changing the version number was all I needed to do. &#60;/p&#62;
&#60;p&#62;I hope this saves some time for someone,&#60;br /&#62;
- Eck
&#60;/p&#62;</description>
</item>

</channel>
</rss>

