build scrip ant script java j2ee
Hi guys. let us discuss about build script for any java-j2ee project .Developing build scrip will be very fun and interesting.. Hope you will enjoy this ..
Let us start from basis. A typical j2ee project will be deliver in .ear or .jar format. Here we will discuss both cases
.ear - will work as pack to cover the .jar and .war file
As an example let us deliver a .ear file which contains one .jar(this contains ejb and normal class) and one .war(this contains jsp and normal class,property files etc)
Developing tools:
Ant - latest version (install ant in local machine or server)
WSAD/eclipse/RAD - any development tool will be fine
Steps to develop build script
--will continue
Hi guys. let us discuss about build script for any java-j2ee project .Developing build scrip will be very fun and interesting.. Hope you will enjoy this ..
Let us start from basis. A typical j2ee project will be deliver in .ear or .jar format. Here we will discuss both cases
.ear - will work as pack to cover the .jar and .war file
As an example let us deliver a .ear file which contains one .jar(this contains ejb and normal class) and one .war(this contains jsp and normal class,property files etc)
Developing tools:
Ant - latest version (install ant in local machine or server)
WSAD/eclipse/RAD - any development tool will be fine
Steps to develop build script
- Get a clean build project using your development tool (WSAD,RAD etc)
- Make sure all dependent jar are in right position
- Structure of the final product
- myproject.ear
- myejb.jar
- ejbfiles
- java classes
- myweb.war
- WEB-INF
- classes
- properties
- depended jar which used across jar and war
- META-INF
--will continue