j2me-simple Archetype

If you don't have Maven, you can get it here. Install it and then invoke:

mvn archetype:create -DarchetypeGroupId=com.codecafe.archetypes \
-DarchetypeArtifactId=j2me-simple \
-DremoteRepositories=http://codecafe.dev-hda.com/repository \
-DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.example -DartifactId=myapp

First, you must decide on your group id, artifact id, and version number. For example, let's choose org.example for our group id, myapp for the artifactId, and 1.0.0-SNAPSHOT for the version number. We also need a root package name, which we'll create by combining the group id and the artifact id.

Again, the first time you do this, you'll see a large number of download messages.

This should yeild a project in the directory in which you invoked the command that has all the fixings for experimenting with Tapestry.

Maven also comes pre-packaged with plugins for getting up and running with your favorite IDE. Off the top of my head, I know that mvn idea:idea and mvn eclipse:eclipse will do the right thing for you. You can open the project with your favorite editor and ( assuming you have your editor pointing to a correct Wireless Toolkit installation), off you go!