hi

I was trying to use make files with jde and have got some comments on
it:

- no custom var to tell jde where the makefile is - ok, this one
solved by 'make -f file'

- no custom var to tell the makefile its directory - jde cd's to the
directory of current java file, which can cause problems - can be
solved by making the makefile completely directory neutral, which can
be a hassle - eg: no sourcepath option when usnig the jikes
compiler(?).  can also be solved by 'make -C dir'.

- now, since we have used the jde-make-args option, we are stuck with
a single make target (either the default in makefile or one specified
in the jde-make-args) - no choice in the mini buffer!!

here are some suggestions:

- a custom var : jde-make-dir - this is where jde will cd to before
starting make, this eliminates both -f and -C , the norms of make will
be followed to pick the makefile/Makefile in the directory, and the
makefile commands are taken relative to that directory. ie - usually
the tip of the prject tree.

- a seperate setting to decide whether to ask for input in minibuffer,
eg jde-make-prompt : if not nill then user is prompted with the
jde-make-args as default and he can add to it his target or extra
args.

- to make life easier: jde-make-targets : this is a list of targets
(all, install , clean, what have you). if not empty, they appear in
the jde menu - as a submenu for the build option(?), user selection
becomes the target - these can play with other vars above : selected
target is appended to other args in jde-make-args, and jde-make-prompt
will allow for more options to the make command line.


Any thoughts on this?


--------------
Basel Shishani



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to