store

Source Location of Glassfish on Java.net Causes Netbeans 6.9 to Fail On “Download Now” Install

Posted by John Manko | Posted in Java, Linux | Posted on 03-06-2011

Much has changed with Oracle’s recent acquisition of Sun Microsystems.  Most noted has been Oracle consolidation and relocation of information from Sun websites.  In addition to Oracle’s branding of Java, many pages have moved or have been killed.  One of these links, important to Netbeans, is the location to download Glassfish for automatic installation.  I run/virtualize Ubuntu v11.04 for one of many development environments, and for those who use Ubuntu you know all too well how that distribution is slow with merging current releases.  For instance, I’ve been running Netbeans v6.9 since v10.10, and it looks like I’ll be running it until v11.10. With that said, I’m stuck with v6.9.1 at the moment.  Unfortunately, there is a bug in version of Netbeans prior to v7 that is a result of Oracle migrating website content.

Read the rest of this entry »

blog
feed

Scripting SVN Repo Creation in Gentoo

Posted by John Manko | Posted in Linux | Posted on 28-09-2009

I wrote a script to ease the creation of subversion repositories in Gentoo.  This script assumes the existence of three files:

authz         - Standard svn authorization file,
                located svn root conf directory,
                used for all repos.
passwd        - Standard passwd file, and
                is used for all repos.
svnserve.conf - Template file (points back to
                authz & passwd), copied to each
                newly created repo conf
                directory.

Here is the script:


#! /bin/bash
REPO_ROOT=/var/svn

echo -n "New Repository Name: "
read -e REPO_NAME

if [ "$REPO_NAME" = "" ]; then
 echo "A valid repository name must be entered.  Cannot create repository.";
 exit;
fi

REPO_PATH=$REPO_ROOT/$REPO_NAME

if [ -e $REPO_PATH ]; then
 echo "The file or directory ($REPO_PATH) already exists.  Cannot create repository.";
 exit;
fi

svnadmin create $REPO_PATH
cp $REPO_ROOT/conf/svnserve.conf $REPO_PATH/conf/
rm $REPO_PATH/conf/authz
rm $REPO_PATH/conf/passwd
chown -R svn:svnusers $REPO_PATH
chmod -R g+w $REPO_PATH
chmod -R o-rwx $REPO_PATH
/etc/init.d/svnserve restart

echo $REPO_PATH has been created!