Actually one way to solve my problem is to use the
shell string operators, as follows:
<exec executable="echo" >
<arg
line="current_dir=${PWD##/*/}>build.properties" />
</exec>
<property file="build.properties"
/>
This will set a property named current_dir to the
last directory of the current absolute path. There is probably a more
elegant way to do it, if anyone has suggestions.
Aaron
|
- wildcards in replace Aaron Haspel
- <script> task with perl Brett Knights
- Re: <script> task with perl Diane Holt
- RE: <script> task with perl Brett Knights
- RE: <script> task with perl Diane Holt
- Re: <script> task with perl Peter Donald
- RE: <script> task with perl Brett Knights
- Aaron Haspel