Kevin
When I originally put together the jde-ant package, I don't believe Ant had a
`-find` switch. In addition, I was using the JDE project facilities, anyway, and
the build.xml files were always in my project root directory.
I've tweaked the jde-ant.el file (see attached) to include a new custom flag
`jde-ant-enable-find` -- this automatically adds the `-find` switch to the Ant
command, so you don't have to explicity list it. Give it a shot, if you are
inclined, and let me know if it works out for you (or not...). It may save you
the trouble of creating empty JDE project files everywhere.
Regards
Jason
Kevin Jones wrote:
> Thanks Jason,
>
> that works
>
> > jde-ant-build assumes that you are using the JDE project
> > facilities-- i.e., you
> > have a prj.el file in your project root. It looks for the build
> > definition file
> > in the same directory.
>
> is there a reason for this?
>
> Kevin Jones
> DevelopMentor
> www.develop.com
>
> > -----Original Message-----
> > From: Jason Stell [mailto:[EMAIL PROTECTED]]
> > Sent: 23 May 2001 12:46
> > To: Kevin Jones
> > Cc: JDE
> > Subject: Re: Ant and JDE
> >
> >
> > Hi Kevin
> >
> > jde-ant-build assumes that you are using the JDE project
> > facilities-- i.e., you
> > have a prj.el file in your project root. It looks for the build
> > definition file
> > in the same directory. The easiest thing to do is just `M-x
> > jde-create-new-project` and select the directory containing your
> > build file
> >
> > HTH
> > Jason
> >
> > Kevin Jones wrote:
> >
> > > I've just installed the new JDE 2.2.7 along with the supporting packages
> > > (thanks for this guys)
> > >
> > > I can use Ant as a normal build tool (i.e. C-cC-vC-b executes ant) and
> > > everything works. However, if I try and use
> > >
> > > jde-ant-build
> > >
> > > I get
> > >
> > > ant.bat -Dc:/home/kevinj/Course/Java
> > >
> > Curriculum/WebDev/labs/Servlets/after/src/com/develop/ewebjava/lab
> > /Browse.ja
> > > va -Demacs=true -find
> > > Wrong type argument: char-or-string-p, nil
> > >
> > > (I use ant.bat because of the cygwin bash shell)
> > >
> > > Am I missing something?
> > >
> > > Kevin Jones
> > > DevelopMentor
> > > www.develop.com
> >
jde-ant.el
begin:vcard
n:Stell;Jason
tel;pager:800-724-3329 PIN 382-8028
tel;work:(703) 471-2529
x-mozilla-html:FALSE
url:http://www.intelixinc.com
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consultant (Intelix, Inc.)
fn:Jason Stell
end:vcard