diff -r f907866f0e4b -r 6fceb66e1ad7 SConstruct --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SConstruct Fri Jun 26 16:48:50 2009 +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) +