| From: | Nic Ferrier <nferrier(at)tapsellferrier(dot)co(dot)uk> | 
|---|---|
| To: | Barry Lind <blind(at)xythos(dot)com> | 
| Cc: | pgsql-jdbc(at)postgresql(dot)org | 
| Subject: | Re: [PATCHES] the build | 
| Date: | 2003-04-17 09:21:48 | 
| Message-ID: | 87r881a383.fsf@pooh-sticks-bridge.tapsellferrier.co.uk | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-jdbc pgsql-patches | 
Barry Lind <blind(at)xythos(dot)com> writes:
> But isn't the meaning of JAVAC in the auto-tools different than you are
> using it for here?  Doesn't it mean the name of the executable that
> compiles java source in the auto-tools environment?  In ant it it a key
> word that represents the type of compiler so that you have things like
> 'classic' and 'modern' which are very different than anything the
> auto-tools would be generating.
You're right of course.
> > Ok. I'll look into developing one. I don't know much about it either
> > except that the task API has been pretty static and, since the tasks
> > are just bytecode, if you have Ant you can run any task.
> >
> How would this work?  Would the source for the task be part of cvs then
> a bootstrap process would be invoked to build the task first, then run
> ant a second time using that task?  It sounds like it could be very
> complex.
It wouldn't work like that. We'd set CLASSPATH to include our
pre-compiled ant task (there would be an Make/ANT target to build it
from source as well) in the call to ANT. It would then be available
to the build.
> I certainly agree that improvements could be made.  I look forward to
> seeing what you come up with.
I've got something that separates the targets out at the expense of
making the compilation specification include based. I'll make a proper
patch and send it tonight.
 
> As far as re-compiling the AbstractJdbc1* stuff, I do a 'make clean;
> make' to accomplish this.  Ugly, but it works.
Ah yes. That's what I do, and then I hack the build file so I don't
have to  /8->
Nic
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2003-04-17 15:19:26 | qualified column names | 
| Previous Message | Barry Lind | 2003-04-17 04:38:25 | Re: Index metadata not sorted by ORDINAL_POSITION | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nigel J. Andrews | 2003-04-17 11:35:07 | Re: Are we losing momentum? | 
| Previous Message | Bruce Momjian | 2003-04-17 03:20:52 | Re: Win32 defines |