Hi Robert,
the POM file would be usefull to everyone, not only Eclipse users. If you are willing to, it would be a worthy contribution. And it should not days.
One issue with MASON on Eclipse used to be the storage of extensions under a sub-fulder, whereas for Eclipse they should be separate projects. Thisis something you will need to fix by hand.
Regards.
Sent from ProtonMail mobile
-------- Original Message --------
On 21 Mar 2018, 04:51, Robert Zupko wrote:
> I was able to replicate the Eclipse issues using a clean clone of the repository and the short version is that Eclipse basically doesn't know what to do if there is no project file present. It looks like dropping a Maven pom.xml in will allow Eclipse to manage things as a Maven project, but it's going to take me a couple days to do that. Would there be any interest in incorporating that into the official repository?
>
> On Mon, Mar 19, 2018 at 6:45 PM, Sean Luke <[log in to unmask]> wrote:
>
>>> On Mar 19, 2018, at 3:14 PM, Peter Gacs <[log in to unmask]> wrote:
>>>
>>>> What were the errors you got from Eclipse?
>>>
>>> Little red x next to many components.
>>>
>>> Also, when I try to run the Console I get a warning about errors. I am bringing it up anyway, and try to run, say, Ant Foraging. I get the following trace:
>>>
>>> java.lang.reflect.InvocationTargetException
>>> at java.awt.EventQueue.invokeAndWait(EventQueue.java:1307)
>>> at java.awt.EventQueue.invokeAndWait(EventQueue.java:1282)
>>> at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
>>> at sim.display.Console.launchClass(Console.java:1958)
>>> at sim.display.Console.doNew(Console.java:2090)
>>> at sim.display.Console.main(Console.java:1726)
>>> Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file sim/util/media/chart/XYChartGenerator
>>
>> Wow, that is nuts. MASON should have no problems whatsoever in this regard -- it's quite bog-standard Java code. Some googling suggests that this may be an Eclipse compiler bug, but honestly, I have no idea what Eclipse is doing here.
>>
>> Sean
|