Sponsored Content
Operating Systems AIX checking the version revisions of a java file inside the ear using KSHELL in AIX. Post 302207076 by kareemaashik on Thursday 19th of June 2008 05:22:26 AM
Old 06-19-2008
checking the version revisions of a java file inside the ear using KSHELL in AIX.

consider on day1, in PVCS repository we have java files like a.java,b.java with version revision 1.0, through ANT build script we have compiled and created an ear,named c.ear in AIX build server.we have transfered this ear from build server to portal server through FTP using KSHELL.
consider on day2, in PVCS repository we have java files like a.java,b.java with a new version revision 1.1,As usual we have created an ear named c.ear,
1.is there any way to check the version revision of java file inside ear?

2.if we transfer c.ear from build server to portal server on day 2,can we able to check the version revisions of the java files inside the c.ear(day 2) by comparing with the c.ear(day 1) that already exists in portal server,through KSHELL script.

i am new to SHELL script, so please explain with the help of a script ASAP...
 

9 More Discussions You Might Find Interesting

1. Solaris

deploying .ear file Websphere

hi This may not be right question to ask on this forum, but I think people here can answer the question. Please give me details of steps/commands used in UNIX ( only command mode) for deploying an ear file on websphere. Thanks in advance, Ashish (2 Replies)
Discussion started by: ashish_uiit
2 Replies

2. Shell Programming and Scripting

replacing files in an EAR file after extracting

{Hello All, Here is what I am trying to do: I have an archive file: AppName.ear jar -tvf AppName.ear 60459 Thu May 01 09:29:36 EDT 2008 /SharedResources/Application/App.dat 67542 Thu May 01 09:29:36 EDT 2008 JDBCConn/Application/App.dat 14488 Thu May 01 09:29:36 EDT 2008 config.xml ... (0 Replies)
Discussion started by: chiru_h
0 Replies

3. UNIX for Advanced & Expert Users

Advanced Search * View * Edit JAVA version to WORK in GLASSFISH Forum topic JAVA version

Would like to confirm the ff. I got confused actually with the version I needed to download that will work on glassfish 3.0.1 a. Debian Squeeze (HP DL360). Need to use java version6 On Debian, I did apt-get install sun-java6-jdk. So when I check it's java version "1.6.0_22" Java(TM) SE... (1 Reply)
Discussion started by: lhareigh890
1 Replies

4. Red Hat

Repacking a file inside a java archive with nested .jars

Hello, I need to repack a file inside several java archives (nested .jar files) with or without overwrite. I am using a manual approach with mc, but it's painfully slow progress. For example I want to refresh a file deep inside a java archive (with nested .jar files): I have a java... (0 Replies)
Discussion started by: Laurentiu
0 Replies

5. AIX

Checking the command history file in AIX

Hello, The system has been rebooted and I need to see the commands executed in the system prior to restart by the oracle user.The history command is not showing me the commands executed prior to reboot. Please advise. Best regards, Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies

6. Shell Programming and Scripting

AIX UNIX (kshell) to Linux Shell Script Migration.

Hi, Could you please let me know what kind of changes/issues commonly occurs at Scripting /command level during AIX Unix (kshell) to Linux shell script migration. (24 Replies)
Discussion started by: Raghuraman.R
24 Replies

7. Shell Programming and Scripting

How to get CRC check sum of files in java EAR file without extracting .jar/.war files to disk.?

unzip -v gives CRC info of each file in a zip(in my case .EAR) file. # unzip -v my-application.ear Archive: my-application.ear Length Method Size Cmpr Date Time CRC-32 Name -------- ------ ------- ---- ---------- ----- -------- ---- 197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies

8. UNIX for Beginners Questions & Answers

How to increment version inside a file?

Hi All, I need to write a shell script which opens a file and increments the version(text) within the file every time the script runs. For example: $ cat docker_file.yml version: '3.1' services: ui: image: repo-srv.dev.io:5000/facebook/ui:0.0.2-QA1 $ So, I would like... (6 Replies)
Discussion started by: akshayupadhayay
6 Replies

9. Shell Programming and Scripting

Version checking

Hi everyone, I have binary file that call “app”, this file must be bind with “config file” to run. problem is I have 10 different version of “app”, in different path with different “config file”! This command show version of “app”: root ~: /home/user1/app -version 2.7 The only way... (30 Replies)
Discussion started by: indeed_1
30 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)
All times are GMT -4. The time now is 03:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy