Ok, I'll try one of the two (or even both).
Thx for your rapidity to reply

-Manu-

2006/10/31, Siegfried Goeschl <[EMAIL PROTECTED]>:

Hi Manu,

+) if you need to retrieve more data from the POM you can also use
maven-artifact-ant-2.0

+) AFAIK not even environment variables are passed to ANT script

Cheers,

Siegfried Goeschl

Alexander Sack wrote:
> Manu, just thinking out load, though this may not be what your looking
for,
> could you use some form of
>
> <antcall target="blah">
>  <param name="somename" value="${finalName}"/>
> </antcall>
>
> Then reference ${somename} in your ant build file.  Something like
that...
>
> -aps
>
> On 10/31/06, Manu <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi all,
>>
>> I'm trying to do something rather simple: pass the Maven "finalName"
>> to my
>> Ant script, and can't make it.
>> Does anyone know how to do it ?
>> I precise I'm calling an external ant script through the following:
>>
>> <configuration>
>>      <tasks>
>>           <ant antfile="build.xml" inheritRefs="true" target="
prj.ejbgen"
>> />
>>     [...]
>>
>>
>> Thxs for any clue.
>>
>> --
>> Manu
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Manu (:-Þ)

Reply via email to