Rick depends on where you place declaration in your build.xml global 
declaration with <property>http://ant.apache.org/manual/Tasks/property.html 
target-local override with <local>http://ant.apache.org/manual/Tasks/local.html
is this what you're looking for?
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.

 > Subject: Re: Anyone know how to use the ant task scopes?
> From: rm...@latencyzero.com
> Date: Sun, 16 Dec 2012 19:28:23 -0800
> To: users@maven.apache.org
> 
> 
> On Dec 16, 2012, at 18:06 , Benson Margulies <bimargul...@gmail.com> wrote:
> 
> > You'll have to be a lot more specific. With the antrun plugin? With
> > something else?
> 
> I've posted a couple times with my specific query, but no replies to it. I 
> set it up a long time ago, so I didn't know there was more than one way to 
> use the maven plugin in ant. In my ~/.ant/lib I have 
> maven-ant-tasks-2.1.3.jar. Here's what I have in my build.xml:
> 
> <project name="proj" default="build-nojar" basedir="." 
> xmlns:artifact="antlib:org.apache.maven.artifact.ant">
> 
> ...
> 
>     <artifact:remoteRepository id="main.repository" 
> url="http://mirrors.ibiblio.org/maven2"/>
> 
> ...
> 
>     <artifact:dependencies pathId="runtime.classpath" 
> filesetId="runtime.fileset" >
>               
>         <remoteRepository refid="main.repository"/>
>               
>             <dependency       groupId="com.caucho" artifactId="hessian" 
> version="4.0.7" scope="compile"/>
>             ...
> 
> etc.
> 
> I don't know if that's antrun or something else.
> 
> -- 
> Rick
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
                                          

Reply via email to