Results 1 to 3 of 3

Thread: Using same Slice file for both Java and C#

  1. #1
    gesly is offline Registered User
    Name: Gesly George
    Organization: AQR
    Project: Service Framework
    Join Date
    Mar 2007
    Posts
    19

    Using same Slice file for both Java and C#

    Hi,

    I have a slice file defined for which I need to run both slice for Java and C#.
    I'm trying to add the slice file that I have already defined into VS 2010 to generate the slice for C# code. Unfortunately, when I try to add the .ice file as an existing file, it makes a copy of the file into VS solution directory which results in have 2 files - one for Java and another one for C#.

    Is there a more cleaner approach that I could follow? The other way I could try to do this is to define the file through VS and then reference it for Java. Ideally, I would like to place the slice file separately so that both the Java and C# builds can access it.

    Thanks,
    Gesly

  2. #2
    chow is offline Registered User
    Name: Brian Chojnowski
    Organization: ATT
    Project: ACD event publisher 3rd party call control server
    Join Date
    Aug 2007
    Posts
    17
    I just tested doing this (using vs2010 ultimate) and I was able to add the existing item (.ice file) from a different directory and it did not copy the file.

    Maybe recheck your added file by clicking on it in the ide and looking at the "Relative Path" property to see where the solution thinks your .ice file is.

  3. #3
    chow is offline Registered User
    Name: Brian Chojnowski
    Organization: ATT
    Project: ACD event publisher 3rd party call control server
    Join Date
    Aug 2007
    Posts
    17
    The previous post was for a c++ project. For a c# project, it appears to copy the file to the project directory.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using other basic types in a Slice file
    By grammarian in forum Help Center
    Replies: 1
    Last Post: 02-08-2011, 05:07 PM
  2. slice definition if dfstream file
    By moshehak in forum Help Center
    Replies: 1
    Last Post: 02-21-2008, 07:47 AM
  3. Replies: 1
    Last Post: 09-09-2007, 02:43 PM
  4. Using config file with Java client
    By Djaunl in forum Help Center
    Replies: 2
    Last Post: 03-15-2007, 02:43 PM
  5. where can i get javadoc file for ice java
    By gumpagain in forum Help Center
    Replies: 1
    Last Post: 12-03-2004, 12:26 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
  •