Skip to Content

How to use ant4eclipse:userLibraries

Posted in

Hi there
I am very much new to ant... I want my build.xml to take care of the eclipse classpath entry which is there in .classpath file. I have some user libraries which I have exported to userLibs.userLibraries. I want to import this in build.xml.

I added in the init task of my build.xml. But it seems it is not referring the userLibraries and throwing compillation error while running. Can anybody let me know where I am going wrong, or what I am missing?

Awaiting reply,
Zabin

Please check this

I'm not sure whether you've done it correctly as you haven't supplied an example how you've did it. Basically exporting the user libraries isn't enough as a4e needs to know what user libraries have to be used.
Please check the following description for further information:

http://ant4eclipse.org/node/42

Best regards