Ant script is not creating the war file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Sunday, October 19, 2003 09:43 PM

Hii

I have an ant script that compiles the sources , deploys them to an oc4j conatiner and then makes a WAR file
The WAR file task is dependent on deploy task getting competed succesfully.
When I run the script from JDeveloper IDE it makes the WAR file .
But when I run the script from command prompt it shows
build succesful in the log generated but doesnt execute the deploy task as a result the WAR is not being generated

If anyone has faced such problem please help

Regards
Neeraj

Re: Ant script is not creating the war file

Posted By:   Anonymous  
Posted On:   Monday, October 20, 2003 02:50 AM

Please provide us the targets of your buildfile (with their dependencies), the implementation of your war-target and your commandline call. So we can see where the problem is.


e.g.











$ ant war


BTW - you first deploy and then create the WAR? The deployment process defined in the J2EE-spec is vice versa. You deploy the war file.

About | Sitemap | Contact