Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 22:16:24 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Jason Helfman <jhelfman@e-e.com>
Cc:        java@FreeBSD.org, freebsd-java@FreeBSD.org
Subject:   Re: new port, axis2
Message-ID:  <20110906051624.GC70947@misty.eyesbeyond.com>
In-Reply-To: <20110829170520.GC59302@eggman.experts-exchange.com>
References:  <20110829170520.GC59302@eggman.experts-exchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help
G'day Jason,

First off, thanks for taking the time to work on a port of axis2.  Making
it easier to set up web services on FreeBSD with ports like this are
important advancements.

That said, I haven't much experience with Axis2, so take my comments with
a grain of salt.

On Mon, Aug 29, 2011 at 10:05:20AM -0700, Jason Helfman wrote:
> There have been several issues raised regarding a new port I had submitted
> for consideration into the FreeBSD portstree, and I was hoping to have some
> feedback so I may proceed with a good direction in updating the port.
> 
> This port is largely based off of www/axis.
> 
> I submitting the following pr:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/159269
> 
> The issues raised with it are that I have only a "war" file in the plist. I
> have a number of ports now, and thought this may be the way to handle a war
> file, however bapt@ would like for all of the files to be listed. I know
> that the application server will extract these files, so doing so it not a
> problem, and I can definitely understand why this should be done.

Reading this, should we understand that the port will initially install
just the WAR file, but then once it's started up it will expand that
WAR file and hence end up with the fully expanded set of files present
on the file system?

If so, adding all of the expanded files to the packing list isn't the
correct solution since if a user installs and deinstalls the port they'll
get a bunch of packing list errors (creating a package will have the
same problem, meaning pointyhat will think the port is broken).

> Beyond this, though, it is being suggested that the scope of the port be
> opened to more than just the apache tomcat application server. I was
> wondering what your thoughts on this may be.

What is the potential extra scope of the port?

> I was also curious that if everything was actually installed to
> ${JAVAJARDIR}, and a class path was added for the application server, with no
> dependency on any application server to be set considering the number of
> possibilities, if the application server would properly resolve everything.

For mine, installing in JAVAJARDIR makes sense if the JARs being installed
there are "library" style JARs that other ports or development may depend
on including in the class path for compilation.  I think installing other
JARs there doesn't make a lot of sense, at least to me, it just raises the
possibility of conflicts with other ports.

> Please cc me on replies, as I am not on freebsd-java, or java mailing lists.
> Using a war is new for me, as my only other java-based port I maintain is
> databases/jasperserver, although this is built from source.

Just as an extra comment, why does the port favour Tomcat 5.5?  Is that
really the right version to be the default version of Tomcat used by the
port given that Tomcat 7 has been available for a considerable amount of
time?

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110906051624.GC70947>