Results 1 to 2 of 2

Thread: Incorrect file name in auto-generated slice2java header comments

  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
    121

    Incorrect file name in auto-generated slice2java header comments

    While playing around with Slice files to track down the bug I just posted about, I noticed something funny in the headers of slice2java-generated files. For example, this is inside StringList1Helper.java:

    Code:
    // <auto-generated>
    //
    // Generated from file `StringList1Helper.java'
    //
    // Warning: do not edit this file.
    //
    // </auto-generated>
    That's not the file that it was generated from; that's the name of the generated file itself. (In this case, it should probably say "Generated from file `StringList.ice'.)
    Last edited by mefoster; 12-07-2011 at 09:38 AM. Reason: Make it clearer

  2. #2
    mes's Avatar
    mes
    mes is offline ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,441
    Hi Mary Ellen,

    Thanks for reporting this. Silly bug, but easy enough to fix.

    Regards,
    Mark

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. packageless class generated by Slice2java
    By sylvain in forum Help Center
    Replies: 5
    Last Post: 11-05-2010, 10:57 AM
  2. Replies: 6
    Last Post: 07-12-2009, 01:44 PM
  3. Replies: 2
    Last Post: 10-20-2008, 08:49 AM
  4. Custom headers in generated files
    By Sameerrele in forum Help Center
    Replies: 2
    Last Post: 10-17-2006, 06:02 PM
  5. assert() in slice2java generated code?
    By SteveWampler in forum Help Center
    Replies: 2
    Last Post: 04-13-2004, 01:38 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
  •