Share

Java 2 CSharp Translator for Eclipse

Code

Programming Languages: C#, Java

License: Eclipse Public License

Repositories

browse code, statistics, last commit on 2009-11-03 svn co https://j2cstranslator.svn.sourceforge.net/svnroot/j2cstranslator j2cstranslator

Show:

What's happening?

  • Followup: RE: Mapping of generics

    Here is the issue reference : [Issue for empty mapping files][1] [1]: https://sourceforge.net/tracker/?func=detail&aid=2892495&group_id=218711&atid=1044261.

    2009-11-06 17:58:59 UTC by tdeverdiere

  • Followup: RE: Mapping of generics

    Yes, that was due to an empty mapping file (in fact that contains only comments). There was an error, but it was not logged. I add a low priority issue on that.

    2009-11-06 17:57:02 UTC by tdeverdiere

  • Comment: Mapping file containing only comments stops translation

    Change priority and category.

    2009-11-05 10:13:49 UTC by tdeverdiere

  • Mapping file containing only comments stops translation

    When a mapping file contains only comments (at the beginning), this stops translation without logging errors. For example if a mapping file contains only: // // ILOG Java 2 CSharp translator mapping file for project DefaultTranslationConfig // This generates a TokenError. And the TokenError is not logged, and the translation is stopped. I think the translation should not stop for this...

    2009-11-05 10:12:43 UTC by tdeverdiere

  • Followup: RE: Mapping of generics

    Done for the TODO list. But this should not provide an error, isn't it ? I mean if J2CS does not find a mapping class it should not failed the translation ? because it does on my project .. so i will search the reason why.

    2009-11-04 16:41:13 UTC by tdeverdiere

  • Support for different versions of JDK

    Each version of JDK brings new classes and new methods in existing class. In order for J2CS to support those changes without duplicating mapping file i suggest to add a parameter in the mapping for packages, classes, methods, fields .. that indicates the version of the JDK the new element has been introduced. The J2CS have then to compare this parameter with the version of the JDK of the project...

    2009-11-04 16:26:24 UTC by tdeverdiere

  • Followup: RE: Mapping of generics

    Yepa !

    2009-11-04 16:15:48 UTC by tdeverdiere

  • Followup: RE: Mapping of generics

    Hi Thomas, I really like the second proposal. Can you add it on the TODO list ? Thanks, @lex.

    2009-11-04 10:11:18 UTC by alexandrefau

  • Followup: RE: Mapping of generics

    I see 2 ways to correct it : _ we have a more flexible comparator, so for the generics it will try to use the non generics, it will then understand the following mapping for a JDK1.4 by removing the <<T>T> : method doPrivileged(java.security.PrivilegedAction<T>) { pattern = @1.Run(); } _ and we could add a parameter in the mapping file .. with : method...

    2009-11-03 10:49:10 UTC by tdeverdiere

  • Followup: RE: Mapping of generics

    Hello, Basically if you don't need generics do not use useGenerics="true". These prevente the loading of "generics.mapping" file. I suspect that mapping to be outside generics.mapping file. Even with that there is new API between JDK 1.4 and JDK6 so you can have other trouble. The ideal situation will to have one set of mapping file per JDK ... But it will be a lot of...

    2009-11-03 09:49:05 UTC by alexandrefau

Our Numbers