ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilango_g <ilango...@yahoo.com>
Subject trouble deploying using build.xml - <ant dir="${ejb.dir}" target="all" >
Date Sun, 16 Nov 2008 21:56:16 GMT

I have a Java project in Eclipse and I am trying to build and deploy the
project. Unfortunately my build.xml is failing  with two errors.

Buildfile: C:\Users\i\workspace\RREJB\build.xml
clean:
cleanall:
     [echo] ##### Cleaning common #####
clean:
   [delete] Deleting directory C:\Users\i\workspace\RREJB\common\build
     [echo] ##### Cleaning ejb #####
clean:
   [delete] Deleting directory C:\Users\i\workspace\RREJB\ejb\build
     [echo] ##### Cleaning webapp #####
clean:
compile:
     [echo] ##### Building common #####
clean:
compile:
    [mkdir] Created dir: C:\Users\i\workspace\RREJB\common\build
    [mkdir] Created dir: C:\Users\i\workspace\RREJB\common\build\classes
    [javac] Compiling 7 source files to
C:\Users\i\workspace\RREJB\common\build\classes
jar:
    [mkdir] Created dir:
C:\Users\i\workspace\RREJB\common\build\distribution
      [jar] Building jar:
C:\Users\i\workspace\RREJB\common\build\distribution\common.jar
all:
     [echo] ##### Building ejb #####
clean:
compile:
    [mkdir] Created dir: C:\Users\i\workspace\RREJB\ejb\build
    [mkdir] Created dir: C:\Users\i\workspace\RREJB\ejb\build\classes
    [javac] Compiling 1 source file to
C:\Users\i\workspace\RREJB\ejb\build\classes
build-ejb-jar:
    [mkdir] Created dir: C:\Users\i\workspace\RREJB\ejb\build\distribution

BUILD FAILED
C:\Users\i\workspace\RREJB\build.xml:69: The following error occurred while
executing this line:
C:\Users\i\workspace\RREJB\ejb\build.xml:56:
C:\Users\i\workspace\RREJB\ejb\META-INF not found.

Total time: 2 seconds
------

Any assistance in helping me spot the error in my build.xml is appreciated.
Should I post the build.xml or should I simply upload it here?



-- 
View this message in context: http://www.nabble.com/trouble-deploying-using-build.xml---%3Cant-dir%3D%22%24%7Bejb.dir%7D%22-target%3D%22all%22-%3E-tp20530578p20530578.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message