project.xml should be in ${basedir} from memory. I usually set basedir to
'.'. What's yours?
--
dIon Gillard, Multitask Consulting
Work: http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers
"Colin Chalmers" <[EMAIL PROTECTED]> wrote on 14/04/2002 10:41:20
PM:
> I'm moving forward :-)
>
> What was the problem? I had added the delegators section to the wrong
place
> in the build-maven file which resulted in the afore mentioned errors.
>
> I've now got things working, more or less anyway.
>
> When I run "ant -f build-maven.xml maven:update-jars" maven looks in
e:/tmp
> for the project file instead of e:/tmp/maven which is what I set as
> maven.home.
>
> I can move the project.xml file to e:/tmp which moves things on but
causes
> problems further down the line as other tasks look in e:/tmp for one
thing
> or another.
>
> I can't quite work out why e:/tmp is being used, is it to do with the
> base.dir setting?? or something else?
>
> /Colin
>
>
> ----- Original Message -----
> From: "Pete Kazmier" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 12, 2002 11:52 PM
> Subject: Re: Need help getting started
>
>
> > On Fri, Apr 12, 2002 at 10:09:12PM +0200, Colin Chalmers wrote:
> > > After seeing the new B3 release I thought I'd give another try to
get
> > > things up&running, unfortunately things aren't going welll despite
the
> > > plenty of docs on the site
> >
> > You've come to the right place.
> >
> > > 3. Downloaded example delegator file and saved in e:/tmp/maven dir
> > > called build.xml
> > >
> > > 4. went to e:/tmp/maven dir and typed the following "ant -f
> > > build-maven.xml maven:update-jars", expecting a Jar update but got
> > > following error message
> > >
> > > "maven:update-jars does not exist in this project"
> >
> > You saved the delegator file to "build.xml", therefore you should be
> > typing:
> >
> > ant maven:update-jars
> >
> > If you had saved the delegator file to "build-maven.xml", then the
> > command you were typing would have worked fine.
> >
> > Thanks,
> > Pete
> >
> >
>