![apache ant build jar apache ant build jar](https://kinder-wisst.com/yli/05rzp6JWtCy_e3wf-7S0HgHaEc.jpg)
You can also keep testing properties under /src/test/resources and so forth.
![apache ant build jar apache ant build jar](https://image.slidesharecdn.com/apacheant12242012-130606141230-phpapp02/95/apache-ant-1-638.jpg)
In Maven, you'd put your properties file under the project's /src/main/resources directory (or /src/main/webapp/WEB-INF/classes/ if you're building a WAR). Tim Holloway wrote:I think you're getting Ant and Maven confused here.
APACHE ANT BUILD JAR HOW TO
Can you teach me how to create one and then this build file will know where to read the properties file ? I would like to ask if I should create a properties file like what is mentioned here ?īut, I do not know how to create a properties file. Sorry I hope I will remember it guess I got so nervous about this job I am so scared that I can't perform I will have to go and the deadline given to me is so tight what with so much things I don't know in fact almost all the technologies stack involved I have no experienced at all. We can't say where your build file goes wrong, but apparently "$" is set incorrectly. And indeed, the directory mentioned in the error message does not exist according to the screenshot of your file system. The error message is really quite obvious: The build file is referring to a directory that does not exist.
![apache ant build jar apache ant build jar](https://s3.amazonaws.com/oodles-technologies1/blog-images/6618e226-e1fc-4035-8543-b5ce9ff576e6.png)
That's much easier to read, and can be quoted and copied. In the future, copy the text and post it directly. Tim Moores wrote:You have been around the Ranch long enough to know not to post screenshots of error messages. So for the past few hours, I am trying to tackle the error to no avail and I am not sure why the build file is written this way.Īnd then I tried to follow the SO - and added these lines in the xml fileĪnd here's the file structure which I am not sure if it is correct because it is not mentioned in the tutorial. i need money to pay bills so this contract job that i am working now is using an age old tool ant which I really have problem. I am in desperate need of help to know how to use ant - even though I just read in the forum maven is the preferred tool but what to do.