Ant pro's?

Pigbenis

Molten Core Raider
679
279
In my Eclipse workspace I have 3 projects - 2 dynamic web projects and a data access layer project. What I want to do is whenever I clean (Project - Clean...) or build the dynamic web projects I want Eclipse / Ant to automatically build the jar from the DAL project and move it into the lib folder of each dynamic web project and add them to the build path. So far I've added the build.xml to 1 of the dynamic projects and this is what I have.

It's kind of working, but for some reason Eclipse is complaining about classes not found from that jar. However, when I build and add it manually to the web projects it works fine. The script also only runs when I build the project manually. Argh!!
 

stupidmonkey

Not Smrt
<Gold Donor>
1,687
3,600
I use a combination of Lua and Ant to do my scripting within eclipse. I have Lua do all the heavy lifting. I can take a look at it and see what's going on sometime this weekend. Can you post a screen shot and your Ant settings or PM with the some further preference and setup details?