ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roderick Dunne <Roderick.Du...@Kadius.com>
Subject RE: Using built in task ant with
Date Thu, 08 Jun 2000 14:09:51 GMT
Cheers Stefan

The problem is now gone. It was resolved by using absolute paths instead of
relative paths when using the mkdir built in task (os = Windows).

e.g. main project has a call to 
<ant dir="common" antfile="common/build.xml" target="main" />

in the subproject common/build.xml file there is the following

<!-- absolute path works -->
<property name="bean.dir" 
	value="D:/Source/mybean"/>

<!-- relative path does *not* work for mkdir-->
<property name="bean.dir" 
	value="mybean"/>

...
<target name="makeBeanBuildDirectory">
    <mkdir dir="${bean.dir}/build"/>
</target>
...

Thanks
Rod Dunne



> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@bost.de]
> Sent: Thursday, June 08, 2000 1:59 PM
> To: ant-dev@jakarta.apache.org
> Subject: Re: Using built in task ant with
> 
> 
> Hi Roderick,
> 
> first, please use one of the nightly builds, there might have been
> some changes to the Ant task and the Project class that might affect
> your problem.
> 
> I haven't tried what you describe yet. Does the problem disapear if
> you use "real" names for the dirs to create instead of expanding
> properties?
> 
> Stefan
> 

Mime
View raw message