06-02-2010
It throws what error? That's kind of important.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
How can we call ant script in Unix shell script. My purpose is to call ant script which uses sql tag for getting connection to database and then run sql statements in the database. Once sql execution is over , it should then check its result for error and if ok , should then run the sql... (0 Replies)
Discussion started by: pankajkrmishra
0 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: ninadgac
4 Replies
3. Windows & DOS: Issues & Discussions
I am trying the below ANT telnet task:
<telnet userid="appldev" password="techm123" server="${BT_Server}">
<read>/u01/appldev/devappl/po/11.5.0/reports</read>
<!--write>cd /u01/appldev/devappl/po/11.5.0/reports/</write-->
<write>ls</write>
<read... (0 Replies)
Discussion started by: Dip
0 Replies
4. UNIX for Advanced & Expert Users
I installed java at usr/local/jdk directory. My Java Version is 1.6.0_05. I have installed apache ant version 1.8.1 in folder opt/ant successfully. And later on I have installed RED 5.0.9 final version at /opt/ant directory.
But I am getting error while building ant at RED5 , I got following... (1 Reply)
Discussion started by: ninadgac
1 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: naneee
5 Replies
6. Red Hat
Have no idea on what the below error message is:
Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist.
Any help? (3 Replies)
Discussion started by: gull05
3 Replies
ant(1) General Commands Manual ant(1)
NAME
ant - a Java based make tool.
SYNOPSIS
ant [OPTION]... [TARGET [TARGET2] [TARGET3] ...]]
DESCRIPTION
Like make, ant is a tool that can compile Java projects. But unlike it, ant is based on Java which means that it will run on every platform
that has a Java Virtual Machine. This makes it a great tool for building Java software.
By default it takes information from build.xml which describes the targets.
-help, -h
print help on the command line options
-projecthelp, -p
print project help information
-version
print the version information and exit
-diagnostics
print information that might be helpful to diagnose or report problems.
-quiet, -q
be extra quiet
-verbose, -v
be extra verbose
-debug, -d
print debugging information
-emacs, -e
produce logging information without adornments
-logfile <file>, -l <file>
use given file for log
-logger <classname>
the class which is to perform logging
-listener <classname>
add an instance of class as a project listener
-noinput
do not allow interactive input
-buildfile <file>, -file <file>, -f <file>
use given buildfile
-D<property>=<value>
use value for given property
-keep-going, -k
execute all targets that do not depend on failed target(s)
-propertyfile <file>
load all properties from file with -D properties taking precedence
-inputhandler <class>
the class which will handle input requests
-find <file>, -s <file>
(s)earch for buildfile towards the root of the filesystem and use it
-nice number
A niceness value for the main thread: 1 (lowest) to 10 (highest); 5 is the default
-nouserlib
Run ant without using the jar files from ${user.home}/.ant/lib
-noclasspath
Run ant without using CLASSPATH
-autoproxy
Java 1.5+: use the OS proxy settings
-main <class>
override ant's normal entry point
SEE ALSO
make(1) java(1) build.xml(5)
Mac OS X June 22, 2009 ant(1)