Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes UNIX/tar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "UNIX/tar file" Watch "UNIX/tar file" New topic
Author

UNIX/tar file

divya madala
Ranch Hand

Joined: Jan 10, 2001
Posts: 61
Hi All,
Inorder to move a java project thats already compiled on eclipse, I chose export and converted as a Jar file and then to tar file.
Now when I moved the tar file to UNIX box, and did a xvf on it, why am I not able to see the directory structure? What I want to do is go to "src" folder where my code is supposed to be present and edit the code that I developed before.
Thanks,
Divya
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

If you went to a JAR file then to a TAR file, you would need to untar then unjar before you can see the directory structure. That is if I am understanding you correclty. Why are you taking a JAR to a TAR anyway?


GenRocket - Experts at Building Test Data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UNIX/tar file
 
Similar Threads
Difference between Linux and other flavored Unix (AIX, Solaris, HPUX)
Not able to install Eclipse in UNIX
.jar uses what format
Implement JAAS in Struts
TOMCAT setup on HP