Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Ant in Sun One: problem

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Just started my new job. We are using Sun One v7 and have taken the Ant script from the 'jdbc' example that came with sun one. We are using it to build and deploy our web application.
The problem is that this script expects there to be EJBs. we do not have any. This is where our build files are:
\src-
-ejb\ (empty)
-jsp\ our jsp pages
-classes\- our other classes
-ejb-jar.xml, sun-ejb-jar.xml, application.xml, build.xml, sun-web.xml, web.xml
When we build we navigate to the src level and type 'asant'. Thus ant looks in ejb-jar.xml and sun-ejb-jar.xml and gets antsy because there are no 'ejb' nodes. How can I tell ant that we dont want any EJBs at all. Does anyone know how to amend the standard j2ee ant script? (sorry i have no experience with ant ).
thks
john
 
I can't take it! You are too smart for me! Here is the tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic