100% Newbie to ant - Making several inclusions
0 posts in topic
Thread View Thread View
TOPIC ACTIONS:
 

100% Newbie to ant - Making several inclusions...
Stoyicker
Wed Jun 06, 2012 01:44 PM

Hi,

I'm completely new to the ant tool. A day ago, I just even knew that I existed, but not what it is for. But I've had a problem with a project in Eclipse, and I've been said that I should do an ant script to properly do the build.
Following a tutorial, I've got to write this build.xml:

<!-- Comment -->
 
<project name="MT4j-WORKHERE" default="build" basedir=".">
 
<target name="build" >
 
<javac srcdir="src" destdir="./../../build" debug="true"
 
includes="**/*.java, mt4jLibs/*.jar, mt4jLibs/batik/*.jar, mt4jLibs/whirlylib/*.jar, processingLibs/*.jar, mt4jLibs/jogl/*.jar, mt4jLibs/tuio/*.jar, mt4jLibs/gsvideo/*.jar"/>
 
</target>
 
</project>

But when I run the ant command, I get errors because the external libraries, that should be included because of the line

includes="**/*.java, mt4jLibs/*.jar, mt4jLibs/batik/*.jar, mt4jLibs/whirlylib/*.jar, processingLibs/*.jar, mt4jLibs/jogl/*.jar, mt4jLibs/tuio/*.jar, mt4jLibs/gsvideo/*.jar"/> 

are not included. What am I doing wrong?
 

Thanks.

About | Sitemap | Contact