Tuesday 21 January 2014

Exporting project folder from jasper community server 5.0.0(will work for all the CP versions) - buildomatic export example - Ubunutu server

Exporting project folder from jasper community server  

You will learn how to import project folder of jasperserver in your Ubuntu machine(folder)
Exporting=Downloading

1) PuTTY/Ubuntu Terminal
 Give username and password and login to the Ubuntu server

2) Go to the location of jasperserver cp 5.0.0(or any version)
Example:
root@sadakar-server:cd /opt/jasperreports-server-cp-5.0.0

3) Navigate to buildomatic folder
Example:
root@sadakar-server:cd /opt/jasperreports-server-cp-5.0.0/cd buildomatic 

4) Execute js-export.sh file with the destination path.

Syntax :
root@sadakar-server:opt/jasperreports-server-cp-5.0.0/buildomatic#./js-export.sh  <location of the folder in jasper server>  --output-zip  <location of exporting folder>/<exporting_filename.zip>
Example
root@sadakar-server:/opt/jasperreports-server-cp-5.0.0/buildomatic# ./js-export.sh /reports/Demos_Sadakar --output-zip /home/sadakar/delete/sadakar.zip

NOTE: ( Give ./ before js-export)

Sample output on command prompt

Using CE setup
Using Bundled version of Java
First resource path:/opt/jasperreports-server-cp-5.0.0/buildomatic/conf_source/ieCe/applicationContext-search.xml
Started to load resources
Resource name: applicationContext.xml
Resource name: applicationContext-cascade.xml
Resource name: applicationContext-data-snapshots.xml
Resource name: applicationContext-events-logging.xml
Resource name: applicationContext-export-config.xml
Resource name: applicationContext-export-import.xml
Resource name: applicationContext-logging.xml
Resource name: applicationContext-olap-connection.xml
Resource name: applicationContext-report-scheduling.xml
Resource name: applicationContext-search.xml
Resource name: applicationContext-security.xml
Resource name: applicationContext-themes.xml
Resource name: applicationContext-virtual-data-source.xml
Creating ActionModelService object.
Creating action model infrastructure.

Testing whether export(downloading) successful or not
 Go to the location where you exported the project folder
In this example

root@sadakar-server:/home/sadakar/delete# ls
demo.war   sadakar.zip









No comments:

Post a Comment