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)
Hi, I need help again. When I run this shell script, it only runs the unld_date.sql piece and exits. How can I structure this to run all the way to the end? When I don't have the unld_date.sql piece in here, everything runs fine from the date compare piece all the way to the end. Thanks in... (5 Replies)
I have made some code changes in the corresponding java file for date formatting purpose so that it supports upgraded sybase version from 12.6 to 12.7 and have build the code and deployed using the following UNIX commands.
ant build
ant deploy.
"ant build" executes the build.xml which is... (1 Reply)
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)
Hello,
I'm currently trying to port an ant based build to AIX 6.1. The build queries the underlying version control system (Mercurial) for some data, which works fine on other platforms (Linux, Solaris). However, on AIX the hg command fails to load python's md5 module when used in the build,... (1 Reply)
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
LEARN ABOUT DEBIAN
ant
ant(1) General Commands Manual ant(1)NAME
ant - a Java based make tool.
SYNOPSIS
ant [OPTIONS] [TARGET [TARGET2 [TARGET3] ...]]
DESCRIPTION
Like make ant is a tool by which projects can be build. But unlike it, ant is based on Java which means it will run on every platform for
which a Java Virtual Machine is available. 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
-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
-lib <path>
specifies a path to search for jars and classes
-logfile <file>
use the given file to output log to
-logger <classname>
use the given class to perform logging
-listener <classname>
add an instance of the given class as a project listener
-noinput
do not allow interactive input
-buildfile, -file, -f <file>
use the given buildfile instead of the default build.xml file. This is the ant equivalent of Makefile
-D<property>=<value>
use value for the given property
-keep-going, -k
execute all targets that do not depend on failed target(s)
-propertyfile <name>
load all properties from file with -D properties taking precedence
-inputhandler <class>
the class which will handle input requests
-find, -s <file>
search 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 proxies
-main <class>
Override Ant's normal entry point
SEE ALSO make(1)mvn(1)AUTHOR
This manpage is written by Egon Willighagen <egonw@sci.kun.nl>
Debian GNU/Linux Feb 2010 ant(1)