Ale46/groovejaar — Issue #4: Getting errors on build
Author: InacioNeto
Created: 2012-01-25 05:23:25+00:00
State: open

I'm getting this when I try to build:

Buildfile: C:\Users\Inacio\Desktop\ale\build.xml

build-subprojects:

init:

build-project:
[echo] Groovejaar: C:\Users\Inacio\Desktop\ale\build.xml
[javac] C:\Users\Inacio\Desktop\ale\build.xml:30: warning: 'includeantruntim
e' was not set, defaulting to build.sysclasspath=last; set to false for repeatab
le builds
[javac] Compiling 64 source files to C:\Users\Inacio\Desktop\ale\bin
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\Player.java:35: type java
x.swing.DefaultListModel does not take parameters
[javac] private DefaultListModel model = new DefaultListModel();
[javac] ^
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\Player.java:36: type java
x.swing.JList does not take parameters
[javac] private JList list = new JList(model);
[javac] ^
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\OptionGui.java:53: type j
avax.swing.JComboBox does not take parameters
[javac] private JComboBox comboBox;
[javac] ^
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\Player.java:35: type java
x.swing.DefaultListModel does not take parameters
[javac] private DefaultListModel model = new DefaultListModel();
[javac] ^
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\Player.java:36: type java
x.swing.JList does not take parameters
[javac] private JList list = new JList(model);
[javac] ^
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\OptionGui.java:119: type
javax.swing.JComboBox does not take parameters
[javac] comboBox = new JComboBox();
[javac] ^
[javac] C:\Users\Inacio\Desktop\ale\src\groovejaar\OptionGui.java:120: type
javax.swing.DefaultComboBoxModel does not take parameters
[javac] comboBox.setModel(new DefaultComboBoxModel(new S
tring[] {"Ask Action", "Overwrite", "Skip"}));
[javac] ^
[javac] 7 errors

BUILD FAILED
C:\Users\Inacio\Desktop\ale\build.xml:30: Compile failed; see the compiler error
output for details.

Total time: 2 seconds

Why's that?