Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-17-2006
rc_hz rc_hz is offline
Registered User
 
Name: Eric RC
Organization: www.genband.com
Project: No project yet
 
Join Date: Jul 2004
Location: Hangzhou, China
Posts: 189
Send a message via MSN to rc_hz
-->
IceJ 3.1.0 Problem

When I compile IceJ 3.1.0 (Java5) in Eclipse, it complains as follows:
The method put(String, PropertySetDescriptor) in the type Map<String,PropertySetDescriptor> is not applicable for the arguments (String, Object) Node.java IceJ-3.1.0/src/IceGridGUI/Application line 617 August 17, 2006 4:16:39 PM 51463


I check the code in IceGridGUI.Application.PropertySet.java:
Code:
import javax.swing.JTree;
import javax.swing.tree.DefaultTreeCellRenderer;

import IceGrid.*;
import IceGridGUI.*;

class PropertySet extends TreeNode
{
    //...
    Object getDescriptor()
    {
	return _descriptor;
    }
    
    Object saveDescriptor()
    {
	return _descriptor.clone();
    }

    private PropertySetDescriptor _descriptor;	
    
    //...
    
}
It is strange. Why does it look like this:
Code:
class PropertySet extends TreeNode
{
    //...
    PropertySetDescriptor getDescriptor()
    {
	return _descriptor;
    }
    
    PropertySetDescriptor saveDescriptor()
    {
	return _descriptor.clone();
    }

    private PropertySetDescriptor _descriptor;	
    
    //...
    
}
__________________
Eric RC
www.genband.com (telecommunication)
I like ICE (Ice for C++/Java/Python)
Reply With Quote
  #2 (permalink)  
Old 08-17-2006
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,088
You cannot compile the IceGrid GUI with Java 5. If you look at the build.xml file that accompanies the distribution it skips the build of the GUI if you are using java5.
Reply With Quote
  #3 (permalink)  
Old 08-17-2006
rc_hz rc_hz is offline
Registered User
 
Name: Eric RC
Organization: www.genband.com
Project: No project yet
 
Join Date: Jul 2004
Location: Hangzhou, China
Posts: 189
Send a message via MSN to rc_hz
-->
Oh... Thank you!
__________________
Eric RC
www.genband.com (telecommunication)
I like ICE (Ice for C++/Java/Python)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem executing IceJ fgarcia Help Center 2 02-09-2007 08:13 AM
IceJ and Eclipse albertods Help Center 0 10-19-2006 01:08 PM
Too many open files with IceJ lucsat Help Center 4 11-01-2005 08:34 AM
IceJ and Ice C++ damingyipai Help Center 2 03-19-2004 12:37 AM
DB 4.0.14 and IceJ problems christoph Bug Reports 5 03-03-2003 04:54 AM


All times are GMT -4. The time now is 11:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.