import org.springframework.core.io.FileSystemResource;\r
\r
public class SlcAntTest extends AbstractSpringTestCase {\r
import org.springframework.core.io.FileSystemResource;\r
\r
public class SlcAntTest extends AbstractSpringTestCase {\r
\r
public void testSimpleRun() {\r
AntSlcApplication slcApp = new AntSlcApplication();\r
slcApp.setRootDir(new FileSystemResource(new File("src/test/resources")\r
.getAbsolutePath()\r
+ File.separator));\r
\r
public void testSimpleRun() {\r
AntSlcApplication slcApp = new AntSlcApplication();\r
slcApp.setRootDir(new FileSystemResource(new File("src/test/resources")\r
.getAbsolutePath()\r
+ File.separator));\r
slcApp.setParentContext(getContext());\r
\r
SlcExecution slcExecution = new SlcExecution();\r
slcExecution.getAttributes().put(SlcAntConstants.EXECATTR_ANT_FILE,\r
"/org/argeo/slc/ant/build.xml");\r
\r
slcApp.setParentContext(getContext());\r
\r
SlcExecution slcExecution = new SlcExecution();\r
slcExecution.getAttributes().put(SlcAntConstants.EXECATTR_ANT_FILE,\r
"/org/argeo/slc/ant/build.xml");\r
\r