I created new java project in eclipse using existing ant build file. When I
am trying to build, it is giving me error:
Buildfile: /home/tushar/MyWorkspace/joda-time/build.xml
init:
[echo] -------- joda-time 2.1 --------
getjunit:
installjunit:
[echo] Installing junit in
/usr/lib/eclipse/plugins/org.apache.ant_1.7.1.v20090120-1145/lib
[copy] Copying 1 file to
/usr/lib/eclipse/plugins/org.apache.ant_1.7.1.v20090120-1145/lib
*BUILD FAILED*
*/home/tushar/MyWorkspace/joda-time/build.xml:157: Failed to copy
/home/tushar/MyWorkspace/joda-time/lib/junit-3.8.2.jar to
/usr/lib/eclipse/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/junit-3.8.2.jar
due to java.io.FileNotFoundException
/usr/lib/eclipse/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/junit-3.8.2.jar
(Permission denied)*
It seems build.xml is trying to copy jar file in /usr/lib/ thats why it is
getting failed. Any idea how to modify build.xml? Currently I am trying
to solve this error.
from terminal build is happening using ant command but if I change any java
source file and then building using ant on terminal then it is
not detecting that change.
Please let me know if I need to change something here.
On Fri, May 25, 2012 at 12:03 PM, Tushar Mehta <mehta...@gmail.com> wrote:
> Hi,
>
> I am trying to build joda-time but I am not getting how I can do it. I
> need to make it runnable in eclipse.
> Any help or reference I can have on it?
>
> - Tushar
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest