Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Project builds fine in Eclipse, but not from command line
Project builds fine in Eclipse, but not from command line [message #169460] Tue, 05 September 2006 09:20
Eclipse UserFriend
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-----
Previous Topic:How can I get the DocumentRoot?(Q about EMF)
Next Topic:Compilation!!!!!!!!!!!!!!!
Goto Forum:
  


Current Time: Fri Apr 26 17:22:36 GMT 2024

Powered by FUDForum. Page generated in 0.07978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top