Apache Wicket: Difference between revisions
No edit summary |
No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[ | [[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/ | ||
* '''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 | ||
** 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.zip''' http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32-x86_64.zip | ||
* http://git-scm.com/download | ** 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 | ||
*** Git-1.7.4-preview20110204.exe need the full installer? | *** Git-1.7.4-preview20110204.exe need the full installer? OK: Using this one. | ||
*** PortableGit-1.7.4-preview20110204.7z or the 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
Sets of software to run Wicket
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/
- apache-tomcat-7.0.12.exe Tomcat 7 http://tomcat.apache.org/download-70.cgi
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
- 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)
- eclipse-java-helios-SR2-win32-x86_64/eclipse/eclipse.exe
-vm C:\Program Files (x86)\Java\jdk1.6.0_25\jre\bin\javaw.exe
- 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."
- ERROR: http://www.google.com/search?q=java+was+started+but+returned+exit+code+13
- git - only betas http://git-scm.com/download
- http://code.google.com/p/msysgit/downloads/list?can=3
- Git-1.7.4-preview20110204.exe need the full installer? OK: Using this one.
- PortableGit-1.7.4-preview20110204.7z or the portable installer?
- http://code.google.com/p/msysgit/downloads/list?can=3
- 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
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.
persistence.local.user=<username> persistence.local.passwd=<password> persistence.local.url=jdbc:mysql://<hostname, eg localhost>/<mysql db name>?zeroDateTimeBehavior=convertToNull