Questions tagged [sharpen-tool]

Eclipse plug-in for conversion of Java source code to C#.

Eclipse plug-in for conversion of Java source code to C#.

The tool was originally developed by Versant to facilitate conversion of their Java-based db4o object database to a .NET equivalent.

In 2010, Sharpen was released as free software.

Information on how to download and configure Sharpen within Eclipse can be found here.

There are several forks of Sharpen available. One relatively up-to-date fork is maintained here. More recently, developers at Xamarin used Sharpen to port Android to C#. The effort was open sourced and is available here.

16 questions
18
votes
3 answers

Convert Java to C# with a tool, or manually?

I have a Java project which I'd like to convert to C#, and after looking here and elsewhere found out about a tool, Sharpen. However, in order to get it up and running (I'm new to Java) the site linked above describes grabbing the source and…
Darth Continent
  • 2,319
  • 3
  • 25
  • 41
6
votes
2 answers

Build problems with XobotOS

I am trying to build the XobotOS source code released by Xamarin on Github and I am using the guidelines provided in the README.build document in the root folder. I have been successful in executing all the steps mentioned in the readme but for some…
Sandeep Datta
  • 28,607
  • 15
  • 70
  • 90
5
votes
1 answer

How to build/use sharpen from XobotOS?

I cloned git://github.com/xamarin/XobotOS.git and followed instructions from https://github.com/xamarin/XobotOS/blob/master/sharpen/README Apparently mono's team has pre built version which readme instructions are related since adding provided site…
float_dublin
  • 481
  • 1
  • 5
  • 13
4
votes
1 answer

Porting entire Java projects to to C#

I'm looking for a free way to convert entire Java projects to C#. I followed Pauldb's article on using Sharpen in eclipse. The tutorial is a bit outdated. While using Luna on Windows I got the following errors: After trying to update the references…
Paul Totzke
  • 1,470
  • 17
  • 33
4
votes
1 answer

Converting Java Services to .NET 4.0 Services (WCF )

We have to convert around 100+ services written in Java to .NET (C#) 4.0 . We are trying to estimate the efforts for this work. I am trying to find out if any tools are available for this conversion/ migration and any experiances of using these…
kaushal
  • 107
  • 5
4
votes
1 answer

Using Sharpen and eclipse : error "Application "sharpen.core.application" could not be found in the registry."

Background I'm currently doing a benchmark of solutions to convert java code to c# We have a fast evolving java software and wan't to port some low level (not ui) apis with a tool, because maintaining all changes between versions could prove really…
Redwarp
  • 3,221
  • 3
  • 31
  • 44
3
votes
0 answers

How do I convert a java project to C# in eclipse using Sharpen?

I have checked out sharpen from svn, and tried following the following directions: http://developer.db4o.com/Blogs/Product/tabid/167/entryid/95/Default.aspx I installed sharpen as a plugin per the instructions. However, then the article starts…
SlyMcFly
  • 225
  • 4
  • 7
2
votes
1 answer

Getting Started with Sharpen in Eclipse

I'm a .Net developer and recently I've become part of a project that is doing a port of some java software. I'm trying to get Sharpen up and running to convert. I have downloaded and installed Eclipse IDE for Java Developers (Version: Helios Service…
Prescott
  • 7,312
  • 5
  • 49
  • 70
2
votes
0 answers

Shapen raises IllegalStateException when attempting to convert java code

I am attempting to port the lucenetransform code from java to c# using the Sharpen Tool. I used the sharpen setup information at PaulDB.getWords() When I run the conversion process, I get the following error !SESSION 2012-12-15 14:55:21.773…
Puneet
  • 472
  • 3
  • 14
2
votes
0 answers

Options for converting/finding analogs for Java class libraries in C#?

I've been tasked with rewriting a Java web services client in C#.NET. The only truly tedious part of this task has proven to be figuring out how to handle all the Java class libraries (sorry if that's not the right term--not nearly as experienced…
Ant
  • 545
  • 1
  • 9
  • 26
2
votes
1 answer

sharpen The activator sharpen.core.Sharpen for bundle sharpen.core is invalid

Am trying to run Sharpen to convert some Java code to c#. Below is the detail of the instruction I am following, environment and problem statement. Instruction…
1
vote
1 answer

Sharpen Eclipse - Failed to map - super reference

I'm trying to use Sharpen in Eclipse to convert a java project (full source) into C# I followed the guidelines from this blog that worked pretty well: http://tumblr.com/ZVuYOwDv6mdu (which suggest using Lluis Sanchez’s compiled version of Sharpen…
Quintium
  • 499
  • 5
  • 22
1
vote
1 answer

Conversion of code from Java to C# using Sharpen

Do code conversion tools like Sharpen help in converting code from Java to C#? Does the converted code run on all Windows machines without trouble or changes have to be made? How efficient is this tool, does it completely remove the laborious line…
1
vote
0 answers

How to use sharpen with monodevelop?

Sharpen Sharpen is one of the best tool/plugin of Eclipse that helps to convert Java to C# with some special syntax. 1) ignore classes 2) ignore documentation 3) merge classes with others 4) translate specific methods to .net properties 5) translate…
user1709408
  • 528
  • 4
  • 16
1
vote
3 answers

How to convert a Java Enum using Sharpen

I am trying to convert the unbound id ldap java sdk source code to c# using the sharpen converter from versant. However, I am getting an exception related to a java enum class that has several constructors and seems different than a normal .NET…
gyurisc
  • 11,234
  • 16
  • 68
  • 102
1
2