Results 1 to 4 of 4

Thread: Eclipse plug-in 3.4.0 question

  1. #1
    danleepw is offline Registered User
    Name: Dan Lee
    Organization: Rumyour
    Project: Financial computing engine
    Join Date
    Jul 2009
    Posts
    17

    Eclipse plug-in 3.4.0 question

    Hi,

    I am trying to use Ice Eclipse plug-in 3.4.0. Everything is working fine with single slice file (Test.ice). However, when I try to create another slice file (abc.ice) to #include the previous one, an error come out from abc.ice:

    Description Resource Path Location Type
    error: Can't open include file "Test.ice" #include <Test.ice>

    Above Test.ice and abc.ice are in "slice" folder.

    in abc.ice, I type:

    #include <Test.ice>


    So, is there any problem in my slice files? or do I need to change any configuration for the eclipse plug-in ??

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Yes, in the Slice2Java properties of your project, in the "Options" tab, you need to add a "Location of Include Files" directory: the directory where the file to include is located.

    Cheers,
    Benoit.

  3. #3
    danleepw is offline Registered User
    Name: Dan Lee
    Organization: Rumyour
    Project: Financial computing engine
    Join Date
    Jul 2009
    Posts
    17
    But both of them are already in the "slice" folder (location of slice source file), we still need to add that folder in "location of Include Files"??

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Right, you still need to add this directory. The slice2java only searches in directories specified in this list for included files.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Eclipse plug-in updated for Ice 3.4.1
    By mes in forum Announcements
    Replies: 0
    Last Post: 07-06-2010, 03:00 PM
  2. Replies: 0
    Last Post: 04-06-2009, 02:44 PM
  3. Replies: 0
    Last Post: 08-25-2005, 07:34 PM
  4. Eclipse plug-in for Ice
    By michi in forum Announcements
    Replies: 0
    Last Post: 08-22-2005, 07:06 PM
  5. Wireless protocol plug-in
    By crj18 in forum Help Center
    Replies: 1
    Last Post: 10-19-2004, 06:37 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
  •