Skip to content
branflake2267 edited this page Dec 12, 2012 · 6 revisions

#Arcbees Tools

##Create Project To create a GWTP basic App Engine project change the groupId and artifactId.

mvn archetype:generate -DarchetypeGroupId=com.arcbees \
-DarchetypeArtifactId=gwtp-basic-appengine-archetype \
-DarchetypeVersion=0.1-SNAPSHOT \
-DgroupId=com.projectname \
-DartifactId=new-project-name \
-DremoteRepositories=https://oss.sonatype.org/content/repositories/snapshots/

##Archetype Creation

  • run 'sh ./create_archetype.sh'
  • Goto a new project directory
  • run 'mvn archetype:generate -DarchetypeCatalog=local'

##Create Template Archetype

##Prerequisites Have Maven version 3+ installed

##Manual Create a project from scratch using these steps

  1. Clone the Arcbees Tools project anywhere on your computer
  2. Move to ArcBees-tools\gwtp-arcbees
  3. Run mvn archetype:create-from-project
  4. Move to target\generated-sources\archetype
  5. Run mvn install
  6. Move to a new location, where you want to create your archetype (e.g. your desktop)
  • The new location must be outside the ArcBees-tools folder
  1. Run mvn archetype:generate -DarchetypeCatalog=local
  2. Maven will give you several options
  • For the type, choose "1"
  • For groupId, type com.[clientName] (e.g. com.myclient)
  • For artifactId, type [projectName] (e.g. web)
  • For version, just press Enter (this selects the suggested value, 1.0-SNAPSHOT)
  • For packaging, type "com.myclient.web"
  • Press "y" to accept
  1. Once build has succeeded, import your project into IntelliJ IDEA
  • Make sure annotation processor is activated
  1. Make sure the project can be run in your browser
  2. Import your project to GitHub

##Reference

##Thanks to IntelliJ

Clone this wiki locally