ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pritesh saharey <prit...@sqatester.com>
Subject Re: Absolute Path
Date Tue, 20 Jan 2004 10:33:18 GMT
Thanks Tanguy i found the solution


Pritesh Saharey
BE(Mech)
Software Engineer
Apsora(Ind.)Pvt. Ltd., Pune
http://www.apsora.com
http://in.geocities.com/priteshsaharey/



--- RADEMAKERS Tanguy <tanguy.rademakers@swift.com> wrote:
or

<project name="echopath" basedir="." default="echo">
    <property name="dist.dir" location="dist"/>
    <target name="echo">
        <echo>the path is: ${dist.dir}/tango.jar</echo>
    </target>
</project>

also works

/t

RADEMAKERS Tanguy wrote:

> <project name="echopath" basedir="." default="echo">
>    <property name="dist.dir" location="dist"/>
>    <property name="pathtojar" value="${dist.dir}/tango.jar"/>
>    <target name="echo">
>        <echo>the path is: ${pathtojar}</echo>
>    </target>
> </project>
>
> /t
>
> Pritesh saharey wrote:
>
>> Thanx Jan but i had already done this and it is not giving me 
>> absolute path it is giving me the path from build folder and not from 
>> /home/pritu/foo/goo/build/dist/
>>
>> anymore solution Jan
>>
>>
>> Pritesh Saharey
>> BE(Mech)
>> Software Engineer
>> Apsora(Ind.)Pvt. Ltd., Pune
>> http://www.apsora.com
>> http://in.geocities.com/priteshsaharey/
>>
>>
>>
>> --- Jan.Materne@rzf.fin-nrw.de wrote:
>> <property name="tango.jar.location" location="${tango.jar}"/>
>>
>> Jan
>>
>>  
>>
>>> -----Original Message-----
>>> From: Pritesh saharey [mailto:pritesh@sqatester.com]
>>> Sent: Tuesday, January 20, 2004 10:50 AM
>>> To: user@ant.apache.org
>>> Subject: Absolute Path
>>>
>>>
>>> hello everybody,
>>>       Its very newbie question, can anybody tell me how can i get  
>>> an absolute path of tango.jar file.
>>> Suppose Tango.jar file is created after sucessful build in a 
>>> directory called dist/, and i want to give an absolute path for this 
>>> Tango.jar file to user who is running build.xml file at the end of 
>>> build it should tell user that Tango.jar is created at this pathlike 
>>> "You can find Tango.jar file at /home/pritu/foo/goo/",
>>>
>>> can anybody help me out..
>>> I will be thanful to all of you.
>>>
>>> pritu
>>>
>>>
>>>
>>>
>>> _____________________________________________________________
>>> Join SQAtester.com Community  ---> 
>>> http://www.sqatester.com/testersarea/joinus.htm
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>   
>>
>>
>>
>> _____________________________________________________________
>> Join SQAtester.com Community  ---> 
>> http://www.sqatester.com/testersarea/joinus.htm
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>>
>>  
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



_____________________________________________________________
Join SQAtester.com Community  ---> http://www.sqatester.com/testersarea/joinus.htm

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message