SConstruct
author cli
Sun Aug 29 17:28:58 2010 +0200 (2010-08-29)
changeset 35 ed84c8bdd87b
permissions -rw-r--r--
Moving source files into src/-subdir.
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