SConstruct
author cli
Thu, 20 Aug 2009 18:41:21 +0200
changeset 15 f2293e8566f5
parent 1 6fceb66e1ad7
permissions -rw-r--r--
Started refactoring the Log system to use java.util.logging classes.
chris@1
     1
# This file is used to build and automatically test sonews
chris@1
     2
chris@1
     3
import os
chris@1
     4
env = Environment()
chris@1
     5
chris@1
     6
env['ENV']['LANG'] = 'en_GB.UTF-8'
chris@1
     7
env['JAVACFLAGS']    = '-source 1.6 -target 1.6'
chris@1
     8
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'
chris@1
     9
chris@1
    10
# Build Java classes
chris@1
    11
classes = env.Java(target='classes', source=['org/sonews/'])
chris@1
    12
test_classes   = env.Java(target='classes', source=['test'])
chris@1
    13
chris@1
    14
# Setting dependencies
chris@1
    15
Depends(test_classes, classes)
chris@1
    16