Jump to content

Apache Wicket: Difference between revisions

From tango.info wiki
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[category:software]]
[[Category:Software]]
http://wicket.apache.org
 
==Sets of software to run Wicket==
Example set of software for running an Apache Wicket project:
Example set of software for running an Apache Wicket project:
* mysql-5.5.11-winx64.msi MySQL Community Server 5.5.11 http://www.mysql.com/downloads/mysql/
* '''mysql-5.5.11-winx64.msi''' MySQL Community Server 5.5.11 http://www.mysql.com/downloads/mysql/
* apache-tomcat-7.0.12.exe Tomcat 7 http://tomcat.apache.org/download-70.cgi
* '''apache-tomcat-7.0.12.exe''' Tomcat 7 http://tomcat.apache.org/download-70.cgi


Example set of additional software for development:
Example set of additional software for development on Win7 x64:
* jdk-6u25-windows-x64.exe http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html
* '''jdk-6u25-windows-x64.exe''' http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html
* ??? http://www.eclipse.org/downloads/
** ERROR: no valid 32 bit software[sic!]. Instead now using jdk-6u25-windows-i586.exe
* http://git-scm.com/download
* '''eclipse-java-helios-SR2-win32-x86_64.zip''' http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32-x86_64.zip
** eclipse-java-helios-SR2-win32-x86_64/eclipse/eclipse.exe
*** ERROR: JRE or JDK needed, no JVM found.
** Specify JVM in eclipse.ini (http://wiki.eclipse.org/Eclipse.ini)
<pre>
-vm
C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\javaw.exe
</pre>
*** ERROR: http://www.google.com/search?q=java+was+started+but+returned+exit+code+13
**** http://www.eclipse.org/forums/index.php?S=e9dc85b88a9084c076d42312a942821e&t=msg&th=197839 "Ensure that your eclipse and your JDK are of identical bittedness."
* '''git - only betas''' http://git-scm.com/download
** http://code.google.com/p/msysgit/downloads/list?can=3
** http://code.google.com/p/msysgit/downloads/list?can=3
*** Full installer?
*** Git-1.7.4-preview20110204.exe need the full installer? OK: Using this one.
*** Portable installer?
*** PortableGit-1.7.4-preview20110204.7z or the portable installer?
* Maven 3.0.3 http://maven.apache.org/download.html - " On Windows, Windows NT and above '''or''' Cygwin is required for the startup scripts. "
* cygwin due to maven
* Apache Ant
** http://ant.apache.org/bindownload.cgi
===2012-01-11===
* http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-win32.zip
* http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jdk-7u2-windows-i586.exe
** does not install - use jdk-7u1 instead
 
== Easy ==
To start, don't worry about Ant or Tomcat. Much easier to use eclipse.
 
Run eclipse, go to Files / Import / General / Import existing projects into workspace.
 
Then Select Root Directory / Browse, and browse to the tigit directory.
Eclipse will recognise the tango.info project; import it.
 
Then go to the Run / Run configurations... menu, create a run configuration for a new Java application, and "Search" for the Main class in the info.tango.music.ui.web package (Click on Search, type Main in the text field, and select the one from the info.tango.music.ui.web package).
 
Then you can run the tango.info app from Eclipse, by choosing the Run menu.
 
You will need to supply the DB connection parameters as described in [...]. In the case of running from eclipse, put a file called "tangoinfo_local.properties" in the tigit directory, with the overridden parameter definitions for username, password and database name.
 
<pre>
persistence.local.user=<username>
persistence.local.passwd=<password>
persistence.local.url=jdbc:mysql://<hostname, eg localhost>/<mysql db name>?zeroDateTimeBehavior=convertToNull
</pre>

Latest revision as of 2013-06-09T22:37:14

http://wicket.apache.org

Sets of software to run Wicket

Example set of software for running an Apache Wicket project:

Example set of additional software for development on Win7 x64:

-vm
C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\javaw.exe

2012-01-11

Easy

To start, don't worry about Ant or Tomcat. Much easier to use eclipse.

Run eclipse, go to Files / Import / General / Import existing projects into workspace.

Then Select Root Directory / Browse, and browse to the tigit directory. Eclipse will recognise the tango.info project; import it.

Then go to the Run / Run configurations... menu, create a run configuration for a new Java application, and "Search" for the Main class in the info.tango.music.ui.web package (Click on Search, type Main in the text field, and select the one from the info.tango.music.ui.web package).

Then you can run the tango.info app from Eclipse, by choosing the Run menu.

You will need to supply the DB connection parameters as described in [...]. In the case of running from eclipse, put a file called "tangoinfo_local.properties" in the tigit directory, with the overridden parameter definitions for username, password and database name.

persistence.local.user=<username>
persistence.local.passwd=<password>
persistence.local.url=jdbc:mysql://<hostname, eg localhost>/<mysql db name>?zeroDateTimeBehavior=convertToNull