Results 1 to 10 of 10

Thread: Eclipse plugin

  1. #1
    rincewind is offline Registered User
    Name: Kobus Botha
    Organization: Saab Systems Grintek
    Project: Command and Control application.
    Join Date
    Sep 2009
    Posts
    11

    Eclipse plugin

    I just downloaded the latest Eclipse and then installed the Ice plugin. I followed the 20 minutes demo and created the Java project and then the Hello.ice file. I entered the definition exactly as in the demo and saved. According to the demo the files should be generated when you save.

    Nothing happens... Am I missing something here?

    Thanks.

  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
    Did you enable the slice2java builder?

  3. #3
    rincewind is offline Registered User
    Name: Kobus Botha
    Organization: Saab Systems Grintek
    Project: Command and Control application.
    Join Date
    Sep 2009
    Posts
    11
    Yes, I did. If I right click on the project node and scroll down to the Slice2Java menu it has one item "Remove Slice2Java builder"

  4. #4
    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
    Its difficult to say what the issue is. Perhaps you didn't set the location of the Ice installation? If you turn on console output in the slice2java plugin options, you'll get lots of debugging output. What do you see?

  5. #5
    rincewind is offline Registered User
    Name: Kobus Botha
    Organization: Saab Systems Grintek
    Project: Command and Control application.
    Join Date
    Sep 2009
    Posts
    11
    Sorry, I'm not an Eclipse user. As I've said in my other post, we use NetBeans. I've been searching for a way to turn on console output. I found the Slice2Java in Preferences, which contains the SDK Location, which is C:\Ice-3.3.1-VC90. I'm running Windows XP. Which is where Ice was installed.

    I can't find the console output setting. Will search some more... Ok found it!

    I deleted the project and followed the steps again...
    Start incremental build at 17:16:59
    Candidate list:
    No remaining candidates.
    No orphans from this build.
    Build complete. Elapsed time: 0s.

  6. #6
    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
    When you save changes to the slice file, the file should appear in the candidate list, and then subsequently be translated. Is the slice file in the "slice" subdirectory of the eclipse project? Is the "slice" subdirectory listed in the "Location of Slice Source Files" slice2java properties? If this doesn't help resolve your issue, can you confirm what version of Eclipse, Java, Ice and Windows you are using and I'll attempt to duplicate your issue.

  7. #7
    rincewind is offline Registered User
    Name: Kobus Botha
    Organization: Saab Systems Grintek
    Project: Command and Control application.
    Join Date
    Sep 2009
    Posts
    11
    I restarted Eclipse and tried the sequence again and now the files are generated...

  8. #8
    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
    That is a bit strange. Perhaps this is the first time you restarted eclipse since you installed the slice2java plugin? Does everything appear to be working fine now? Can you confirm your environment for me?

  9. #9
    rincewind is offline Registered User
    Name: Kobus Botha
    Organization: Saab Systems Grintek
    Project: Command and Control application.
    Join Date
    Sep 2009
    Posts
    11
    I think it was. I'm following the rest of the tutorial and so far everything works fine.

    I'm running Windows XP
    java.runtime.version=1.6.0_15-b03
    Ice-3.3.1-VC90
    Eclipse Build id: 20090619-0625

    Thanks for the help!

  10. #10
    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
    I just tested a very similar environment with the latest Eclipse version (also 20090619-0625) and it seemed to work fine. I'm not really sure what was going wrong for you. Other than a strange bug, the only two things I can think of are a) you didn't restart eclipse after installing the plugin or b) your slice file doesn't result in any generated code (for example, it contains nothing, or only a module definition).

    At any rate, if you have any more trouble please let me know!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ICE C++ plugin for Eclipse / Netbeans?
    By Gordon in forum Help Center
    Replies: 0
    Last Post: 09-13-2010, 05:38 PM
  2. Eclipse Plugin and Ice
    By marcel in forum Bug Reports
    Replies: 1
    Last Post: 04-08-2010, 08:09 PM
  3. 3.4 Eclipse plugin
    By marcel in forum Help Center
    Replies: 1
    Last Post: 03-09-2010, 11:35 PM
  4. Eclipse C++ plugin...
    By krisjakobsen in forum Comments
    Replies: 3
    Last Post: 03-09-2010, 03:44 AM
  5. Source for Eclipse plugin?
    By mefoster in forum Help Center
    Replies: 2
    Last Post: 01-27-2009, 04:14 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
  •