From: me w. <tan...@ho...> - 2009-07-30 16:18:47
|
Is it possible that ANT compile with a specific version of Java? I think that maybe you wrote your code according one 's latest version of java, but ANT tries to compile it with an older version, so it doesn't understand some recent features like generic to specification (the '<>'). Look in ANT if it exists a field that specifies the java version to compile with. (I've never used ANT, so I just can make assumptions...) Have a nice day! Skuld PS: sorry to not write that in Nabble, but I didn't find out this topic ... -_-' > Date: Mon, 27 Jul 2009 14:59:36 +0200 > From: ru...@cs... > To: bus...@gm... > CC: jav...@li... > Subject: [Java-player-users] [Fwd: about Javaclient] > > Jose, I am re-directing your e-mail to the Javaplayer users mailing list, hoping that someone can provide a solution to > your problem. > > Cheers, > Radu. > > -------- Original Message -------- > Subject: about Javaclient > Date: Mon, 27 Jul 2009 14:02:33 +0200 > From: José Bustamante <bus...@gm...> > To: ru...@cs..., ma...@ro... > > > > Hello, please I would like some help. > when I compile with ANT I get some errors, but first of all > I would like to solve this one: > > protected Vector<PlayerDevice> deviceList = new Vector<PlayerDevice> (); > > The type Vector is not generic; it cannot be parametrized with arguments > <PlayerDevice> > > please how could I solve it? > > thank you so much > > JOSE > > -- > | Radu Bogdan Rusu | http://rbrusu.com/ > > ------------------------------------------------------------------------------ > _______________________________________________ > Java-player-users mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-player-users _________________________________________________________________ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx |