Home Help Center

IceJ 3.1.0 Problem

rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
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:
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:
class PropertySet extends TreeNode
{
    //...
    PropertySetDescriptor getDescriptor()
    {
	return _descriptor;
    }
    
    PropertySetDescriptor saveDescriptor()
    {
	return _descriptor.clone();
    }

    private PropertySetDescriptor _descriptor;	
    
    //...
    
}

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    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.
  • rc_hzrc_hz Member Eric RCOrganization: www.genband.comProject: No project yet ✭✭✭
    Oh... Thank you!
Sign In or Register to comment.