-
Notifications
You must be signed in to change notification settings - Fork 0
Manual Setup Instructions
Steve Hannah edited this page Jul 29, 2016
·
1 revision
The recommended setup process is to use the Yeoman generator as described here. If you prefer not use Yeoman, and want to set up a project yourself (you'll still need ANT), you can use these manual instructions:
-
Check out from GitHub
$ git clone https://github.com/shannah/codenameone-spring-template.git $ cd codenameone-spring-template
-
Copy the
config.properties.sample
file toconfig.properties
, then edit it with your application details:
At the start the file will look like:
base.package.name=com.example
artifact.prefix=com-example-app
base.package.path=com/example
Suppose you want your app's package namespace to be under com.yourdomain
instead of com.example
. Then you would change it to:
base.package.name=com.yourdomain
artifact.prefix=com-yourdomain-app
base.package.path=com/yourdomain
-
Now run the
setup
task.$ ant setup
This will change all of the default files in the template to use your custom base names. 4. Install the shared dependencies into the client and server projects.
$ ant install-shared