- Fix bugs
- J2CSMapping 3.0 and 4.0 in sync with modifications
Hi,
After a while I'm finally ready to release the XMLified version of the translator.
That version use xml file format for mapping file which easy a lot the parsing of such file.
Therse is a lot of new features :
- codeReplacement for method body
- type change for field
- A lot of news UI actions (popup menu)
- automatically add code to class that implement a specific interface
- improved javadoc translation
- improved properties translation... read more
New version available :
- add DataInput & DataOutput in io.
- try to have a cleaner file version
- improve nullable
- start work on java to other-than-csharp
- experimental option to measure performance
- Add version number printing in debug mode.
- Improve autoboxing removal
- new UI-action to check mapping files
- <?,?> -> <object, object>
- Fix problem when trying to rename java method that override System.Object method
- Fix some problems with generic method in generic class
- improve "This" replacement
- new class option "removeStaticInitializers" for mapping files
- fix for bug with Array and collection
- fix for too aggressif This remover
- new mappings
- fix for varargs
I've just release a new version that works on MACOS (I've removed the JDK6 only limitation for that)
The proposal: http://www.eclipse.org/proposals/c-sharp/.
The newsgroup to support it : http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.c-sharp
Thanks.
'refreshed' version based on Trunk with a lot of bug fix and some new features
- New export wizard (thanks to Thomas)
- add java.nio mapping file
- Improve generics translation
- TODO 146667 & 146680 : Add options to kept method name & package name unchanged. Options moved from translation.xml to mapping files.
- Fix BUG/WISH 1909207 : suppress generation of serialVersionUID fields. I add an option "removeSerialVersionUIDFields" in the translation.xml
- Fix BUG 1946935 : project dependency gets removed form translationl.xml file
- Fix for bug 1947098
- Fix BR 1948310
- Add wish 1901503 : Integration of translator into Eclipse progress bar manager
- Env. Variables now allowed in logFile, resourcesDestDir
- TODO 147242 : copy resources DONE (need to be documented)
- Refactore options (start)
- BUG fix with instanceof
- Typo on junit.conf for assertEquals(String ,String)
- New options autoComputeDepends
The C# source code are now available in the SVN repository.
- Fix for bug 1918350
- Improve/bug fix in VS Generation
- Add Arrays.Fill mapping for all primitive types
- Improve move fields init. to constructor for static fields
- Better error reporting
- Improve add constructor invocation (use insert_here)
- Improve flatpattern
- Bug fix in add missing method
NEW : Integrate VisualStudioCsharpProject.java and refactor vs options to be able to update existing vs project (thanks to reihnold) see http://j2cstranslator.wiki.sourceforge.net/HowToUse#tocHowToUse5
- Fix for bug with autoproperties computation and interface
- Again some fix for static final ...
- rollback for asList Mapping
- Sort modifiers
- Fix for some extreme cases in conditional expression replacement
- Fix for const computation
- Fix for sealed computation
- improve enum translation (qualified it later)
- Fix for BR 1911885
- Fix for BR 1913131
- Fix for some parametrized type translation
- Fix for a regression on flattPattern
- Fix for some non working change modifiers field case
- Real fix for renaming field with a "special" name.
- Fix for BUG 1909241
- new unit tests
- Improve translation of final modifier
- fix for 1910754
- Fix for BR 1909244 and some degraded cases
- Fix for BR 1909140
- Fix mapping for new Integer(int), etc
- Fix mapping for Assert.areEquals(String, String) in testng
- Add mapping for AbstractList.equals(object) : The behavior is not the same in java and in .Net
- Change mapping for Map.get() to deal with null key (you need the new version of the mapping library assembly)
- Fix br 1898833 with missing cast to string
- Removing of annotation in code (SingleMemberAnnotation)
- Improve translation of "?" when it's possible (method arguments)
- Improve translation of initializer
- Fix bug with Generics during replacement
- Translation of <?> without constrain not more mapped on a constrains generic method
- In case of exception during translation, report the error and continue
- Support for indexer call on super
- Cleaner support of signature of array.
- Fix to support translation of Class<T> with new behavior for <?> translation.
I add a "removeGenerics" option in the class section of mapping files.
Eclipse-based Java 2 C# Translator. That tool makes it possible to automatic translate from Eclipse java projects into Visual Studio projects. Generated code can be directly compiled and executed without any user modification. See Wiki for documentation.
- Add support for class definition in method (The class is transformed into an inner class)
- Better support for adding Cast in conditionnalExpession in case of wildcarded generic
- Bug fix for BR 1901492 : I check and eventually change the accessibility of source files on the copied project.
- TODO 146667 : Add an option to kept method name unchange (defaultIdentifierMappingBehavior = "capitalized" or none)
The first version of the Java 2 CSharp translator is available. You can fin more information of the wiki part