RAT (Release Audit Tool) results

The following document contains the results of RAT (Release Audit Tool) .

*****************************************************
Summary
-------
Notes: 6
Binaries: 1
Archives: 0
Standards: 18

Apache Licensed: 16
Generated Documents: 0

JavaDocs are generated and so license header is optional
Generated files do not required license headers

2 Unknown Licenses

*******************************

Archives (+ indicates readable, $ unreadable): 

 
*****************************************************
  Files with AL headers will be marked L
  Binary files (which do not require AL headers) will be marked B
  Compressed archives will be marked A
  Notices, licenses etc will be marked N
 !????? build-dists.sh
  AL    compilers/jsr199/pom.xml
  AL    compilers/jsr199/src/main/java/org/apache/commons/jci/compilers/Jsr199CompilationProblem.java
  AL    compilers/jsr199/src/main/java/org/apache/commons/jci/compilers/Jsr199JavaCompiler.java
  AL    compilers/jsr199/src/main/java/org/apache/commons/jci/compilers/Jsr199JavaCompilerSettings.java
  N     compilers/jsr199/src/main/resources/LICENSE.txt
  N     compilers/jsr199/src/main/resources/NOTICE.txt
  AL    compilers/jsr199/src/test/java/org/apache/commons/jci/compilers/Jsr199JavaCompilerTestCase.java
  AL    doap_jci.rdf
  N     KEYS.txt
  N     LICENSE.txt
  N     NOTICE.txt
  AL    pom.xml
  N     README.txt
  AL    src/assembly/bin.xml
  AL    src/assembly/src.xml
  B     src/site/resources/jci-logo-white.png
  AL    src/site/site.xml
  AL    src/site/xdoc/downloads.xml
  AL    src/site/xdoc/download_jci.xml
  AL    src/site/xdoc/faq.xml
  AL    src/site/xdoc/index.xml
  AL    src/site/xdoc/issue-tracking.xml
  AL    src/site/xdoc/usage.xml
 !????? TODO.txt
 
 *****************************************************
 Printing headers for files without AL header...
 
 
 =======================================================================
 ==build-dists.sh
 =======================================================================
 #!/bin/sh

set -e

BASE=`pwd`

RC=`xml sel -N m=http://maven.apache.org/POM/4.0.0 -t -v '/m:project/m:properties/m:release.tag' $BASE/pom.xml`
STAGING=`xml sel -N m=http://maven.apache.org/POM/4.0.0 -t -v "/m:project/m:profiles/m:profile[m:id/text() = 'release']/m:distributionManagement/m:repository/m:url" $BASE/pom.xml | sed "s/\\${commons.deployment.protocol}:\/\//$USER@/" | sed "s/\\${release.tag}/$RC/" | sed 's#/#:/#'`
RELEASE=`echo $RC|sed s/-.*//`

echo "creating $RELEASE from $RC at $STAGING"

MAVEN_RELEASE="$BASE/target/maven-dist"
DIST="$BASE/target/dist"


rm -Rf $DIST 2>/dev/null || true
find $BASE/target -name "commons-jci*" -delete


rm -R $MAVEN_RELEASE 2>/dev/null || true
scp -r $STAGING $MAVEN_RELEASE


# build binary dist

LIB="$DIST/bin/commons-jci-$RELEASE-bin/lib"
mkdir -p $LIB 2>/dev/null

JARS=`find $MAVEN_RELEASE -type f -name "*-$RELEASE.jar"`

for A in $JARS ; do
    cp $A $LIB
done

cp $BASE/LICENSE.txt $BASE/NOTICE.txt $DIST/bin/commons-jci-$RELEASE-bin/

cd $DIST/bin

tar czvf $BASE/target/commons-jci-$RELEASE-bin.tar.gz .
zip -r $BASE/target/commons-jci-$RELEASE-bin.zip .

cd -




# build source dist

SOURCE=`xml sel -N m=http://maven.apache.org/POM/4.0.0 -t -v "/m:project/m:scm/m:developerConnection" $BASE/pom.xml | sed 's/scn:svn://' | sed "s/trunk/tags\/$RC/"`

 =======================================================================
 ==TODO.txt
 =======================================================================
 o compiler implementations
  o jsr199
  o jikes
  o pizza
  o jruby (maybe?)
  o jpython (maybe?)
  o c# (maybe?)
o documentation
o dependency analysis for proper re-try after errors
o removing of anonymous classes if parent class is being removed
o ability to add (contents of) jars to the store ...and be able to remove them again
o maven plugin to compile with any of the compilers -> codehaus.org/mojo
o compiler discovery via META-INF
o finish common configuration for some compilers
o build javac classpath from provided classloader
o move the reader/store interfaces to streams (maybe?)
o add exceptions to interfaces (maybe?)