grape(1) General Commands Manual grape(1)NAME
grape - inspection and management of the local grape cache used by Groovy
DESCRIPTION
usage: grape [options] <command> [args] options:
-D,--define <name=value>
define a system property
-d,--debug
debug log level 4 will print out full stack traces
-h,--help
usage information
-i,--info
info log level 2 will print out information
-q,--quiet
quiet log level 0 will print only errors
-v,--version
display the Groovy and JVM versions
-V,--verbose
verbose log level 3 will print verbose logs
-w,--warn
warn log level 1 will print only errors and warnings
COMMANDS
install <groupId> <artifactId> [<version>]:
This installs the specified groovy module or maven artifact. If a version is specified that specific version will be installed,
otherwise the most recent version will be used (as if '*' we passed in).
list: Lists locally installed modules (with their full maven name in the case of groovy modules) and versions.
resolve (<groupId> <artifactId> <version>)+:
This returns the file locations of the jars representing the artifcats for the specified module(s) and the respective transitive
dependencies. You may optionally pass in -ant, -dos, or -shell to get the dependencies expressed in a format applicable for an ant
script, windows batch file, or unix shell script respectively.
SEE ALSO groovy(1)AUTHOR
This manual page was generated using help2man and edited by Ludovic Claude <ludovic.claude@laposte.net>, for the Debian project (but may be
used by others).
July 2009 grape(1)
Check Out this Related Man Page
GROOVY(1) General Commands Manual GROOVY(1)NAME
Groovy - Agile dynamic language for the Java Virtual Machine
DESCRIPTION
usage: groovy [options] [args] options:
-D,--define <name=value>
define a system property
-a,--autosplit <splitPattern>
automatically split current line (defaults to 's')
-c,--encoding <charset>
specify the encoding of the files
-d,--debug
debug mode will print out full stack traces
-e <script>
specify a command line script
-h,--help
usage information
-i <extension>
modify files in place, create backup if extension is given (e.g. '.bak')
-l <port>
listen on a port and process inbound lines
-n process files line by line
-p process files line by line and print result
-v,--version
display the Groovy and JVM versions
COMMANDS
groovy:
Command to run a set of Groovy statements entered on the command line (with -e), or stored in a text file whose name is given on the
command.
example: groovy -e 'System.in.readLines().each { println it }'
groovysh:
Terminal-based interpreter for Groovy.
groovyConsole:
GUI interpreter for composing Groovy interactively.
java2groovy:
The java2groovy tool reads class and interface definitions, written in the Java programming language, and converts them into groovy
source files.
SEE ALSO groovyc(1)AUTHOR
This manual page was generated using help2man and edited by Varun Hiremath <varun@debian.org>, for the Debian project (but may be used by
others).
December 2007 GROOVY(1)
i have a script that uses an ant build.xml and its targets to pull a project from a cvs server, attempt to build the project, and then email me the results. When I run the script (either @ CLI or as a cron job) while I am logged in, everything works fine. However, if the script is set up to run... (5 Replies)
Hi There,
I have a script which finds for log files and removes them if the file has changed in the last day.
The script runs fine without errors. The log file is still there. So, I decided to print the find command and run the command outside the script. Getting "Incomplete statement"
Can you... (6 Replies)
Hi,
can I delate first line in a file without opening a file.
Normal unix "sed -i '1d' $path/cash.log" command is working fine, but my windows application not supporting latest version of sed, I also tried to download latest version of sed.exe but failed to find one.
I am in a process of... (10 Replies)
This is the file am having:
"40","1G1AL55 ",30482,9000
"40","1G1ZT58 ",29098,10600
"40","1G1AL15 ",29222,9400
"46","1G6KD57 ",3083,28400
"46","1G6KD57 ",27909,25200
"49","1G1ZU57 ",16391,13900
"49","1G2ZG58 ",28856,12400
I want to display the output in three files... (23 Replies)
Hi all,
I have the following shell script code which tries to sftp and writes the log into the log file.
TestConnection ()
{
echo 'Connection to ' $DESTUSERNAME@$DESTHOSTNAME
$SETDEBUG
if ]; then rm $SCRIPT ; fi
touch $SCRIPT
echo "cd" $REMOTEDIR >> $SCRIPT
echo "quit" >>... (10 Replies)
Hi ,
I am trying the following simple script . But it is always giving 1 output. Dont know why
#!/bin/sh
find . -name "a.log"
if ; then
echo "1"
else
echo "0"
fi
Kindly advice. it is giving 1 output even when the a.log file is not there (26 Replies)
I know that we can call system command to execute shell script in awk.
but it does not return the result of the command executed , but only returns
the value of the command executoin status ( 1/0 --> failure / success).
Could anyone let me know how to solve this problem. (9 Replies)
Hi Friends,
I have a .log file generated from a tool(Windows PC) which can be opened using a notepad, but when I tried to view the file in unix (cygwin on my laptop) the file type is showing as binary file, So I am unable to process the file.
I need to extract some of the selected text... (3 Replies)
Hello,
At my linux server I think there are 2 duplicate Apache Ant Installation
1) opt/ant
2) usr/local/ant
And whenever I tires to build ant using command 1)cd opt/ant 2) ant or 1)cd usr/local/ant 2) ant it shows error message "ant build failed"
Does it show above error due... (4 Replies)
Hi,
I am starting to do a log4j framework but with unix shell script. So, this framework, will create the log file, will put all info in there, and will close the log file.
He will only work whenever he is called by the father script.
Now, I want him to be able to work with different father... (6 Replies)
Hi Experts;
I am very new in Unix shell scripting. As part of my job, I have to write a script to delete the log file. Can anybody help me in unix scripting to delete the log file older than 30 days?.
Thanks
Thankbe (3 Replies)
Hi,
on unix box, under /local/home/userid/logs folder, apps generated the following files
sw_warn.log
sw_error.log
eaijava.log
if there any application specific errors, the above file will keep growing.
if the file exceed 5000000 bytes, I would like to have a shell script which do... (6 Replies)
Hello evryone,
I am looking for a way to print x line above and x line below ...
The idea is : I've got a little script that I am trying to make it universal to read debug log file.
I search for specific error value ( ERROR, Failed, NOK) and so on..., but most of the time... (7 Replies)
Hello,
I am trying to run ant from a shell script a.sh.
a.sh is placed in the /usr/myScripts folder
a.sh looks like
..........
${ANT_HOME}/bin/ant -myBuild.xml
While trying to run a.sh i am getting
/usr/modules/apache.ant_1.7.1 /bin/ant: No such file or directory.
Can anyone tel me... (5 Replies)
hi all, here is the sample log file and these errors are repeated in log file..
i need all the repeated time stamp ,severity and message tags needs to print in output file.. through shell script
<log-message>
<timestamp>2019-03-13T04:52:49.648-05:00</timestamp>
<severity>ERROR</severity>... (17 Replies)