Questions about porting a Java application
Herve Quiroz
hq at freebsd.org
Thu Oct 7 07:34:49 PDT 2004
Manfred,
I don't know if the INSTALLDIR/doc is mandatory, but I'll assume it's
not. Hence, I would do the following:
- install 'INSTALL-DIR/bin/*' in ${JAVASHAREDIR}/${PORTNAME}/bin/
- install 'INSTALL-DIR/lib/*' in ${JAVASHAREDIR}/${PORTNAME}/lib/
- install 'INSTALL-DIR/*' in ${JAVASHAREDIR}/${PORTNAME}/
- install 'INSTALL-DIR/doc/*' in ${DOCSDIR}/
- symlink ${JAVASHAREDIR}/${PORTNAME}/bin/<executable_script> in
${PREFIX}/bin.
I'm not sure about the last point though. Maybe it's even more simple to
install directly in ${PREFIX}/bin if the application allows it.
Herve
On Thu, Oct 07, 2004 at 09:17:58AM -0500, Manfred N. Riem wrote:
> Hi all,
>
> I have a Java application that I want to port and I have read the better
> part of [1]. The application that I want to port unfortunately has a
> specific structure that does NOT make it possible to adhere to the
> practices. What is the general thing to do in such a case?
>
> As far as I can tell from the Win32 starter script for the application it
> insists on an application
> directory with the following structure
>
> INSTALL-DIR
> |
> +---- bin
> |
> +---- doc
> |
> +---- lib
>
> Any advice about this?
>
> Kind regards,
> Manfred Riem
> mriem at manorrock.org
>
> [1] Porter's Handbook - Using Java - Best practices
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-java
> .html#JAVA-BEST-PRACTICES
More information about the freebsd-java
mailing list