LISTSERV mailing list manager LISTSERV 16.0

Help for MASON-INTEREST-L Archives


MASON-INTEREST-L Archives

MASON-INTEREST-L Archives


MASON-INTEREST-L@LISTSERV.GMU.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

MASON-INTEREST-L Home

MASON-INTEREST-L Home

MASON-INTEREST-L  March 2008

MASON-INTEREST-L March 2008

Subject:

Re: Error while integrating with netbeans

From:

Gabriel Catalin Balan <[log in to unmask]>

Reply-To:

MASON Multiagent Simulation Toolkit <[log in to unmask]>

Date:

Fri, 28 Mar 2008 08:26:25 -0400

Content-Type:

TEXT/PLAIN

Parts/Attachments:

Parts/Attachments

TEXT/PLAIN (44 lines)

We covered this before on this list. It's not etbeans' fault,
you're using an old version of the code.

Either get a newer version, or edit the file with the error and let java
know you want sim.display.Console, not java.io.Console.

- replace Console with sim.display.Console in that file OR
- change the imports somehow (add import sim.display.Console)

Gabriel

> Date: Thu, 27 Mar 2008 12:04:05 -0400
> From: Sandhya Arunachalam <[log in to unmask]>
> Subject: Error while integrating with netbeans
>
> Hi all
>
> I am getting the following error when I run a Mason project on
> Netbeans .Has anyone had this problem before ? Please help ?
>
> Thanks
>
> Sandhya
>
> init:
> deps-jar:
> Created dir: D:\Thesis\myModel\build\classes
> Compiling 5 source files to D:\Thesis\myModel\build\classes
> D:\Thesis\mason\mason\sim\portrayal\inspector\PropertyInspector.java:228:
> reference to Console is ambiguous, both class java.io.Console in java.io
> and class sim.display.Console in sim.display match
> properties, index, (Console)
> (state.controller), state);
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> BUILD FAILED (total time: 2 seconds)
>
> ------------------------------
>
> End of MASON-INTEREST-L Digest - 25 Mar 2008 to 27 Mar 2008 (#2008-13)
> **********************************************************************
>

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get P