Fix eclipse project to work out of the box
------------------------------------------
Key: MAPREDUCE-2578
URL: https://issues.apache.org/jira/browse/MAPREDUCE-2578
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 0.22.0
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Fix For: 0.22.0
Currently "ant eclipse" generates an eclipse project that doesn't actually work properly.
A few issues:
- the "testjar" dir inside src/test/mapred has a java class in no package, which confuses
Eclipse since it's in testjar/
- the gridmix tests have test/org and test/system/org, which makes eclipse thing the system
tests belong in a package "system.org.apache.hadoop..."
- the webapps are in build/ directly, but putting build/ on the classpath breaks things since
we then have two copies of every class, etc
- some parts of the code depend on hadoop.log.dir being defined, which isn't true when running
junit inside a stock Eclipse setup
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|