Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Volker Simonis
d > > Java, .NET, XML Services > > Consulting, Teaching, Speaking, Writing > > http://www.tedneward.com > > > > > >> -Original Message- > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > >> Sent: Friday, January 11, 2008 8:42 AM >

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
e to backwards compatibility. :-/ Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 8:42 AM To: Ted Neward Cc: 'Volker Simonis'; bu

RE: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Ted Neward
; -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, January 11, 2008 8:42 AM > To: Ted Neward > Cc: 'Volker Simonis'; build-dev@openjdk.java.net > Subject: Re: Problems with ALT_OUTPUTDIR in debug build > > > Sigh...

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
://www.tedneward.com -Original Message- From: [EMAIL PROTECTED] [mailto:build-dev- [EMAIL PROTECTED] On Behalf Of Kelly O'Hair Sent: Thursday, January 10, 2008 1:24 PM To: Volker Simonis Cc: build-dev@openjdk.java.net Subject: Re: Problems with ALT_OUTPUTDIR in debug build ALT_OUTPUTDIR=$(OUTP

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
24 PM To: Volker Simonis Cc: build-dev@openjdk.java.net Subject: Re: Problems with ALT_OUTPUTDIR in debug build ALT_OUTPUTDIR=$(OUTPUTDIR) doesn't make sense to me. The makefiles will define OUTPUTDIR to be equal to $(ALT_OUTPUTDIR) if ALT_OUTPUTDIR is set. The _OUTPUTDIR is the default

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Volker Simonis
p://www.tedneward.com > > > > > >> -Original Message- > >> From: Volker Simonis [mailto:[EMAIL PROTECTED] > >> Sent: Friday, January 11, 2008 1:05 AM > >> To: Kelly O'Hair > >> Cc: build-dev@openjdk.java.net; Ted Neward > >

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
mes, and they're all empty. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com -Original Message- From: Volker Simonis [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 1:05 AM To: Kelly O'Hair Cc: build-dev@openjdk.java.net

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Kelly O'Hair
Remove the last two MKDIR lines. I don't think they are needed and that might help. -kto Volker Simonis wrote: Ok, I think I can live with ALT_OUTPUTDIR=$(OUTPUTDIR)-$(DEBUG_NAME) as well. This at least honours the original user setting of ALT_OUTPUTDIR (though with a "-debug" suffix). But it

RE: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Ted Neward
gt; Sent: Friday, January 11, 2008 1:05 AM > To: Kelly O'Hair > Cc: build-dev@openjdk.java.net; Ted Neward > Subject: Re: Problems with ALT_OUTPUTDIR in debug build > > Ok, I think I can live with ALT_OUTPUTDIR=$(OUTPUTDIR)-$(DEBUG_NAME) > as well. This at least honours the or

RE: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Ted Neward
t; Sent: Thursday, January 10, 2008 1:24 PM > To: Volker Simonis > Cc: build-dev@openjdk.java.net > Subject: Re: Problems with ALT_OUTPUTDIR in debug build > > ALT_OUTPUTDIR=$(OUTPUTDIR) > doesn't make sense to me. > > The makefiles will define OUTPUTDIR to be equal

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-11 Thread Volker Simonis
Ok, I think I can live with ALT_OUTPUTDIR=$(OUTPUTDIR)-$(DEBUG_NAME) as well. This at least honours the original user setting of ALT_OUTPUTDIR (though with a "-debug" suffix). But it will create FOUR outputdirectories, if we say "make debug_build ALT_OUTPUTDIR=xxx" of which only "xxx-debug" will

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-10 Thread Kelly O'Hair
ALT_OUTPUTDIR=$(OUTPUTDIR) doesn't make sense to me. The makefiles will define OUTPUTDIR to be equal to $(ALT_OUTPUTDIR) if ALT_OUTPUTDIR is set. The _OUTPUTDIR is the default build location, when ALT_OUTPUTDIR is not set. The original idea here in setting ALT_OUTPUTDIR=$(_OUTPUTDIR)-$(DEBUG_NAM

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-10 Thread Volker Simonis
I would suggest to fix the top-level Makefile such that COMMON_DEBUG_FLAGS uses $(OUTPUTDIR) instead of $(_OUTPUTDIR) and doesn't append "-$(DEBUG_NAME)" to ALT_OUTPUTDIR like so: COMMON_DEBUG_FLAGS= \ DEBUG_NAME=$(DEBUG_NAME) \ ALT_OUTPUTDIR=$(OUTPUTDIR) \ NO_DOCS=true W

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-10 Thread Kelly O'Hair
Your final paragraph I think is the answer: "In my eyes, the cleanest solution would be if ALT_OUTPUTDIR would be honoured "as is", as the output directory for everything we built, without anything appended to it. So the developer should be free to choose whatever he wants as the outp

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-10 Thread Volker Simonis
> > > > Any comments if this is the right way to do a debug build? > > If it works it's fine. I usually just run 'make debug_build', does that not > work? > It works, but it has the problems that I detailed in my first mail. Did you also read that one? I may seem that my second mail contained the

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-10 Thread Kelly O'Hair
Volker Simonis wrote: Hi, me again. I' found that the additional "-fastdebug" directories are created unconditionally by the top-level makefile, in the setup-step: setup: $(MKDIR) -p $(OUTPUTDIR)/j2sdk-image $(MKDIR) -p $(ABS_OUTPUTDIR)/j2sdk-image $(MKDIR) -p $(OUTPUT

Re: Problems with ALT_OUTPUTDIR in debug build

2008-01-10 Thread Volker Simonis
Hi, me again. I' found that the additional "-fastdebug" directories are created unconditionally by the top-level makefile, in the setup-step: setup: $(MKDIR) -p $(OUTPUTDIR)/j2sdk-image $(MKDIR) -p $(ABS_OUTPUTDIR)/j2sdk-image $(MKDIR) -p $(OUTPUTDIR)-fastdebug/j2sdk-image