SConstruct
author cli
Mon, 24 Aug 2009 13:00:05 +0200
changeset 20 6ae5e4f8329b
parent 1 6fceb66e1ad7
permissions -rw-r--r--
Add stubs for org.sonews.acl and add method "impliedCapability" for org.sonews.command.Command interface.
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