Wayne,

The build.xml file is part of the Dojo distribution.  I would like to 
avoid modifying their files as Dojo is being updated all the time.  So 
ideally I would like to be able to somehow pass the override value from 
Maven since I own that pom.xml file.  So that is my question.  How do I do 
that?  If I was running Ant directly I would just pass the value in the 
command line.  I have not been able to figure out how to do that in Maven.

Regards,
Luis F. López




From:   Wayne Fay <[email protected]>
To:     Maven Users List <[email protected]>, 
Date:   05/09/2013 04:24 PM
Subject:        Re: maven-antrun-plugin and ant basedir question



> I am trying to do a custom build of Dojo using Maven and the Dojo 
supplied
> build.xml file.  I have managed to get most of the pieces that I need 
into
> the pom.xml file to where the ant clean task works and the default task
> starts.  Unfortunately the default task depends on the value of basedir
> which is set to "." at the top of the build.xml file (<project 
name="dojo"
> default="cldr" basedir=".">).  Since Maven is not running from the
> directory where the build.xml file is at, all the paths are wrong.  In 
my

Can you not simply edit the basedir="." directly in the build.xml file
itself to reflect the correct directory? Or set/override that value
using a parameter passed in from Maven, or passed via a system
setting, or read from a properties file... or something?

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to