diff -r 000000000000 -r fdfc7225f799 SConstruct --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SConstruct Sun Aug 29 23:23:15 2010 +0200 @@ -0,0 +1,16 @@ +# This file is used to build and automatically test sonews + +import os +env = Environment() + +env['ENV']['LANG'] = 'en_GB.UTF-8' +env['JAVACFLAGS'] = '-source 1.6 -target 1.6' +env['JAVACLASSPATH'] = '/usr/share/java/junit4.jar:/usr/share/java/glassfish-mail.jar:/usr/share/java/servlet-api-2.5.jar:/usr/share/java/jchart2d.jar:classes' + +# Build Java classes +classes = env.Java(target='classes', source=['org/sonews/']) +test_classes = env.Java(target='classes', source=['test']) + +# Setting dependencies +Depends(test_classes, classes) +