This discussion is archived
6 Replies Latest reply: Oct 6, 2009 4:50 AM by 843807 RSS

Build EJB3 application

843807 Newbie
Currently Being Moderated
I tried doing a sample ejb3 application by following a step by step process. JSF-EJB3-Glassfish-Netbeans
It ran fine.
But when i tried to import & build the same application in another computer, the BUILD failed:
C:\Workspace\sample1\nbproject\build-impl.xml:105: The following error occurred while executing this line:
Target "dist-ear" does not exist in the project "sample1".
BUILD FAILED (total time: 0 seconds)

The build.xml (a snippet) goes as below:
<target depends="init" name="deps-jar" unless="no.deps"/>
<target depends="init" name="deps-j2ee-archive" unless="no.deps">
<ant antfile="${project.sample1-ejb}/build.xml" inheritall="false" target="dist-ear">
<property location="${build.dir}" name="dist.ear.dir"/>
<ant antfile="${project.sample1-war}/build.xml" inheritall="false" target="dist-ear">
<property location="${build.dir}" name="dist.ear.dir"/>

The error is at line "<ant antfile="${project.sample1-ejb}/build.xml" inheritall="false" target="dist-ear">"

Has anyone come across this eror? PLease suggest a solution.
  • 1. Re: Build EJB3 application
    843807 Newbie
    Currently Being Moderated
    [Ohio State Women's Swimming and Diving|]
    [Runn Club Training Diary|]
    [Stockton Ladies Hockey Club|]
    [Alamo City Paintball and Pipe Creek Paintball Field|]
    [Passjams League|]
    [Augustana Men's Basketball|]
    [McKinney Marshals|]
    [Alpine Arabians|]
    [Elko Express|]
    [GISA Stats|]
    [Slate Belt Fantasy Football League|]
    [Candlewood Valley Country Club and Golf Course|]
    [International Martial Arts Management Systems|]
    [Cal Coast Track Club|]
    [United Pullers of the Carolinas|]
    [Glory View Ranch|]
    [Tennessee Ravens Baseball Club|]
    [CFB Halifax Curling Club Junior Program|]
    [Newport - Digman Cricket Club|]
  • 2. Re: Build EJB3 application
    843807 Newbie
    Currently Being Moderated
    [Manor Park Rugby Football Club|]
    [American Quarter Horse Youth Racing Program|]
    [University of Wisconsin-Parkside - Women's Track and Field|]
    [Bluffton College Women's Tennis|]
    [TVS Boomerangs|]
    [West Coast Football Association|]
    [Club Deportivo Washinkai Karate|]
    [Golf Travel Info|]
    [Fairberry Farm|]
    [Collegium Cosmicum Ad Buxeas|]
    [USA Today - Grambling State Lady Tigers|]
    [Edgewood College Men's Basketball|]
    [Top Shelf Fantasy Hockey League|]
    [Myofu An Bujutsu Dojo|]
    [S-kimos Ski Club|]
    [Allegheny College - Women's Track and Field|]
    [CR Arabians|]
    [Northwest Cyclocross Calendar|]
    [The Gonzo Page|]
    [The Bethel Inn|]
    [ATV Pathfinder|]
    [Temecula Valley Soccer Association|]
    [San Jose Japan Karate Center|]
    [Marveena Wells|]
    [Welsh Fencing|]
    [Hockey Nova Scotia|]
    [Non Wing Sprint Car Central|]
    [University of Notre Dame - Women's Track and Field|]
    [International Amateur Open|]
    [Dallas Stars Rule|]
    [Whitworth 5k Racing|]
    [Canoeing The Grand|]
    [Green Gators Baseball|]
    [Cold Spring Kayak Club|]
    [El Silencio Farm|]
    [Fort Hays State Tigers|]
    [Westlecot United Football Club|]
  • 3. Re: Build EJB3 application
    843807 Newbie
    Currently Being Moderated
    [Ringette Rocks|]
    [Caduceus Farms|]
    [Chi Running|]
    [Taltan Ranch|]
    [Hot Shots Indoor Paintball!|]
    [Cycle touring in Alps and Pyrenees|]
    [Bob Owens Quarterhorses|]
    [Nate Dawg's Ohio State Football Fanatic|]
    [Alaska Ultra Sport|]
    [Sussex County Golf Union|]
    [Football Italia|]
    [Sussex Manchester City Fans|]
    [Canada Hayashi Dojo|]
    [Gourock Curling Club|]
    [Mercyhurst College Women's Lacrosse|]
    [Thurrock Swimming Club|]
    [Intramural Pickleball Rules|]
    [George Young Recreational Complex|]
    [Velez Kenpo Karate|]
    [Sarah Fisher|]
    [Buffalo PRCA Championship Rodeo|]
    [Mequon Soccer Club|]
    [Kansas Arabian Horse Society|]
    [Greenvale Grizzlies Basketball Club|]
    [Purdue Intercollegiate Polo Club|]
    [Colby College Cycling Club|]
    [A Horse of Course|]
    [Cuba Volleyball|]
    [San Diego Golf Academy|]
    [New York Collegiate Athletic Conference Men's Cross Country|]
    [Bike Trips for Teens|]
    [Palm Beach Hash House Harriers|]
    [Redruth RFC|]
    [Bath City Bistro|]
    [Albany Outdoor Paintball|]
    [University of Colorado Fencing Club|]
    [Newton Orient Football Club|]
    [Saddlers Message Forum|]
    [Central Christian College Baseball|]
    [The University of Bristol Boat Club|]
    [Kevin Dobson 929|]
    [Fly Me To The Moon|]
    [Linda Mastandrea|]
    [Find a Tennis Partner - UK|]
    [Cal Poly Pomona Equestrian Team|]
    [AimHigh Sports Memorial Classic|]
    [Friar Lane and Epworth|]
    [NL Synchro|]
    [Oregon Paintball|]
    [NSAT Airsoft SOG|]
    [BBC SPORT | Jon Dahl Tomasson|]
    [Thistledown Farm|]
    [Suffolk Horse Society|]
  • 4. Re: Build EJB3 application
    843807 Newbie
    Currently Being Moderated
    [The Bristol Referees' Association|]
    [Moo Duk Kwon TaeKwondo|]
    [North Queensland Ki Society Aikido|]
    [Malibu Park Pony Stud|]
    [Brigham Young University  Men's Golf|]
    [University of New Mexico Baseball|]
    [F1 Play|]
    [Alain Baxter - The Highlander|]
    [English Football Grounds|]
    [Tathra Beach Bowling Club|]
    [Delaware Valley Hockey League|]
    [North Side Baseball|]
    [Pazzo Velo|]
    [Fair Croft Stables|]
    [Illinois Reining Horse Association|]
    [Dragon Golf|]
    [Il Kum Kwan|]
    [Moeller Crusader Ice Hockey|]
    [Anchorage Bucs|]
    [Silverbridge Kayak Club|]
    [Sparks Farm|]
    [NASCAR Pictures|]
    [Pro Football Critics|]
    [CFB Halifax Curling Club Junior Program|]
    [Ski Racing Magazine|]
    [Victory Lane Online|]
    [Tottenham Hotspur Supporters' Trust|]
    [Chris Sendall's home page|]
    [Planet Fulham FC|]
    [North Durban Hash House Harriers|]
    [Albena Football Consultancy|]
    [Sports Fitness Advisor|]
    [Sullivan Striders Club|]
    [New England Small College Athletic Conference - Track and Field|]
    [Roger Neilson's Hockey Camp in Israel|]
    [San Diego Youth Football Fund|]
    [Cindy and Da Boyz|]
  • 5. Re: Build EJB3 application
    843807 Newbie
    Currently Being Moderated
    [The Humble Warriors|]
    [Philadelphia Fever|]
    [Burton Joyce Football Club|]
    [Fred McGriff|]
    [Conestoga College Men's Hockey|]
    [Triple Crown Custom|]
    [Daventry Rugby Football Club|]
    [Southend United VitalFootball|]
    [CFGAA Girls' Basketball and Softball|]
    [Droitwich RFC|]
    [Abbey National Karting Club|]
    [Matt Lottich Life Skills Camp|]
    [Colchester and East Essex Football League|]
    [Billings Outlaws|]
    [Green Mountain Division|]
    [Hickmans Kickboxing Karate Academy|]
    [Raceland Go Kart Track|]
    [Mississippi Dirt Forum|]
    [Athy Golf Club|]
    [Hooptown Basketball|]
    [FC Bayern M??nchen|]
    [Cabarete Kiteboarding|]
    [Sioux City Bandits|]
    [Perthshire Mountain Bikes|]
    [Clifton Park Soccer Club|]
    [NVA British Veterans Fencing|]
    [Athletic Club|]
    [When skys are blue|]
    [Do It Downhill|]
    [Headless Horseman Endurance Ride and Drive|]
    [Renwaku Bujutsu Association|]
    [Vital Football Premiership|]
    [Kennet Andersson|]
    [The Grange Golf Club|]
    [Irish Football Online|]
    [Hunley Hall Golf Club and Hotel|]
    [Northern Kentucky Mavericks|]
    [FANS against JEFF GORDON|]
    [APS Bowling|]
    [Cambridge Fencing Clubs|]
    [Skateboarding Place|]
    [Samuel Saidel-Goley|]
    [Marlborough Badminton Club|]
    [Chen Family Taijiquan|]
    [Williams Lake Ski Center|]
    [Hakkoryu So Hombu Dojo|]
    [The American Cuemakers Association|]
    [Capital Area Water Ski Club|]
    [Kelawar Cricket Club Malaysia|]
    [New London Country Club|]
    [Joints in Motion|]
    [USA Today - Miami Hurricanes|]
    [Yorkshire Squash Rackets Association|]
    [The Autocross Forum|]
    [University of Texas at Austin|]
    [Top 20 Volleyball|]
    [Swords Manor Football Club|]
    [North Pole Arctic Marathon|]
    [Epic Org|]
  • 6. Re: Build EJB3 application
    843807 Newbie
    Currently Being Moderated
    [Coleshill United|]
    [Walkablock Club of America|]
    [Stevenage Swimming Club|]
    [The Outlaw Saloon Summer Rodeo Series Online|]
    [Finding a Roller Skating Rink|]
    [USA Martial Arts|]
    [Lawn Bowling Greens|]
    [Carson-Newman College Women's Softball|]
    [Spokane Indians|]
    [Beach Soccer Online|]
    [Ryton Rugby Club|]
    [Robert Burwell|]
    [Oregon Tug of War Club|]
    [Warrington and District Football League|]
    [Oxford Mail Boys Football League|]
    [Northwestern University|]
    [Columbus Capitals Women's Ice Hockey|]
    [The Meapa Gymnastic Club|]
    [International Skiboard Federation|]
    [Pittsburgh Recreational Paintball|]
    [Timberline Resort|]
    [Rainbow Equine Farms|]
    [McNeese State University Tennis|]
    [Northern Eagles|]
    [Kodai No Bushido Dojo|]
    [Ao Denkou Kai International|]
    [Sacred Hoops|]
    [Whitworth College Women's Softball|]
    [Amber Neben|]
    [Alyosha's Page|]
    [Houston Baptist University Men's Basketball|]
    [Just for Coaches|]
    [Airdrie and District Soccer Association|]
    [Arabian Horse Association of Michigan|]
    [Arklow Golf Club|]
    [Prairie Rose Welsh|]
    [Texas Region|]
    [Pacific Weightlifting Association|]
    [Habibi Arabians|]

    [The Sports Attic|]
    [Albright College Men's Cross Country|]
    [Great Lakes Downs|]
    [University of Hartford Baseball|]
    [All About Mary Pierce|]