Jump to content

Apache Wicket: Difference between revisions

From tango.info wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[category:software]]
[[Category:Software]]
http://wicket.apache.org
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/
Line 9: Line 10:
* '''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
** ERROR: no valid 32 bit software[sic!]. Instead now using jdk-6u25-windows-i586.exe
** ERROR: no valid 32 bit software[sic!]. Instead now using jdk-6u25-windows-i586.exe
* '''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)
** Specify JVM in eclipse.ini (http://wiki.eclipse.org/Eclipse.ini)
<pre>
<pre>
Line 14: Line 18:
C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\javaw.exe
C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\javaw.exe
</pre>
</pre>
* '''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
*** ERROR: http://www.google.com/search?q=java+was+started+but+returned+exit+code+13
** eclipse-java-helios-SR2-win32-x86_64/eclipse/eclipse.exe
**** http://www.eclipse.org/forums/index.php?S=e9dc85b88a9084c076d42312a942821e&t=msg&th=197839 "Ensure that your eclipse and your JDK are of identical bittedness."
*** ERROR: JRE or JDK needed, no JVM found.
* '''git - only betas''' http://git-scm.com/download
* '''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
Line 25: Line 28:
* Apache Ant
* Apache Ant
** http://ant.apache.org/bindownload.cgi
** 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 ==
== Easy ==

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