Project builds fine in Eclipse, but not from command line [message #169460] |
Tue, 05 September 2006 09:20 |
Eclipse User |
|
|
|
Originally posted by: hendrik_maryns.despammed.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
(Asked before in comp.lang.java.help, but no satisfying answers)
I have a rather large project, that I generified in Eclipse. Eclipse
now gives me no more errors and only one single warning, which I wish to
ignore. So I want to do some testing, with the test cases that were
delivered for the non-generic version. However, the project fails to
build from the command line, I get a whole bunch of (mostly generics
related) error messages from javac. I exported the project to its own
folder and tried rebuilding there.
I invoke javac like so:
hendrik@lichtenstein:~/Java/Jakarta Commons
Collections/commons-collections-generic-3.2-src/src/java> javac
- -classpath . org/apache/commons/collections/FunctorUtils.java
This is javac:
javac -version
javac 1.5.0_07
And this is one example of the errors:
org/apache/commons/collections/ClosureUtils.java:196: cannot find symbol
symbol : method
getInstance(org.apache.commons.collections.Closure<capture of ? super
I>,org.apache.commons.collections.Closure<capture of ? super I>)
location: class org.apache.commons.collections.functors.ChainedClosure
return ChainedClosure.getInstance(closure1, closure2);
^
But I am sure this function does exist.
Any suggestions?
TIA, H.
- --
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFE/UFpe+7xMGD3itQRAm33AJ0dh1A2vRf2OgDOILdEA9RnMJwnHwCd GO0z
4OVCZgMXRqeU4wS1scdIwPM=
=9bNV
-----END PGP SIGNATURE-----
|
|
|
Powered by
FUDForum. Page generated in 0.07978 seconds