• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Build using ANT script?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new ANT scripting. Now I have a requirement for creating ANT script for ear creation.I am using the IDE RSA. I have two projects in RSA.and from the IDE I will export it as ear. Now I want to generate this ear by using ANT script.
These are the projects I have

1.eCADWebEAR -This contains META-INF (was.policy,application.xml) folder only (This project, I will right click and export it as ear)
2.services_bte_ecad (This is a struts based project,containsjsp,java, and I have no EJBs)

Really appreciated the immediate help !
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mittu,
Welcome to CodeRanch!

Your Ant script needs to create a war for project 2 before creating the ear for project 1. And before that you probably want the Ant script to compile the web project.

Give it a shot. Can you write the Ant code to compile the web project? Post what you get up to and where you get stuck (and what error message or problem you have at that point.) Then we will have something more concrete to help with.
 
reply
    Bookmark Topic Watch Topic
  • New Topic