Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Sharpen Plugin Install not working #1

Open
HankG opened this issue May 3, 2012 · 13 comments
Open

Sharpen Plugin Install not working #1

HankG opened this issue May 3, 2012 · 13 comments

Comments

@HankG
Copy link

HankG commented May 3, 2012

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
Copy link

behboud commented May 9, 2012

+1

@Vaevictus
Copy link

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

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

@topgenorth
Copy link

Having the exact same problem.

@robpvn
Copy link

robpvn commented May 19, 2012

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

  • First you have to import the sharpen projects into your workspace.
  • Open site.xml and remove & readd the sharpen feature as listed
  • Press the Build button. Now the sharpen.site folder will be properly populated.

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
Copy link

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
Copy link

cureos commented Jun 7, 2012

@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
Copy link

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
Copy link

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
Copy link

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 [[email protected]]
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:
#1 (comment)

@markboettcher
Copy link

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
Copy link

Thanks for the help !

David Gerding
Department of Interactive Arts & Media
Columbia College Chicago


From: markboettcher [[email protected]]
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:
#1 (comment)

@peymanmo
Copy link

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
Copy link

Vasbi commented May 14, 2013

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants