I'm new to J2EE environment and working on an example given in J2EE1.4 online tutorial. I did exactly as mentioned in the document. I have a directory structure C:\ Projects ConverterApp ConverterApp.ear src Converter.java ConverterHome.java ConverterBean.java
Now as mentioned in the document, I tried to run asant utility from c:\projects\ConverterApp>asant build
Buildfile: build.xml does not exist! Build failed
is what getting displayed. Is there anything I messed up here? Please let me know the solution as I'm eagerly waiting for my first J2EE to run .
Try to run the asant in the directory where build.xml is located and don't forget to set the j2ee.jar in your classpath.
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
posted 11 years ago
Thanks for the information. I'm a very new into J2EE world, and really not sure what a build.xml is all about. I was under impression that asant would build build.xml for me. What is build.xml and how do we generate one? Is there any tool to generate build.xml for us.