8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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. Programming
I have a script I am trying to test and run but it runs against a jar file. I wrote an external property file so it would redirect with my script, but it keeps going in search of the previous property file. Is there any way to externally over write the jar file and if not how do you go about... (7 Replies)
Discussion started by: risarose87
7 Replies
3. Shell Programming and Scripting
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. Shell Programming and Scripting
Hi Folks
I came up with peculiar requierement ..:)
I have to jar special files types only from a number of child folders , and also exactly same as the child file path...sorry i will give an example
suppose i have following folder structure
# cd HTML/
total 0
drwxrwxr-x 2... (1 Reply)
Discussion started by: johnycage
1 Replies
5. Solaris
Hello everybody,
I intended to use Apache 2 first time on my S10 U7 box. But the package (V2) is not ok for the developpers and they need 2.2.12 somehow. I removed Apache 1.3 and installed 2.2.12 with the stream package which I downloaded from Sunfreeware.com
It's running perfectly if I start... (2 Replies)
Discussion started by: shadowfaxxxx
2 Replies
6. Shell Programming and Scripting
ghkjkjoj (4 Replies)
Discussion started by: chetankelvin
4 Replies
7. UNIX for Dummies Questions & Answers
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. Solaris
Hi,
I have created a service referring the below link.
https://www.unix.com/tips-tutorials/32987-creating-solaris10-service.html
Now am able to import and enable the service.
I have placed my xml file under
/var/svc/manifest/site
The service name is
<service
... (3 Replies)
Discussion started by: kalpeer
3 Replies
MAVEN(1) User Commands MAVEN(1)
NAME
Maven - Creates a link from a jar already installed in /usr/share/maven-repo.
SYNOPSIS
mh_linkrepojar [option]... [pom] [link]...
DESCRIPTION
Create symlinks from the jar in the Maven repository to any location, usually to a file located in /usr/share/java.
Where
[pom] is the location of the POM associated with the jar to install.
GroupId, artifactId and version will be extracted from this file.
[link] is a link to the jar to install, usually there should
be a link to usr/share/java/$jar.jar and usr/share/java/$jar-$version.jar to comply with the Java packaging guidelines. Note that
there is no need to specify those particular links if the --java-lib option is used.
OPTIONS
-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: package to act on
-r<rules> --rules=<rules>: gives the location of the rules file for
special properties. Optional, the default location is debian/maven.rules
-c<classifier> --classifier=<classifier>: Optional, the classifier for
the jar in the Maven repository. Empty by default.
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results
Maven Repo Helper version 1.7.1 January 2012 MAVEN(1)