Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
How do I use ejbDeploy outside of RAD

How do I use ejbDeploy outside of RAD

2006-11-02       - By Branden Kolb
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

I have recently written a build script using Ant for one of our projects
that is run from within RAD.  One of the targets uses the <ejbDeploy> task
in the following manner:

               <ejbDeploy EJBProject="<project_name>" IgnoreErrors="true"
/>

I want to be able to run the Ant script from a DOS window.  However, when
I do, and it gets to the ejbDeploy task, I get the following:

BUILD FAILED
C:Build\Build.xml:37: The following error occurred while executing this
line:
C:Build\Build.xml:26: The following error occurred while executing this
line:
C:\workspace\build_standalone.xml:344: Could not create task or type of
type: ejbDeploy.

Can someone tell me if it's possible to use the ejbDeploy task this way,
and, if so, how would I do it?

On a similar note, is there anyway to use the <eclipse.incrementalBuild>
task in the same way (<eclipse.incrementalBuild kind="clean"/> or
<eclipse.incrementalBuild project="<project_name>"/>) outside of RAD?



Branden Kolb

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.