Version 9

    How to get Reporting Services from svn ?

     

    You should already have

     

     

     

    Setup your environnement

    • Add a JBOSS_HOME env variable (this variable must point on the jboss root folder examples : /opt/jboss or c:\jboss\)

    • Manually add specified library in your maven2 repository :

     

    javax Activation

    http://java.sun.com/products/archive/javabeans/jaf102.html mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar -Dfile=./activation.jar -DgeneratePom=true

     

    jfreereport dependencies

    http://prdownloads.sourceforge.net/jfreereport/jfreereport-0.8.5-5.zip?download mvn install:install-file -DgroupId=jfree -DartifactId=jcommon-xml -Dversion=1.0.0-pre3 -Dpackaging=jar -Dfile=lib/jcommon-xml-1.0.0-rc1.jar -DgeneratePom=true mvn install:install-file -DgroupId=jfree -DartifactId=pixie -Dversion=0.8.4 -Dpackaging=jar -Dfile=lib/pixie-0.8.4.jar -DgeneratePom=true mvn install:install-file -DgroupId=gnujaxp -DartifactId=gnujaxp -Dversion=1.0.0 -Dpackaging=jar -Dfile=lib/gnujaxp.jar -DgeneratePom=true mvn install:install-file -DgroupId=jfree -DartifactId=jcommon -Dversion=1.0.0-pre3 -Dpackaging=jar -Dfile=lib/jcommon-1.0.0-rc1.jar -DgeneratePom=true

     

    jasperreports dependencies

    (java flow is not in maven repos, you should download jasperreports1.2.5)

     

    mvn install:install-file -DgroupId=commons-javaflow -DartifactId=commons-javaflow -Dversion=1.0-beta1 -Dpackaging=jar -Dfile=<jasperreports_home>/lib/commons-javaflow-20060411.jar -DgeneratePom=true

     

     

    Required libs are installed, now you can compile

     

    1. Get code from SVN

    2. Compile code and install to JBoss default deploy folder

      • Go to trunk folder (created by svn command)

      • Execute command : mvn install

    3. Start and test

    4. Remote client

      • execute mvn -Declipse.workspace=/home/jboss/workspace eclipse:eclipse (where /home/jboss/workspace is the workspace folder for eclipse)

      • execute mvn -Declipse.workspace=/home/jboss/workspace eclipse:add-maven-repo (where /home/jboss/workspace is the workspace folder for eclipse)

      • start eclipse (and select your workspace folder)

      • launch SimpleClient of client-impl project (right clic on class -> Run as -> Java Application)