Shyamal Prasad <shya...@member.fsf.org> writes:
>>>>>> "Paul" == Paul Landes <lan...@mailc.net> writes:
>
>     Paul> My thinking is that maven will be a dependency.  JDEE
>     Paul> supporting ant, maven, javac compilations is one huge
>     Paul> contributing reason for its bloat.
>
> You mean drop ant/javac support? That would be a no-no in my mind. I
> need all three :-) The ant support is, IMHO, fantastic.
>
> Maven actually "works" for me right now, though I have to set up my
> prj.el file manually. In my init.el I do
>
> (require 'jde)
> (require 'compile)
> (add-to-list 'compilation-error-regexp-alist 'maven)
> (add-to-list 'compilation-error-regexp-alist-alist
>        '(maven "\\(^/.+?\\):\\[\\([0-9]+\\),\\([0-9]+\\)\\].*"
>            1 2 3))
>
> since Maven, unlike ant, does not support an -emacs flag. Then in my
> prj.el file (at the same level as pom.xml) I add something like
>
> (setq compile-command
>       "mvn -f ~/path/to/pom.xml compile assembly:single")
>
> and off I go with M-x compile. 
>
> If JDEE would build my prj.el from pom.xml I would have everything I
> need (and there are *many* such .el files I've found around the
> interwebs, I beliee we just need to get a reliable version integrated).


I did write some code to do this a long time ago for ant. But, then of
course, any use of customize becomes problematic. Paul is correct that
if JDEE required maven, then this side of things would be simpler; all
of the settings, configuration and so forth would be handled in maven.
Maven could even supply the server which Emacs would use to do
reflection. Keeping things in sync by writing to files is difficult I
think.

The problem with ant is that every project is different. The only
solution then is to write a JDEE task which launches all the same
server as for maven. Possible, but work. 

Phil



------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
jdee-devel mailing list
jdee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jdee-devel

Reply via email to