javaweb-people
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Javaweb-people] compilation again


From: Nic Ferrier
Subject: Re: [Javaweb-people] compilation again
Date: 27 Jan 2003 22:21:36 +0000

Brian Jones <address@hidden> writes:

> address@hidden writes:
> 
> > That's what I wanted to add to automake. A new category of target
> > called a _JAR, so you do stuff like this:
> >
> >
> >   javamail_JAR = mail.jar
> >   javamail_SOURCES = javax/mail/Folder.java \
> >                      javax/mail/Transport.java \
> >                      etc...
> >
> > By default the jar file would be built using automake's JAVAC and
> > JAVACFLAGS.
> >
> > The same source list (or a supplemented one) could then be used to
> > build a shared library using gcj.
> >
> > This needs jarcompiler because otherwise the Makefile translation gets
> > way too complicated - specifically the creation of temp
> > directorys. jarcompiler makes the temp directorys (for compiling the
> > class files to) very simple.
> 
> Okay the temp directories idea is an improvement over what I was
> thinking and still lets you keep track of what classes came from what
> sources.  This could vastly simplify Classpath's lib/Makefile.am I
> think.

Right. That's what I thought.

I'm looking at automake to see whether I can fit this in. I'm sure
the automake list will be able to help with how to integrate the
script.


Nic





reply via email to

[Prev in Thread] Current Thread [Next in Thread]