Java

warning: Creating default object from empty value in /home/phecht/public_html/ado/modules/taxonomy/taxonomy.pages.inc on line 33.

Jar listing utility--Java archive file tool. Handling import errors easily in 4 steps.

Here is a quick example on how to get a database of what is contained in jars:
Step
1 of 4) Create a file containing:
#!/bin/bash
jarfolder=/usr/share
jarlist=/tmp/jarlist.txt
declare -a jarclass
find $jarfolder -name "*.jar" > $jarlist
for jarfile in `cat $jarlist`;
do
jarname=`basename $jarfile`;
jarfolder=`dirname $jarfile`;

jarclass=( $( jar -tvf $jarfile | awk '{ print $8 }' ) )
for aclass in "${jarclass[@]}"
do
echo $jarname $jarfolder $aclass;
done
done

2 of 4) Edit top 2 lines if needed/wanted.

3 of 4) Run the script and capture the output. You will get output like this:
maven-core-2.0.6-uber.jar /usr/share/maven/lib org/apache/maven/wagon/events/SessionEvent.class
maven-core-2.0.6-uber.jar /usr/share/maven/lib org/apache/maven/wagon/events/TransferEventSupport.class
maven-core-2.0.6-uber.jar /usr/share/maven/lib org/apache/maven/wagon/events/SessionEventSupport.class
maven-core-2.0.6-uber.jar /usr/share/maven/lib org/apache/maven/wagon/resource/Resource.class
maven-core-2.0.6-uber.jar /usr/share/maven/lib org/apache/maven/wagon/Wagon$1.class
maven-core-2.0.6-uber.jar /usr/share/maven/lib org/apache/maven/wagon/Wagon.class

Note: The list has 3 fields: Jar file name, Jar path, Class name.

Hudson main page

Where to get hudson: https://hudson.dev.java.net/
If you have wget then you can do this:
/usr/local/bin/wget -N --no-check-certificate http://hudson.gotdns.com/latest/hudson.war

http://hudson.jboss.org/hudson/ is a real live Hudson site used by jboss.org

http://fisheye4.atlassian.com/browse/~raw,r=12517/hudson/trunk/hudson/pl... is not working for me because my cvs does not parse the huge string that I am using.

I logged into dev.java.net and review this program. It uses stringBuilder in a wasteful way. in arrayToString it creates a new stringBuilder for each line of the modules list. It should use append instead.

Also, since many CVS clients are old, the servers are old, it is prone to failure in many ways. It should not put the whole module list on one line. It should run cvs rtag for each module individually. Still, it still just use one stringBuilder object.

"Luntbuild is a powerful build automation and management tool."

Update: http://www.javaforge.com/proj/doc.do?doc_id=53942 is the latest release of Luntbuild. Just download the installer jar: http://www.javaforge.com/displayDocument/luntbuild-1.6.0-installer.jar?d... and then run it via:
java -jar java -jar /luntbuild-1.6.0-installer.jar
If you develop software, you should use Luntbuild. It has more features then most other open source building tools.

http://luntbuild.javaforge.com/ is the main page. It is not the most reliable site, being a sourceforge.net project you can get it here as well: http://sourceforge.net/projects/luntbuild/ .

There is no silver bullet to solving a bad build process. But Luntbuild allows multiple users each with a separate viewing options. So, you can communicate with your customers and bosses about the build and how it is improving.

Changing how it works is done via a web interface to a database back end. So, you aren't changing fragile XML files, you are updating a database.

Syndicate content