Hello,
sorry i was on travel.
My "create.cvsroot" Target:
<target name="create.cvsroot">
<if>
<equals arg1="${connection.method}" arg2="extssh" />
<then>
<echo>${dependence.warning.ssh1}</echo>
<echo>${dependence.warning.ssh2}</echo>
<property name="cvsroot" value=":ext:${us...@${server}:${rep}" />
</then>
<elseif>
<equals arg1="${connection.method}" arg2="pserver" />
<then>
<property name="cvsroot"
value=":pserver:${us...@${server}:${rep}" />
</then>
</elseif>
<else>
<echo>${cvs.error.connection.method}</echo>
</else>
</if>
</target>
(You need antconrtrib for the if-task.
you see in the target "checkout" i have replaced the property "cvsroot"
with ":ext:${us...@${server}:${rep}", so normaly the depend attribute is
not necessary in the code down.
Henning
Michael Hüttermann schrieb:
> interesting !! .. this does work for SSH? How does the target
> "create.cvsroot" look like ?
>
>
> Henning Lötsch schrieb:
>> i use this target:
>>
>> <target name="checkout" depends="create.cvsroot">
>> <cvs command="co"
>> cvsRoot=":ext:${us...@${server}:${rep}"
>> package="${package}"
>> dest="${dest}"
>> />
>> </target>
>>
>>
>> Francis Galiegue schrieb:
>>
>>> Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit :
>>>
>>>> hmmm ok .. but how would the cvs task itself then look like ?
>>>> Thanks!!
>>>>
>>>>
>>> You can't do that unless you <exec> the CVS command, as far as I've
>>> read so far.
>>>
>>> What OS do you run? If Unix-like (that includes Linux), what shell do
>>> you use (echo $SHELL at a prompt will tell)?
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]