]>
git.argeo.org Git - gpl/argeo-slc.git/blob - TestAntBuild.java
48fd27aea34bd352a750f557d8fd14cd61905188
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
);