Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2008 10:55:29 +0200
From:      Jose Garcia Juanino <jjuanino@gmail.com>
To:        thierry@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/119756: New port: databases/sqldeveloper Graphical tool for database development
Message-ID:  <20080405085525.GA1336@sanabria>
In-Reply-To: <200804041658.m34Gwhik054080@freefall.freebsd.org>
References:  <200804041658.m34Gwhik054080@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Thierry,
thanks a lot for take care of this problem report. Sorry if my english
is not very clear...

El viernes 04 de abril a las 18:58:43 CEST, thierry@FreeBSD.org escribió:
> Synopsis: New port: databases/sqldeveloper Graphical tool for database development
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: thierry
> State-Changed-When: Ven 4 avr 2008 16:48:20 UTC
> State-Changed-Why: 
> 
> Thanks for this PR, but I have two remarks:
> 
> 1) we cannot install shell scripts with '/bin/bash' in the shebang; you
> should either add a run-dependency on shells/bash and replace /bin/bash
> by ${LOCALBASE}/bin/bash, or (better!) replace /bin/bash by /bin/sh and
> remove bashisms - if any.

There is a such "shebang" in the script

/usr/local/share/java/sqldeveloper/sqldeveloper/bin/sqldeveloper

but it is a commented line, as this script is not directly invocated.
Instead, it is launched by /usr/local/bin/sqldeveloper with a sh
interpreter. However, for clarity, we will include it in list of

@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \

(do-install target of Makefile).

> 2) Run error:
> 
> Launching sqldeveloper opens a splash screen, and stops.

Please take a look at 

http://lists.freebsd.org/pipermail/freebsd-ports/2008-January/046416.html

Answer "No" to the question "Would you like to migrate settings from a
previous release?"

(remove $HOME/.sqldeveloper first)


> The displayed
> messages are:
> 
> [ ....... ]
> 
> Running as root:
> touch /usr/local/share/java/classes/packages.txt
> makes it work:
> 
> [ ....... ]
> 
> I don't know if this packages.txt should have been installed by the JRE,
> but in order to install a running port, you should test on post-install
> if it exists, else install a minimal ${JAVAJARDIR}/packages.txt.

That packages.txt file is not neccesary to run sqldeveloper. These
messages are annoying but harmless. Do you think is a good idea to
install such empty file in a common area as ${JAVAJARDIR} is? I am
worried if such file breaks some other software located in
${JAVAJARDIR}... But, you are the expert. I you think so, I will include
it.

Best regards



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