DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 27th October 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Default Quick Ant Question

Hi everyone
I am running into a small problem on Ant

Code:
[disappearedng@192 ~/Desktop/Dev/Android_codes/Android]$ ls
AndroidManifest.xml     build.xml               res
bin                     libs                    src
[disappearedng@192 ~/Desktop/Dev/Android_codes/Android]$ ant
Buildfile: build.xml

dirs:
     [echo] Creating output directories if needed...

resource-src:
     [echo] Generating R.java / Manifest.java from the resources...

aidl:
     [echo] Compiling aidl files into Java classes...

compile:
    [javac] Compiling 2 source files to /usr/mount/350gb/code_google/Android_codes/Android/bin/classes

dex:
     [echo] Converting compiled files and external libraries into bin/classes.dex...

BUILD FAILED
/usr/mount/350gb/code_google/Android_codes/Android/build.xml:150: Execute failed: java.io.IOException: Cannot run program "/usr/home/disappearedng/android-sdk-linux_x86-1.0_r1/tools/dx": java.io.IOException: error=2, No such file or directory

Total time: 3 seconds
When I run ant, Ant complains that it cannot find "/usr/home/disappearedng/android-sdk-linux_x86-1.0_r1/tools/dx".

However, the location of this file is actually "/home/disappearedng/android-sdk-linux_x86-1.0_r1/tools/dx"

This is my .bashrc file

Code:
[disappearedng@192 ~/Desktop/Dev/Android_codes/Android]$ vim ~/.bashrc

#PATH environment variable for Xerces
PATH=$PATH:/home/disappearedng//Dev/MySQL-Connector-java/mysql-connector-java-5.1.6/mysql-connector-java-5.1.6-bin.jar:.;
export PATH

#PATH for xerces
PATH=$PATH:/home/disappearedng/Dev/XML_Parser/xerces-2_9_1/*.jar;
export PATH

#PATH FOR Android
PATH=$PATH:/home/disappearedng/android-sdk-linux_x86-1.0_r1/tools;
export PATH
Which I don't think there's anything wrong with my .bashrc file (I have sourced it many times already)

Does anyone know a quick fix?

THanks
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick, simple tcsh tips for beginners anomie Guides 9 6th November 2014 03:55 PM
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM
Networking: CLI quick reference anomie Other BSD and UNIX/UNIX-like 0 2nd October 2008 01:21 AM
Quick question about PHP script 18Googol2 Programming 2 21st September 2008 05:33 AM
quick question about optimizations in /etc/make.conf thevirtuesofxen FreeBSD Installation and Upgrading 7 15th July 2008 10:29 AM


All times are GMT. The time now is 10:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick