At 06:04 AM 8/14/99 PDT, you wrote:
>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'.
>
I use the -C option myself. However, I think providing a custom var for
this option makes sense. I will put it on my list of things to do.
>- 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!!
>
Not true. The variable jde-read-make-args tells the JDE whether to
prompt for additional make args in the minibuffer.
>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.
>
I will add this.
>- 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.
>
Already exists.
>- 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.
>
>
Good idea. I'll also implement this.
My usual caveat. Getting the new debugger integrated is my priority for the
moment.
- Paul