]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc/src/test/java/org/argeo/slc/example/junit/TestAntBuild.java
1 package org
.argeo
.slc
.example
.junit
;
5 import org
.argeo
.slc
.ant
.AntRegistryUtil
;
7 import junit
.framework
.TestCase
;
9 public class TestAntBuild
extends TestCase
{
10 public void testAllRunSimple() {
11 File slcBaseDir
= new File("./src/test/slc").getAbsoluteFile();
12 System
.setProperty("log4j.configuration", "file:///"+slcBaseDir
.getPath()
13 + "/conf/log4j.properties");
15 File antFile
= new File(slcBaseDir
.getPath()
16 + "/root/Category1/SubCategory2/build.xml");
17 AntRegistryUtil
.runAll(antFile
);