Jump to content
We've recently updated our Privacy Statement, available here ×

Lib and dist folders are not listed in my JasperReports server 6.3.0 installation


subramanyaks79

Recommended Posts

I've installed Jasper Reports Server 6.3.0 using "jasperreports-server-6.3.0-windows-x64-installer". Affter my installation folder doesn't contain dist and lib folders in the main folder. And I'm using ant command to build the report (or to view my report template). How to do it? What should i do now? How can I build the report??

I'm getting following error when I run >ant, where test is my project folder.

--------------------------------------------------------------------------------------------------------
C:Jaspersoftjasperreports-server-6.3.0test>ant
Buildfile: C:Jaspersoftjasperreports-server-6.3.0testbuild.xml
 
viewDesignXML:
 
BUILD FAILED
C:Jaspersoftjasperreports-server-6.3.0testbuild.xml:8: C:Jaspersoftjasperreports-server-6.3.0lib does not exist.
 
Total time: 0 seconds
 
--------------------------------------------------------------------------------------------------------
 
This is my build.xml
 
--------------------------------------------------------------------------------------------------------
<?xml version = "1.0" encoding = "UTF-8"?>
<project name = "JasperReportTest" default = "viewDesignXML" basedir = ".">
 
   <import file = "baseBuild.xml" />
   <target name = "viewDesignXML" description = "Design viewer is 
      launched to preview the JXML report design.">
      
      <java classname = "net.sf.jasperreports.view.JasperDesignViewer" fork = "true">
         <arg value = "-XML" />
         <arg value = "-F${file.name}.jrxml" />
         <classpath refid = "classpath" />
      </java>
   </target>
 
</project>
--------------------------------------------------------------------------------------------------------
 
 
My Jasper Reports folder structure
jasperreports-server-6.3.0
>apache-ant
>apache-tomcat
>apps
>buildomatic
>common
>docs
>eval-licenses
>images
>java
>licenses
>postgresql
>samples
>scripts
>test
installation
jasperserver.license
license
properties
releaseNotes
serviceinstall
servicerun
TIBCO-EULA
uninstall.dat
unisntall
 
Please help me to reolve the issue.
 
 
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Developing and running reports with JasperReports Server is different from JasperReports.

The Server does all the compilation, running and viewing. You can't use Ant to view reports with the Server.

The Server process is:

  1. Develop and test your report in Studio
  2. Set up a connection to your Server in the Repository Explorer tab in Studio
  3. Publish the report from Studio to the Server
    1. Publish is a button on the upper right of the Design tab of Studio
    2. This will send the JRXML to the server and create other information like data sources and input controls to  build a "Report Unit" in the Server
  4. Login to the Server
  5. Find and run the report by clicking on it
    1. The Server will do the JRXML compilation, connect to the data source etc
  6. The report will display in the browser

Sherman

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...