Altering a jar file


 
Thread Tools Search this Thread
Top Forums Programming Altering a jar file
# 8  
Old 03-17-2014
Copy the file to another computer, edit it, copy it back.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Getting the version from jar file

Hi, I am trying to retrieve the "Implementation version" from one of the .jar file The command which tried is as below. find /usr/local/platform -name "platform.jar" -exec zipgrep "Implementation-Version:" '{}' \;|awk -F ': ' '{print $2}'I am able to get the version as below 2.9.0-29But... (2 Replies)
Discussion started by: nextStep
2 Replies

2. Shell Programming and Scripting

Altering a variable

Can I take an argument input, lets say it's, hg0000_xy1_v2, in the script it becomes f ... then hack off the end of the filename to change the variable to hg0000 only. I tried using sed but can't figure it out. f="$f" | sed 's/_fg_v//' I could change the variable label if necessary to... (4 Replies)
Discussion started by: scribling
4 Replies

3. Shell Programming and Scripting

Want to write all the jar name in single with delimiter ":" in beween the jar name

Hi All, I am having 7 jar files in a dir. abc like listed below bash-3.00$ cd abc bash-3.00$ ls 123.jar 23wdawd.jar dfsa23.jar dsa.jar wew234.jar adsd234234.jar dfsda423.jarNow i want to assign all this jar files to a variable in the below format ... (6 Replies)
Discussion started by: natraj005
6 Replies

4. Programming

How can this jar file open pdf ??

OKay so my question is that how does this jar file convert something in there and show pdf when open it? I don't get how it works. Can someone explain to me. I have a link below, in there will be a file call Tools, and please open the file called "PQ10-sample" it will automaticly open up a pdf as... (11 Replies)
Discussion started by: tonyduong15
11 Replies

5. Ubuntu

Add external Jar file

Hi, how to add external jar file in jsp application on eclipse. Thanks SN:confused: (0 Replies)
Discussion started by: snallusami
0 Replies

6. UNIX for Advanced & Expert Users

how to read a file inside jar

how to read the text file inside the jar without extracting jar. (3 Replies)
Discussion started by: karthikn
3 Replies

7. UNIX for Dummies Questions & Answers

down in JAR file

Hello sir, I have created a jar file having some code in java.What it does is that it calls a shell code (a.sh) which is in the same directory. Now my requirement is that I want to jar the a.sh also along with the other files and want to call the a.sh which is now inside the jar file and not... (1 Reply)
Discussion started by: nsharath
1 Replies

8. Shell Programming and Scripting

Search inside a Jar file..

Hey Guys, I need to search inside all the jar files of my directory for a specific string. Can anyone guide me as to how i can do it. I need this urgently please. More specifically i need to search for a class file name in the jar files. Thanks in advance :-) (4 Replies)
Discussion started by: srikumar_cs
4 Replies

9. Shell Programming and Scripting

Jar File Search!

Hi vgersh99, Iam sorry for that. In future, I will start new threads for different topics. Assuming that we don't know what the name of the jar file, we are searching for is, do we have any way, of finding a string or a file in it. Is there any Unix command for it? thanks. (2 Replies)
Discussion started by: pjanakir
2 Replies
Login or Register to Ask a Question
PCP(1)							   http://synce.sourceforge.net/						    PCP(1)

NAME
pcp - copy files SYNOPSIS
pcp [-d LEVEL] [-p DEVNAME] [-h] [:]SOURCE [[:]DESTINATION] DESCRIPTION
pcp copies a file on a device connected through SynCE or between a device connected through SynCE and host PC. Forward slashes ('/') in remote file names specified on the command line are converted to backward slashes (''). This tool must be run as the same user as the dccmd daemon. OPTIONS
-r Copy directories recursively. -d LEVEL Set debug log level: 0 - No logging (default) 1 - Errors only 2 - Errors and warnings 3 - Everything -p DEVNAME Use the device with the given name, instead of the default. -h Display help message. [:]SOURCE Full path to the source filename. When the filename is prefixed with a colon (':'), it will be treated as a remote filename, other- wise as a local filename. [:]DESTINATION Full path to the destination filename. When the filename is prefixed with a colon (':'), it will be treated as a remote filename, otherwise as a local filename. If this parameter is omitted and the source filename is local, the local file will be copied to a file with the same name in the "My Documents" directory on the device connected through SynCE. If this parameter is omitted and the source filename is remote, the remote file will be copied to a file with the same name in the current directory. EXAMPLES
Copy a file from host computer to remote device: pcp download/game.cab ":/Temporary Files/game.cab" Copy a file from remote device to host computer: pcp ":/My Documents/snore.wav" /tmp/snore.wav Copy a file from host computer to remote device into the "My Document" folder - you can leave off the last parameter: pcp "work/mytext.txt" Copy a file from remote device to host computer into the current directory - you can leave off the last parameter: pcp ":/My Documents/snore.wav" Copy a file from one location on the remote device to another: pcp ":/My Documents/important.pwi" ":/My Documents/important.backup.pwi" AUTHOR
This manual page was written by David Eriksson <twogood@users.sourceforge.net>. SEE ALSO
synce(1) pcp(1) pls(1) prm(1) pmkdir(1) prmdir(1) The SynCE project November 2002 PCP(1)