Welcome to TWiki... Users, Groups
Go

NewWebApplication

InetSoft provides an archetype for Apache Maven 2 (http://maven.apache.org). This archetype creates a skeleton web application project for your reporting application (these instruction apply to Style Report Enterprise). To start a new web application:

  1. Download and install Maven (http://maven.apache.org/download.html)
  2. Execute the following command in the parent directory of your project:

mvn archetype:create -DgroupId=com.yourcompany.yourproduct -DartifactID=projectName -Dversion=projectVersion -DarchetypeGroupId=com.inetsoft.maven -DarchetypeArtifactId=inetsoft-sree-archetype -DarchetypeVersion=9.1 -DremoteRepositories=http://www.inetsoft.com/maven2

Maven will now create your project in the projectName directory.

Edit projectName/pom.xml, replacing the value of the licenseKey property with your InetSoft runtime or developer key.

The first time you use maven to build this project, it will complain that it cannot download the sree and etools packages. It will give you instructions on doing this manually. Following these instructions, execute the following commands:

mvn install:install-file -DgroupId=com.inetsoft -DartifactId=sree -Dversion=9.1 -Dpackaging=jar -Dfile={path to sree_pro.jar}

mvn install:install-file -DgroupId=com.inetsoft -DartifactId=etools -Dversion=9.1 -Dpackaging=jar -Dfile={path to etools.jar}

You are now ready to start developing your reporting application. The command mvn compile will compile your project. The command mvn package will compile, test, and package your project into a WAR file. The command mvn jetty:run will run your web application in a Jetty servlet container for local testing.

-- ByronIgoe - 07 Nov 2007

r1 - 07 Nov 2007 - 21:59:02 - ByronIgoe
Copyright © by the contributing authors.
Syndicate this site RSSATOM