ant build fails

1,053 views
Skip to first unread message

bluegla...@gmail.com

unread,
Nov 12, 2014, 4:51:16 AM11/12/14
to eclim...@googlegroups.com
# Eclim 2.4.0 with Eclipse 4.4.1

user@user-desktop:~/Downloads/eclim$ ant -Declipse.home=/opt/eclipse/
Buildfile: /home/user/Downloads/eclim/build.xml

deploy:

gant:
     [echo] ${eclipse}: /opt/eclipse/
     [echo] # Skipping org.eclim.groovy, missing org.codehaus.groovy.jdt.patch
     [echo] # Skipping org.eclim.pdt, missing org.eclipse.php
     [echo] # Skipping org.eclim.wst, missing org.eclipse.wst.web_ui.feature
     [echo] # Skipping org.eclim.adt, missing com.android.ide.eclipse.adt.feature
     [echo] # Skipping org.eclim.cdt, missing org.eclipse.cdt
     [echo] # Skipping org.eclim.sdt, missing org.scala-ide.sdt.feature
     [echo] # Skipping org.eclim.dltk, missing org.eclipse.dltk.core
     [echo] # Skipping org.eclim.dltkruby, missing org.eclipse.dltk.ruby
     [echo] # Skipping org.eclim.pydev, missing org.python.pydev.feature
     [echo] Plugins:
     [echo]   org.eclim.jdt
deploy:
deploy.eclipse:
build:
build.eclipse:
init:
     [echo] eclim.version: 2.4.0.138-gc02b047
     [echo] eclim.release: 2.4.0
     [echo] eclim.release.indigo: none
org.eclim.jdt.classpath:
------ org.eclim.jdt.classpath
------ init
     [echo]
     [echo] building plugin: org.eclim
    [mkdir] Created dir: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim_2.4.0.138-gc02b047
      [jar] Building jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim_2.4.0.138-gc02b047/eclim.jar
     [copy] Copying 45 files to /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim_2.4.0.138-gc02b047
org.eclim.build.eclipse:
     [copy] Copying 1 file to /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim_2.4.0.138-gc02b047/bin
      [jar] Updating jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim_2.4.0.138-gc02b047/lib/nailgun-0.7.1.jar
------ org.eclim.build.eclipse
     [echo]
     [echo] building plugin: org.eclim.core
    [mkdir] Created dir: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047
      [jar] Building jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/eclim.core.jar
     [copy] Copying 7 files to /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047
     [echo]
     [echo] building plugin: org.eclim.vimplugin
    [mkdir] Created dir: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.vimplugin_2.4.0.138-gc02b047
      [jar] Building MANIFEST-only jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.vimplugin_2.4.0.138-gc02b047/eclim.vimplugin.jar
     [copy] Copying 6 files to /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.vimplugin_2.4.0.138-gc02b047
org.eclim.vimplugin.build.eclipse:
      [jar] Updating jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.vimplugin_2.4.0.138-gc02b047/eclim.vimplugin.jar
------ org.eclim.vimplugin.build.eclipse
     [echo]
     [echo] building plugin: org.eclim.jdt
    [mkdir] Created dir: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.jdt_2.4.0.138-gc02b047
      [jar] Building jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.jdt_2.4.0.138-gc02b047/eclim.jdt.jar
     [copy] Copying 14 files to /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.jdt_2.4.0.138-gc02b047
org.eclim.jdt.build.eclipse:
      [jar] Building jar: /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.jdt_2.4.0.138-gc02b047/eclim-testng.jar
------ org.eclim.jdt.build.eclipse
------ build.eclipse
build.vim:
   [delete] Deleting directory /home/user/Downloads/eclim/build/temp/vim
    [mkdir] Created dir: /home/user/Downloads/eclim/build/temp/vim
     [copy] Copying 50 files to /home/user/Downloads/eclim/build/temp/vim/org.eclim.core
     [copy] Copying 2 files to /home/user/Downloads/eclim/build/temp/vim/org.eclim.vimplugin
     [copy] Copying 70 files to /home/user/Downloads/eclim/build/temp/vim/org.eclim.jdt
------ build.vim
------ build
     [copy] Copying 78 files to /opt/eclipse/plugins
Attempt to copy /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/META-INF/MANIFEST.MF to /opt/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/META-INF/MANIFEST.MF using NIO Channels failed due to 'failed to create the parent directory for /opt/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/META-INF/MANIFEST.MF'.  Falling back to streams.

BUILD FAILED
/home/user/Downloads/eclim/build.xml:32: The following error occurred while executing this line:
/home/user/Downloads/eclim/build.xml:160: : Failed to copy /home/user/Downloads/eclim/build/temp/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/META-INF/MANIFEST.MF to /opt/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/META-INF/MANIFEST.MF due to java.io.FileNotFoundException /opt/eclipse/plugins/org.eclim.core_2.4.0.138-gc02b047/META-INF/MANIFEST.MF (Datei oder Verzeichnis nicht gefunden)

Total time: 3 seconds
Enter code here...
E

bluegla...@gmail.com

unread,
Nov 12, 2014, 5:10:51 AM11/12/14
to eclim...@googlegroups.com
Okay, I realized that I just hat no wrinting permissions for /opt/. I installed eclim in my local $HOME/.eclipse/eclipse-version folder. See the installation instructions for details. That worked.
Reply all
Reply to author
Forward
0 new messages