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)
I want to test if script.sh is being run with nohup ... but $0 does not contain nohup part...
purpose: script.sh should only be ran with nohup if user forgets nohup then it should echo "run with nohup" && exit....... (2 Replies)
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Hi, I have written a script and placed in an application and the script can be executed manually only. But somehow one of the method in the script is being called and bringing the application down. But we are not able to find any instance of script running.
Is there a way to findout whether the... (1 Reply)
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)
Hi,
I have a script that finds the application logs from the previous day and sends it to another server via ftp.
The code is something like this:
yest_date=`TZ=CST+24 date "+%b %d"`
logdir=/app/logs
logs=app*.log
tmpdir=/tmp
cd $logdir
for i in `ls -1 $logs`
do
chkstr=`ls -1l $i | grep... (2 Replies)
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
Hi all,
I am not sure whether this is the right place to ask this question...:)
I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another.
When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
asant(1M) Application Server Utility asant(1M)NAME
asant - launches the Jakarta Ant tool
SYNOPSIS
asant target_list
Use the asant command to automate repetitive development and deployment tasks. asant is a shell script that invokes the underlying Ant in-
frastructure after initializing the environment to pickup the application server installed targets.
To use Ant as part of the Sun ONE Application Server, verify that your PATH includes the provided asant (Solaris) ant.bat(Windows) script.
The bundled sample applications use asant extensively; however, asant can be used in any development or operational environments.
The build targets are represented in the build.xml files that accompany the sample applications.
To use the Ant tool to compile and reassemble the sample applications, verify that the $AS_INSTALL/bin directory is on your environment's
path. On UNIX, add the $AS_INSTALL/bin directory to your PATH environment variable. On Windows, after installing the Sun ONE Application
Server, set the system path by adding $AS_INSTALLin to the user PATH. You can access the PATH system variable from: Start menu, Settings,
Control Panel, System, Advanced, Environment Variables, User Variables for Administrator, PATH.
The target_list is one or more space separated tasks as described below.
TARGETS
compile compiles all Java source code.
jar assembles the EJB JAR module.
war assembles the WAR file in <sample_dir>/assemble/war
ear assembles the EAR file in <sample_dir>/assemble/ear
core (default) compiles all sources, builds stubs and skeletons; and assembles EJB JAR, WAR and EAR files. This is the
default target for all build.xml files shipped in the Sun ONE Application Server.
javadocs creates Java docs in <sample_dir>/javadocs
all builds core and javadocs , verifies and deploys the application, and adds the resources..
deploy deploys the application and automatically expands the EJB JAR; does not install Javadocs.
undeploy removes the deployed sample from the Sun ONE Application Server.
clean removes <appname>/build/ and <appname>/assemble/ and <appname>/javadocs directories.
verify verifies the deployment descriptors in the sample.
Example 1: Compiling and Assembling a Sample Application
Using the simple stateless EJB sample as an example, execute several of the build targets as follows:
cd install_root/samples/ejb/stateless/simple/src
Execute the compile target to compile the Java sources as follows:
asant compile
Execute the war, ear, and ejbjar target to assemble the J2EE module files and the EAR file as follows by:
asant jar
asant war
asant ear
Alternatively, all the above tasks can be accomplished by:
asant core
Since the default build target is core you can execute asant without any arguments to rebuild the entire application.
Example 2: Building Web-based Applications
You can build everything, including installing Javadocs, and deploying the application by:
asant all
Additionally, you can build everything, except the Javadocs, but deploy the application by:
asant core
or just,
asant
then,
asant deploy
To rebuild the ear after you have modified the deployment descriptors without recompiling:
asant ear
asant deploy
Apache Software Foundation at http://www.apache.org, Jakarta Ant documentation at http://jakarta.apache.org/ant/index.html.
SUNWant documentation located in /usr/sfw/share/doc/ant
, asadmin(1M)Sun Java System Application Server March 2004 asant(1M)