Skip to content

Simplifying the template#14

Open
jtulach wants to merge 1 commit into
robovm:masterfrom
jtulach:SimplerDefaultTemplate
Open

Simplifying the template#14
jtulach wants to merge 1 commit into
robovm:masterfrom
jtulach:SimplerDefaultTemplate

Conversation

@jtulach

@jtulach jtulach commented Apr 13, 2015

Copy link
Copy Markdown

Removing default parameters (groupId, archetypeId, version, package), giving the appName more reasonable default and using packaged=true which moves the classes into appropriate package automatically.

I think this is a simpler way to write an archetype. And I think it still works. At least this is what I did to verify it:

$ mvn archetype:generate \
  -DarchetypeGroupId=org.robovm \
  -DarchetypeArtifactId=robovm-default-template \
  -DarchetypeVersion=1.0.1-SNAPSHOT
# when being asked for artefactId I have chosen xyz
$ cd xyz
$ mvn clean install
$ mvn robovm:ipad-sim

RoboVM's sample application appeared in my simulator..

…typeId, version, package), giving the appName more reasonable default and using packaged=true which moves the classes into appropriate package automatically.
@ntherning ntherning modified the milestone: 1.1 Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants