Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2011
    Posts
    6

    Question "Java class to source" file format on Linux

    Hi,

    Is it possible to make this file format work on Linux. I tried to install it, but the import file format dialog doesn't even show this format.

    How does Beyond Compare identify whether a file format that is being imported is supported on Linux or not? Can I modify the downloaded format to make it work?

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,384

    Default

    The file formats are separated by OS on the File Formats download page. By selecting the OS first, you can then limit your view to supported formats.

    The reason Java Class is Windows only is it relies on helper files that are .exe to perform the conversion from Class to Text. These do not run on Linux, so the format wouldn't function. If you are familiar with any command line utility on Linux that can convert from Class to Text, you can create a custom format that uses it, following these basic instructions (example RESX):
    http://www.scootersoftware.com/suppo...rnalconversion

    Let us know if you need any help configuring BC or have any questions.
    Aaron P Scooter Software

  3. #3
    Join Date
    Sep 2011
    Posts
    6

    Default

    The link that is specified for JAD (the external conversion tool) for Windows "Java class to source" file format, also has linux builds of the same tool available.

    Can I download the windows file format bcpkg file and modify it to work on linux? This way I don't have to type all language grammar myself.

    Currently if I try to import the format, it doesn't even show up in the import dialog.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,384

    Default

    Hello,

    For Java grammars, you can clone the existing Java Source format included by default which would include java grammar definitions. Then edit the Conversion tab to add any conversion process as detailed in the above KB article to add a conversion program.
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •