<br><br>On Wednesday, July 31, 2013, Yavuz Selim YILMAZ  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div><br></div>
<div>Finally I got it working on both development and distribution apps. :)  The issue was my .p12 certificate I believe. I was using the RedHat distribution certificate that I created for StaffRoster. Though the certificate is valid (currently using for ad-hoc distribution without any issue), I think I didn&#39;t get proper .cer file for that profile. Anyway, I tried with my personal account, and had a new app, now it&#39;s working.</div>
</div></blockquote><div><br></div><div><br></div><div>cool!</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
<div><br></div><div>However, this snippet causes error:</div><div><br></div><div><pre style="padding:8.5px;font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:10px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;margin-top:0px;margin-bottom:9px;line-height:18px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.148438)">
<code style="padding:0px;font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:12px;color:inherit;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:transparent;border:0px">// --optional config--
        // set some &#39;useful&#39; hardware information params
        UIDevice *currentDevice = [UIDevice currentDevice];

        [clientInfo setOperatingSystem:[currentDevice systemName]];  // [6]
        [clientInfo setOsVersion:[currentDevice systemVersion]];     // [7]
        [clientInfo setDeviceType: [currentDevice model]];           // [8]</code></pre><div><br></div><div>I haven&#39;t tried if it is just the setOperatingSystem line, but when I use the above code, my push server returns error saying &quot;unrecognized field mobileOperatingSystem&quot;. Other than that, it&#39;s now working with the basic setup. :) I will play with it more, and will update if I see any issues or anything.</div>
</div></div></blockquote><div><br></div><div>already fixed ; PR already attached to the reg SDK</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><br></div><div>Thanks for your helps, comments and time. Kind regards,</div></div></div></blockquote><div><br></div><div><br></div><div>Thx for testing!</div><div><br></div><div>
<br></div><div>One question: Interested in seeing if the tutorial needs an overhaul, regarding the different certs / profiles?</div><div><br></div><div><br></div><div>Thanks!</div><div>Matthiad<span></span></div><div><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<br>---</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Yavuz Selim Yilmaz</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
SUNY at Buffalo</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Computer Science and Engineering</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
PhD Candidate</div>
</div>
<br><div><div>On Jul 31, 2013, at 11:08 AM, Yavuz Selim YILMAZ &lt;<a>yavuzsel@buffalo.edu</a>&gt; wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">Hi,<div><br></div><div>Maven related comments are here. Comments on my next trial (playing with certificates once more) is on its way (soon to be arrived).</div>
<div><br></div><div>The eclipse error I mentioned on item (1) in the first email is this one: <a href="http://wiki.eclipse.org/M2E_plugin_execution_not_covered" target="_blank">http://wiki.eclipse.org/M2E_plugin_execution_not_covered</a></div>
<div><br></div><div>It&#39;s weird that it sometimes works well, sometimes it doesn&#39;t. Maybe it&#39;s worth mentioning in the guides about this error (not caused by AeroGear). Today, it worked for me, yesterday (even if I imported the project again and again - restarted the eclipse and tried again) it was not working at all.</div>
<div><br></div><div>Some more info inline.</div><div><div><br></div><div>
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Kind regards,</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>---</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Yavuz Selim Yilmaz</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
SUNY at Buffalo</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Computer Science and Engineering</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
PhD Candidate</div>
</div>
<br><div><div>On Jul 31, 2013, at 10:43 AM, Karel Piwko &lt;<a>kpiwko@redhat.com</a>&gt; wrote:</div><br><blockquote type="cite">On Wed, 31 Jul 2013 02:23:07 +0200<br>Matthias Wessendorf &lt;<a>matzew@apache.org</a>&gt; wrote:<br>
<br><blockquote type="cite">Hello Yavuz,<br><br>thanks for trying out the new bits - comments inline;<br><br><br>On Tue, Jul 30, 2013 at 9:20 PM, Yavuz Selim YILMAZ<br>&lt;<a>yavuzsel@buffalo.edu</a>&gt;wrote:<br><br><blockquote type="cite">
Hi all,<br><br>I was trying out unified push server with my production app. Here are some<br>of the issues I encountered. Any helps and directions are appreciated.<br><br>1- I cloned aerogear-unified-push-server master branch, and imported to<br>
eclipse. it was not compiling (I think because of m2e issues).<br><br></blockquote><br>Not compiling ? Or Eclipse error/warnings (which is different from having<br>java code that is not compiling)<br></blockquote><br>Yavuz, what Maven version are you using in Eclipse?<br>
</blockquote><div><br></div><div>Using eclipse Juno (<span style="font-family:&#39;Lucida Grande&#39;;font-size:11px">Version: 4.2.2 </span><span style="font-family:&#39;Lucida Grande&#39;;font-size:11px">Build id: M20130204-1200)</span></div>
<div>Maven: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)</div><div>m2e: version 1.4.0.20130601-0317</div><br><blockquote type="cite"><br><blockquote type="cite"><br><br><br><blockquote type="cite">I have seen in pom.xml file a fix for that already, but on my machine that<br>
fix was not working either. so, I needed to change maven-compiler-plugin&#39;s<br>execution id to &quot;test-compile&quot;. it then compiled, and deployed successfully.<br><br>2- Then I followed the instructions here:<br>
<a href="https://github.com/aerogear/aerogear-unified-push-server" target="_blank">https://github.com/aerogear/aerogear-unified-push-server</a><br>Here, login command hangs with a message saying &quot;no chunk, no close, no<br>
size. Assume close to signal end&quot;. And I hit Ctrl + C. Then tried again,<br>same thing. And then I proceeded (with Ctrl + C), and everything else seem<br>fine, and I could add my </blockquote></blockquote></blockquote>
</div></div></div></blockquote></div></div></div></blockquote><br><br>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>