This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Hadoop plugin 1.1.2 compile error (ant build failed in eclipse) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Hadoop plugin 1.1.2 compile error (ant build failed in eclipse)" Watch "Hadoop plugin 1.1.2 compile error (ant build failed in eclipse)" New topic
Author

Hadoop plugin 1.1.2 compile error (ant build failed in eclipse)

sandeep amilineni
Greenhorn

Joined: Jul 10, 2013
Posts: 2
Hi,

Got the below error when compiling(ant compile task) Hadoop 1.1.2 plugin source in eclipse(Juno).

[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead

Check below for whole output
=======================================================================
Buildfile: C:\Users\asandeep\extracts\hadoop-1.1.2\src\contrib\eclipse-plugin\build.xml
check-contrib:
init:
[echo] contrib: eclipse-plugin
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\classes
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\test
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\system
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\system\classes
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\examples
[mkdir] Created dir: C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\test\logs
init-contrib:
ivy-download:
[get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
[get] To: C:\Users\asandeep\extracts\hadoop-1.1.2\ivy\ivy-2.1.0.jar
[get] Not modified - so not downloaded
ivy-probe-antlib:
ivy-init-antlib:
ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = C:\Users\asandeep\extracts\hadoop-1.1.2\ivy\ivysettings.xml
ivy-resolve-common:
[ivy:resolve] :: resolving dependencies :: org.apache.hadoop#eclipse-plugin;working@ASANDEEP
[ivy:resolve] confs: [common]
[ivy:resolve] found commons-logging#commons-logging;1.0.4 in maven2
[ivy:resolve] found log4j#log4j;1.2.15 in maven2
[ivy:resolve] :: resolution report :: resolve 201ms :: artifacts dl 7ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| common | 2 | 0 | 0 | 0 || 2 | 0 |
---------------------------------------------------------------------
ivy-retrieve-common:
[ivy:retrieve] :: retrieving :: org.apache.hadoop#eclipse-plugin [sync]
[ivy:retrieve] confs: [common]
[ivy:retrieve] 0 artifacts copied, 2 already retrieved (0kB/8ms)
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = C:\Users\asandeep\extracts\hadoop-1.1.2\ivy\ivysettings.xml
compile:
[echo] contrib: eclipse-plugin
[javac] Compiling 45 source files to C:\Users\asandeep\extracts\hadoop-1.1.2\build\contrib\eclipse-plugin\classes

BUILD FAILED
C:\Users\asandeep\extracts\hadoop-1.1.2\src\contrib\eclipse-plugin\build.xml:62: C:\Users\asandeep\extracts\hadoop-1.1.2\src\contrib\eclipse-plugin\Usersasandeepextractseclipse\plugins
does not exist.

Total time: 1 second
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32507
    
214

Sandeep,
Welcome to CodeRanch!

C:\Users\asandeep\extracts\hadoop-1.1.2\src\contrib\eclipse-plugin\build.xml:62: C:\Users\asandeep\extracts\hadoop-1.1.2\src\contrib\eclipse-plugin\Usersasandeepextractseclipse\plugins

Does this directory exist? Can you get to it at a DOS/Powershell prompt?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
sandeep amilineni
Greenhorn

Joined: Jul 10, 2013
Posts: 2
Very Thanks,
It worked. After creating the directories.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Hadoop plugin 1.1.2 compile error (ant build failed in eclipse)
 
It's not a secret anymore!