I tried to deploy the MyBank from Chapter 1 and I got an error.
( http://www.tusc.com.au/tutorial/html/chap1.html )

This is the error message I got. 

*******************
....
deploy:
        [copy] Copying 1 file to E:\jboss-3.2.3\server\all\deploy
      [delete] Deleting: 
E:\tmp\eclipse-SDK-2.1-win32\eclipse\workspace\Test\MyBank\META-INF\MyBank.jar

deployTool:
         [ant] BUILD FAILED: 
file:E:/tmp/eclipse-SDK-2.1-win32/eclipse/workspace/Test/MyBank/META-INF/build.xml:64: 
java.io.FileNotFoundException: 
E:\tmp\eclipse-SDK-2.1-win32\eclipse\workspace\Test\MyBank\META-INF\deploy.xml (The 
system cannot find the file specified)
***********************************************

I think build.xml has some problem, but build.xml is generated by eclipse so i have no 
idea how to fix it.

Any ideas or suggestions ? Thanks in advance.



*************build.xml**************************
[project name="ejbModuleBuilder" default="ejbdoclet" basedir="."]

   [!-- Init --]
   [target name="init"]
      [property file="build.properties"/]
   [/target]

   [!-- Run EJBDoclet --]
   [target name="ejbdoclet" depends="init"]
          [ant antfile="xdoclet.xml" dir="." target="ejbdoclet"]
            [property name="ejb" value=""/]
            [property name="deploy.dir" value=""/]
        [property name="ejbsrc.dir" value="" /]
        [property name="bin.dir" value="" /]    
        [property name="project.dir" value="" /]    
        [property name="project.path" value="" /]    
          [/ant]
   [/target]


   [!-- Create EJB-JAR file --]
   [target name="ejb-jar" depends="init"]
          [delete file=".jar" /]
      [jar jarfile=".jar"]         
        [fileset dir="/"]   
           [include name="**/*.*"/]
        [/fileset]
        [fileset dir=".."]   
           [include name="META-INF/**/*.*"/]
           [exclude name="META-INF/beans.xml"/]
           [exclude name="META-INF/build.xml"/]
           [exclude name="META-INF/deploy.xml"/]
           [exclude name="META-INF/undeploy.xml"/]
           [exclude name="META-INF/build.properties"/]
           [exclude name="META-INF/ejbs.xml"/]
           [exclude name="META-INF/xdoclet.xml"/]
           [exclude name="META-INF/servers.xml"/]
           [exclude name="META-INF/targets.xml"/]
        [/fileset]
      [/jar]
   [/target]


   [!-- Deploy module to server ... --]
   [target name="deploy" depends="ejb-jar"]
      [copy todir=""]
         [fileset dir="." includes=".jar"/]
      [/copy]
      [delete file=".jar"/]
   [/target]

   [!-- Do server specific registration tasks - deploy.xml is specified in 
        the .server files and generated automatically. ... --]
  [target name="deployTool"]
          [ant antfile="./deploy.xml" dir="." target="deploy" inheritall="true"]
          [/ant]
  [/target] 
    
    
   [!-- Remove module from the server ... --]
   [target name="undeploy" depends="init"]
    [!-- Sometimes you can undeploy with deleting the module file but it is best dealt 
on an appserver basis
         at undeployTool target --]
   [/target]
   
   [!-- Do server specific remove tasks - undeploy.xml is specified in 
        the .server files and generated automatically. ... --]
   [target name="undeployTool" depends="init"]
          [ant antfile="./undeploy.xml" dir="." target="undeploy" inheritall="true"]
          [/ant]
   [/target] 
  
[/project]
**************************************

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827253#3827253";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827253>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to