Functionality of ant build and ant deploy unix commands


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Functionality of ant build and ant deploy unix commands
# 1  
Old 06-02-2010
Functionality of ant build and ant deploy unix commands

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 present in the pkgs/roots/nadw/src/adw/make path. This cleans the old jar files and generates new jar files with proper class files (including code changes) and overrrides in the path pkgs/roots/nadw/prd/java/lib.
After that "ant deploy" command is executed.

All commands executed successfully but the jar files are found not overrridden and it is also corrupt which is a mystery.

NOTE: Before doing code changes all the services are brought down and after the code changes we restart the server.

The procedure we followed in development and testing servers. But it worked fine. In production it throwed error.
# 2  
Old 06-02-2010
It throws what error? That's kind of important.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

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

2. UNIX for Dummies Questions & Answers

Problem in running ant on unix

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

3. UNIX for Advanced & Expert Users

Error with ANT build for red5

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

4. Windows & DOS: Issues & Discussions

ANT: Telnet is not working

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

5. UNIX for Dummies Questions & Answers

How to detect and uninstall apache ant ?

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

6. Shell Programming and Scripting

Ant & Unix

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
Login or Register to Ask a Question