SConstruct
author cli
Sun May 09 12:38:46 2010 +0200 (2010-05-09)
changeset 30 146b3275b792
permissions -rw-r--r--
The StorageBackendException is catched two times so that the user see the "500 internal server error" only at the second catch (probably fixes #5).
     1 # This file is used to build and automatically test sonews
     2 
     3 import os
     4 env = Environment()
     5 
     6 env['ENV']['LANG'] = 'en_GB.UTF-8'
     7 env['JAVACFLAGS']    = '-source 1.6 -target 1.6'
     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'
     9 
    10 # Build Java classes
    11 classes = env.Java(target='classes', source=['org/sonews/'])
    12 test_classes   = env.Java(target='classes', source=['test'])
    13 
    14 # Setting dependencies
    15 Depends(test_classes, classes)
    16