Regarding building joda-time

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Regarding building joda-time

Tushar Mehta
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/joda-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Regarding building joda-time

Tushar Mehta
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 <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/joda-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Regarding building joda-time

Gaurav Arora

I’m just guessing here but I think you need to give the user ‘tushar’ write permissions to /usr/lib/eclipse/plugins.

 


From: Tushar Mehta [mailto:[hidden email]]
Sent: Monday, May 28, 2012 12:20 PM
To: [hidden email]
Subject: Re: [Joda-interest] Regarding building joda-time

 

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 <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/joda-interest
Loading...