Hi,

   not sure how to resolve problem you described but I use the
standard compile command to trigger ant. Do "M-x customize-group
compilation" to customize. When working on a certain project I just
put into the compile-command variable a cd into the project's root
directory followed by running "ant -e" (or make).

-- 
Mikoláš Janota M. Sc.
School of Computer Science and Informatics,
University College Dublin,
Belfield,
Dublin 4,
Ireland


On Sat, Feb 28, 2009 at 11:35 AM, Vincent Belaïche
<[email protected]> wrote:
> Hello,
>
> I am newcomer to Java and JDEE. I am also recent member of the jPicEdt
> project and I am using ant. I have just installed jdee on my emacs.
>
> My emacs is a CVS build GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195) of
> 2009-01-03
> I am on MSWindows2000.
>
> I am using jdee version 2.3.5.1
>
> Here are the problems which I met
>
> 1) Here are the lines of my init file connected with jdee (I adapted what is
> in jdee doc to my own file tree):
>
> --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---
> (setq default-directory "d:/Programme/GNU/emacs/bin/")
> (add-to-list 'load-path (expand-file-name "../../emacs-extension/jde/lisp"))
> (add-to-list 'load-path (expand-file-name
> "../../emacs-extension/cedet/common"))
> (load-file (expand-file-name "../../emacs-extension/cedet/common/cedet.el"))
> (add-to-list 'load-path (expand-file-name "../../emacs-extension/elib"))
> (require 'jde)
> (load "jde-ant")
> --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---
>
> The problem is that I had to add the line (load "jde-ant") in order to get
> the ant connected cusomization variable. Otherwise, after starting emacs
> customize-variable on e.g. jde-ant-home would say that this variable is
> unknown.
>
> 2) When I build with ant, here is the command line that is sent to build
> subprocess by jdee :
>
> --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---
> -*- mode: compilation; default-directory:
> "d:/msys/1.0/local/projects/jpicedt/jpicedt/jpicedt/jpicedt/" -*-
> Compilation started at Sat Feb 28 12:04:17
>
> ant -Dant.home="d:/Programme/apache-ant-1.7.1" -buildfile
> 'd:/msys/1.0/local/projects/jpicedt/jpicedt/build.xml' -emacs
> Buildfile: 'd:\msys\1.0\local\projects\jpicedt\jpicedt\build.xml' does not
> exist!
> Build failed
>
> Compilation finished at Sat Feb 28 12:04:33
> --8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<---
>
> The reason of failure is the use of simple quotes after -buildfile. Bad old
> MSDOS style does not like this. If I send the same command in a shell with
> double quotes it will work.
>
> If needed I can spot this latter problem and send a patch.
>
>    Vincent.
>
> PS : Sorry I did not follows the instruction in the help page and send my
> complete init file and all the stuff that is requested, I can do this later
> on if required.
>
>
>
>
>
> ________________________________
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ?
> Lancez-vous !
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> jdee-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jdee-users
>
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to