How to create war file in java using ant
This is my build. Improve this question. ServicioUsuarioImpl Why happens this? Add a comment. Active Oldest Votes. Improve this answer. Thank you, the server is Jboss AS 7. Thank you I found the answer as you told me. What I made was to create a jboss-web. Thank you very much — user LeandreM LeandreM 3 3 gold badges 11 11 silver badges 23 23 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back XML file is obtained from the web source folder. However, we are excluding the portlet. Wrap the war task inside an Ant target usually package and run it. This will create the WAR file in the specified location. It is entirely possible to nest the classes, lib, metainf and webinf directors so that they live in scattered folders anywhere in the project structure.
But best practices suggest that your Web project should have the Web Content structure that is similar to the structure of the WAR file. The Fax Application project has its structure outlined using this basic principle. To execute the war task, wrap it inside a target, most commonly, the build or package target, and run them.
The fax. Deepti Trivedi. Himanshu Vasishta. Pushpendu Mondal. Ridhi Arora. Manish Gupta.
0コメント