You must use Java 1.5 or later, and soon we will require java 1.6.
Jari Sergio Contrino wrote: > dear base, > i am trying to compile (with the distributed make) a slightly modified > (Plier.java) affy plugin (v 0.7) and i get a long (69) list of errors, > mostly > > Syntax error, annotations are only available if source level is 5.0 > > any suggestion? apologies if in the wrong list > thanks > sergio > > > javac -cp /usr/local/base/www/WEB-INF/lib/BASE2Core.jar:.build > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > ---------- > 1. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 87) > @SuppressWarnings("unchecked") > ^^^^^^^^^^^^^^^^^ > Syntax error, annotations are only available if source level is 5.0 > ---------- > 2. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 92) > List<Throwable> errors = validateRequestParameters > ^^^^ > The type List is not generic; it cannot be parameterized with arguments > <Throwable> > ---------- > 3. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 92) > List<Throwable> errors = validateRequestParameters > ^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 4. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 110) > List<RawBioAssay> rawBioAssays = > ^^^^ > The type List is not generic; it cannot be parameterized with arguments > <RawBioAssay> > ---------- > 5. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 110) > List<RawBioAssay> rawBioAssays = > ^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 6. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 111) > (List<RawBioAssay>)request.getParameterValues("rawBioAssays"); > ^^^^^^^^^^^^^^^^^ > The type List is not generic; it cannot be parameterized with arguments > <RawBioAssay> > ---------- > 7. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 111) > (List<RawBioAssay>)request.getParameterValues("rawBioAssays"); > ^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 8. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 112) > for (RawBioAssay rba : rawBioAssays) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Syntax error, 'for each' statements are only available if source level is > 5.0 > ---------- > 9. ERROR in .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 123) > storeValue(job, request, nameParameter); > ^^^^^^^^^^^^^ > nameParameter cannot be resolved > ---------- > 10. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 124) > storeValue(job, request, experimentParameter); > ^^^^^^^^^^^^^^^^^^^ > experimentParameter cannot be resolved > ---------- > 11. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 125) > storeValues(job, request, rawBioAssaysParameter); > ^^^^^^^^^^^^^^^^^^^^^ > rawBioAssaysParameter cannot be resolved > ---------- > 12. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 135) > response.setError(e.getMessage(), Arrays.asList(e)); > ^^^^^^ > The method asList(Object[]) in the type Arrays is not applicable for the > arguments (Throwable) > ---------- > 13. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 155) > List<PluginParameter<?>> parameters = new > ArrayList<PluginParameter<?>>(); > ^^^^^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 14. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 155) > List<PluginParameter<?>> parameters = new > ArrayList<PluginParameter<?>>(); > ^^^^^^^^^^^^^^^ > The type PluginParameter is not generic; it cannot be parameterized with > arguments <?> > ---------- > 15. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 155) > List<PluginParameter<?>> parameters = new > ArrayList<PluginParameter<?>>(); > > ^^^^^^^^^^^^^^^ > The type PluginParameter is not generic; it cannot be parameterized with > arguments <?> > ---------- > 16. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 155) > List<PluginParameter<?>> parameters = new > ArrayList<PluginParameter<?>>(); > > ^^^^^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 17. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 157) > experimentType = new > ItemParameterType<Experiment>(Experiment.class, null, > ^^^^^^^^^^^^^^ > experimentType cannot be resolved > ---------- > 18. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 157) > experimentType = new > ItemParameterType<Experiment>(Experiment.class, null, > ^^^^^^^^^^^^^^^^^ > The type ItemParameterType is not generic; it cannot be parameterized with > arguments <Experiment> > ---------- > 19. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 157) > experimentType = new > ItemParameterType<Experiment>(Experiment.class, null, > ^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 20. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 159) > experimentParameter = new PluginParameter<Experiment>( > ^^^^^^^^^^^^^^^^^^^ > experimentParameter cannot be resolved > ---------- > 21. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 159) > experimentParameter = new PluginParameter<Experiment>( > ^^^^^^^^^^^^^^^ > The type PluginParameter is not generic; it cannot be parameterized with > arguments <Experiment> > ---------- > 22. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 159) > experimentParameter = new PluginParameter<Experiment>( > ^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 23. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 161) > experimentType); > ^^^^^^^^^^^^^^ > experimentType cannot be resolved > ---------- > 24. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 162) > parameters.add(experimentParameter); > ^^^^^^^^^^^^^^^^^^^ > experimentParameter cannot be resolved > ---------- > 25. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 163) > parameters.add(nameParameter); > ^^^^^^^^^^^^^ > nameParameter cannot be resolved > ---------- > 26. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 168) > ItemQuery<RawBioAssay> rawBioAssayQuery = > experiment.getRawBioAssays(); > ^^^^^^^^^ > The type ItemQuery is not generic; it cannot be parameterized with > arguments <RawBioAssay> > ---------- > 27. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 168) > ItemQuery<RawBioAssay> rawBioAssayQuery = > experiment.getRawBioAssays(); > ^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 28. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 172) > List<RawBioAssay> rawBioAssays = new ArrayList<RawBioAssay>( > ^^^^ > The type List is not generic; it cannot be parameterized with arguments > <RawBioAssay> > ---------- > 29. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 172) > List<RawBioAssay> rawBioAssays = new ArrayList<RawBioAssay>( > ^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 30. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 172) > List<RawBioAssay> rawBioAssays = new ArrayList<RawBioAssay>( > ^^^^^^^^^ > The type ArrayList is not generic; it cannot be parameterized with > arguments <RawBioAssay> > ---------- > 31. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 172) > List<RawBioAssay> rawBioAssays = new ArrayList<RawBioAssay>( > ^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 32. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 174) > rawBioAssaysType = new > ItemParameterType<RawBioAssay>(RawBioAssay.class, > ^^^^^^^^^^^^^^^^ > rawBioAssaysType cannot be resolved > ---------- > 33. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 174) > rawBioAssaysType = new > ItemParameterType<RawBioAssay>(RawBioAssay.class, > ^^^^^^^^^^^^^^^^^ > The type ItemParameterType is not generic; it cannot be parameterized with > arguments <RawBioAssay> > ---------- > 34. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 174) > rawBioAssaysType = new > ItemParameterType<RawBioAssay>(RawBioAssay.class, > ^^^^^^^^^^^ > Syntax error, parameterized types are only available if source level is > 5.0 > ---------- > 35. ERROR in > .build/se/lu/thep/affymetrix/AbstractExternalBinaryPlugin.java > (at line 177) > rawBioAssaysParameter = new PluginParameter<RawBioAssay>( > ^^^^^^^^^^^^^^^^^^^^^ > rawBioAssaysParameter cannot be resolved > ................. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > The BASE general discussion mailing list > basedb-users@lists.sourceforge.net > unsubscribe: send a mail with subject "unsubscribe" to > [EMAIL PROTECTED] -- Jari Hakkinen, PhD Complex Systems Division mailto:[EMAIL PROTECTED] Department of Theoretical Physics phone: +46 (0)46 2229347 Lund University fax: +46 (0)46 2229686 Solvegatan 14a, SE-223 62 Lund, Sweden http://www.thep.lu.se ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]