[Anthill] ant issues: can't read properties file, exec task doesn't work

Mirza Abbas Raza abbasrazam at yahoo.com
Wed Jun 29 13:56:35 CDT 2005


The exception printed for the second issue is:

BUILD FAILED
file:D:/projects/anthill/<namehidden>/src/build.xml:311:
Execute failed: java.io.IOException: CreateProcess:
..\bin\stopManagedService.bat error=2

--- Mirza Abbas Raza <abbasrazam at yahoo.com> wrote:

> All,
> 
> Looks like I am doing all wrong things today. 
> 
> My environment:
> Anthill: anthill os 1.8.0.264
> Ant: 1.5.3
> Servlet container: Tomcat 5.0.28
> OS: Win 2k
> 
> Issues:
> - anthill doesn't read build.properties. Following
> is
> a snippet from my build.xml.
> <target name="anthill-build">
>     <property file="build.properties"/>
>     <echo>${weblogic.domains}</echo>
> The property being echoed is present in the
> build.properties file. Anthill doesn't echo the
> value
> of the property. It just prints out the text literal
> in echo tags. When I run the same target manually
> from
> with anthill, the property value is printed out. :(
> At
> the same time, in the same target, I have a copy
> task
> call which uses filtersfile and it works. It
> replaces
> the necessary placeholders. Seems weird. 
> 
> - ant complains running <exec> task. Again a snippet
> from my file.
> <exec executable="startManagedService.bat"
> os="Windows
> 2000"/>
> Again the batch file runs fine if I run manually. :(
> 
> I would really appreciate any input.
> 
> Thanks.
> 
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill
> 




More information about the Anthill mailing list