Home Bug Reports

Eclipse slice2java plugin -- initial impressions

mefostermefoster Member Mary Ellen FosterOrganization: Heriot-Watt University, EdinburghProject: ECHOES learning environment ✭✭✭
I've been using Eclipse to build Java Ice modules for a while now, using the configuration that I summarised in this post. So I was curious about what the slice2java plugin could do for me.

Initially, there's one big thing that's missing: the plugin only lets you choose a folder inside the current project as the location of the slice files. In my configuration, all of the Slice files for the whole system are in a separate, central Subversion module, which means in practice that the slice files are in a difference Eclipse project than the Java source of the server itself.

Would it be possible to let the user specify *any* folder as the source of the slice files, whether it's under the current project or not? This would let me test the plugin further.

One other wishlist item -- it would be GREAT if the plugin also included a syntax-highlighting, tab-completing editor for slice files ... :)

MEF

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Thanks for the comments. You can already do exactly what you want by linking (that is using the eclipse equivalent of symbolic links) to the slice folder inside the eclipse project.
  • mefostermefoster Member Mary Ellen FosterOrganization: Heriot-Watt University, EdinburghProject: ECHOES learning environment ✭✭✭
    slice2java warnings treated as errors by the eclipse plugin

    Here's something annoying: on Linux, slice2java prints a warning if it's given a file with Windows line endings:
    [exec] /home/mef/workspace/jast-ice/jast/common/Object.ice:1: warning: Converted [CR+LF] to [LF]
    [exec] #ifndef __OBJECT_ICE

    The slice2java plugin interprets these warnings as errors, so I get a bunch of red Xs in my project any time one of my colleagues edits a slice file on Windows.
  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Thanks for the report, we'll fix this annoying warnings in next release.
Sign In or Register to comment.