xamarin / XobotOS

XobotOS - Android ported to C#
1.25k stars 247 forks source link

Sharpen Plugin Install not working #1

Open HankG opened 12 years ago

HankG commented 12 years ago

After getting the appropriate Eclipse SDK plugins installed so that the repository check out builds, I've pointed my Indigo Eclipse running on Mac to the path down to my sharpen.site directory: /Users//Development/XobotOS/XobotOS/sharpen/sharpen.site. In there is still just the original site.xml file. All I get in the list of software when it's pointed to it is "There are no categorized items." I've tried pointing one level up, at sharpen.feature, and a few other directories and have not been able to get the plugin listed. I have no build errors but do have literally thousands of warnings about "raw types" and the like in my "Problems" tab.

behboud commented 12 years ago

+1

Vaevictus commented 12 years ago

Got the same issue with: Windows 7 Eclipse Java EE IDE for Web Developers.

Version: Indigo Service Release 2 Build id: 20120216-1857

topgenorth commented 12 years ago

Having the exact same problem.

robpvn commented 12 years ago

I solved this issue, it seems the readme messed up a little:

Finally, the location you have to point to to get a local repository is missing "site.xml" at the end. Do all of these steps and Eclipse will let you install the plugin.

However, since Xamarin has stripped all the GUI parts of Sharpen I'm guessing you have to actually use it from a build script, there's probably useful hints in the XobotOS build scripts.

ColumbiaMediaArts commented 12 years ago

Has anyone had any luck getting Sharpen to build and work? I'm more interested in a good Java to C# converter than I am an Android port.

Thanks.

cureos commented 12 years ago

@ColumbiaMediaArts You might want to look at the "root" Sharpen repository maintained by Lluis Sanchez. Although it is not as complete and up-to-date as the XobotOS Sharpen version, it is a good enough starting point. You'll find additional instructions on how to use it here.

markboettcher commented 12 years ago

OK, this has kicked my ass long enough. As you mentioned, robpvn, the readme is horked. Sadly, I can't seem to get it to work your way either. I've imported the sharpen projects, did a clean and build and Eclipse never complained. However, there is absolutely nothing new in the sharpen.site folder.

I think my problem is the second step. First, when I try to open site.xml, Eclipse complains about an unsupported content type. So I opened it with the Eclipse text editor and removed the line:

... and then replaced it with the same line, even though I cannot begin to imagine how that would do anything except maybe force a rebuild. If you (or anyone here) can tell me where I am being stupid, please let me know.

markboettcher commented 12 years ago

funny... I should have know when I did a cut and paste of the line that starts with '<feature url=', it didn't show up. Anyways, that was the line I removed and replaced.

ColumbiaMediaArts commented 12 years ago

Does that mean you've got sharpen building? Will you share the secret sauce?

Dave G

David Gerding Department of Interactive Arts & Media Columbia College Chicago


From: markboettcher [reply@reply.github.com] Sent: Friday, July 27, 2012 9:16 AM To: Gerding, David Subject: Re: [XobotOS] Sharpen Plugin Install not working (#1)

funny... I should have know when I did a cut and paste of the line that starts with '<feature url=', it didn't show up. Anyways, that was the line I removed and replaced.


Reply to this email directly or view it on GitHub: https://github.com/xamarin/XobotOS/issues/1#issuecomment-7306328

markboettcher commented 12 years ago

If by 'build' you mean build the 4 android sharpen projects, then yes. I figured out what was going on. For whatever reason, Eclipse didn't have the Site or Plugin Manifest editors. In fact, if I did New/Project, there was no entry for Plug-in Project. Don't know why and don't care since it works now (see below).

I did a new install of Eclipse Juno and suddenly I had all of that stuff. Loaded sharpen.site.xml in the site manifest editor, removed and re-added the features/sharpen like robpvn said, Build and it worked!

ColumbiaMediaArts commented 12 years ago

Thanks for the help !

David Gerding Department of Interactive Arts & Media Columbia College Chicago


From: markboettcher [reply@reply.github.com] Sent: Friday, July 27, 2012 11:51 AM To: Gerding, David Subject: Re: [XobotOS] Sharpen Plugin Install not working (#1)

If by 'build' you mean build the 4 android sharpen projects, then yes. I figured out what was going on. For whatever reason, Eclipse didn't have the Site or Plugin Manifest editors. In fact, if I did New/Project, there was no entry for the plug-in manager.

I did a new install of Eclipse Juno and suddenly I had all of that stuff. Loaded sharpen.site.xml in the site manifest editor, removed and re-added the features/sharpen like robpvn said, Build and it worked!


Reply to this email directly or view it on GitHub: https://github.com/xamarin/XobotOS/issues/1#issuecomment-7310289

peymanmo commented 11 years ago

I don't understand it very well, I have added the 4 projects but I can't build them. Project->Build Project is locked. Can you please make a short video on youtube on how did you do it?

Vasbi commented 11 years ago

Took me a while, but it ended up being simple. 1)Import the projects into your workspace 2)Build your projects (not sure if this does anything, but I did it) note: if you dont see the build button as someone mentioned above, that is because "build automatically" option is selected in Project menu bar.. turn this off 3) right click on Sharpen.site/site.xml and open with text editor, cut a line out, save it and paste the line in again and save it. (not sure if this does anything either)

and most importantly.... 4) Close the site.xml file, right click on it again and select open site manifest, select the features/Sharpe_blahblah row in list box and click on the build button..

done