|
DevelopersGuide
A guide to set up the system for developers to work on
Developer's guide for the Informative Workspace OverviewerThis version of the overviewer uses the following tools to build and requires that all of them be installed properly:
Once all the tools are setup, load the project source into your IDE (Eclipse with Java plugin is preferred). In your project build paths, make sure all the required libraries are linked/copied correctly. Some other possibly required libraries are:
ProjectOverviewer Version 3
C:\svn-google\informative-workspace\trunk>ant run -Dwicket.version=1.3.3
Buildfile: build.xml
clean:
[delete] Deleting directory C:\svn-google\informative-workspace\trunk\build
[delete] Deleting directory C:\svn-google\informative-workspace\trunk\target
compile:
[mkdir] Created dir: C:\svn-google\informative-workspace\trunk\build\war\WEB-INF\classes
[javac] Compiling 39 source files to C:\svn-google\informative-workspace\trunk\build\war\WEB-INF\classes
[copy] Copying 5 files to C:\svn-google\informative-workspace\trunk\build\war\WEB-INF\classes
war:
[copy] Copying 7 files to C:\svn-google\informative-workspace\trunk\build\war\WEB-INF
[copy] Copying 1 file to C:\svn-google\informative-workspace\trunk\build\war\WEB-INF\lib
[copy] Copying 7 files to C:\svn-google\informative-workspace\trunk\build\war
[copy] Copying 23 files to C:\svn-google\informative-workspace\trunk\build\war\applets
[copy] Copying 89 files to C:\svn-google\informative-workspace\trunk\build\embedded-webapp
[war] Building war: C:\svn-google\informative-workspace\trunk\build\projectoverviewer.war
run:
[java] 0 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[java] >>> STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP
[java] 141 [main] INFO org.mortbay.log - jetty-6.1.9
[java] Loading ProjectOverviewer properties from: C:\Documents and Settings\Fei/.hackystat/projectoverviewer/projectoverviewer.properties
[java] Setting wicket.configuration to: development
[java] 05/12 16:54:36 ProjectOverviewer Properties:
[java] projectoverviewer.sensorbase.host = http://dasha.ics.hawaii.edu:9876/sensorbase
[java] projectoverviewer.logging.level = INFO
[java] projectoverviewer.wicket.configuration = development
[java] projectoverviewer.application.name = Project Overviewer
[java] projectoverviewer.admin.email = johnson@hawaii.edu
[java] 1969 [main] INFO org.apache.wicket.Application - [ProjectOverviewerApplication] init: Wicket core library initializer
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()]
[java] 1969 [main] INFO org.apache.wicket.RequestListenerInterface - registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()]
[java] 1969 [main] INFO org.apache.wicket.protocol.http.WebApplication - [ProjectOverviewerApplication] Started Wicket version 1.3.3 in development mode
[java] ********************************************************************
[java] *** WARNING: Wicket is running in DEVELOPMENT mode. ***
[java] *** ^^^^^^^^^^^ ***
[java] *** Do NOT deploy to your live server(s) without changing this. ***
[java] *** See Application#getConfigurationType() for more information. ***
[java] ********************************************************************
[java] 1985 [main] INFO org.mortbay.log - Started SocketConnector@0.0.0.0:8081ProjectOverviewer Version 2 TreeMap
ProjectOverviewer Version 1ExecutionTo run the project with the QA tools mentioned above, you have to open a command-line console in the root directory of the project and type "ant -f verify.build.xml". NOTE
If you want to run the QA tools separately, just invoke "ant -f <tool-name>.build.xml". Here's a table of what each <tool-name>.build.xml file does:
If you are having trouble logging in, set your tomcat username and password in the tomcat-users.xml file in CATALINA_HOME/conf folder. Here is an example with "admin" as the username and "password" as the password: <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="manager"/> <role rolename="admin"/> <role rolename="password"/> <user username="admin" password="password" roles="admin,manager"/> </tomcat-users> Once the war file is properly deployed, you should be able to view the overviewer locally at http://localhost:8080/project-overviewer |
Sign in to add a comment