Results 1 to 4 of 4

Thread: Eclipse slice2java plugin -- initial impressions

  1. #1
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    118

    Eclipse slice2java plugin -- initial impressions

    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

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    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.

  3. #3
    mefoster is offline Registered User
    Name: Mary Ellen Foster
    Organization: Heriot-Watt University, Edinburgh
    Project: ECHOES learning environment
    Join Date
    Jun 2006
    Posts
    118

    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.
    Last edited by mefoster; 02-09-2009 at 10:14 AM. Reason: Make title clearer

  4. #4
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    552
    Thanks for the report, we'll fix this annoying warnings in next release.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Eclipse Plugin and Ice
    By marcel in forum Bug Reports
    Replies: 1
    Last Post: 04-08-2010, 09:09 PM
  2. 3.4 Eclipse plugin
    By marcel in forum Help Center
    Replies: 1
    Last Post: 03-10-2010, 12:35 AM
  3. Eclipse C++ plugin...
    By krisjakobsen in forum Comments
    Replies: 3
    Last Post: 03-09-2010, 04:44 AM
  4. Eclipse plugin
    By rincewind in forum Comments
    Replies: 9
    Last Post: 09-14-2009, 01:23 PM
  5. Replies: 0
    Last Post: 12-22-2008, 03:31 PM

Posting Permissions

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