[ 
https://issues.apache.org/jira/browse/PIVOT-397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039602#comment-13039602
 ] 

Sandro Martini commented on PIVOT-397:
--------------------------------------

Extract from BUILD file (in archetype sources), for some quick test on it 
(after unzipping it):

* To install the archetype in a local Maven repository:

  $ cd pivot-archetype-quickstart
  $ mvn -U install
  $ cd ..

* To Test is, generating a Pivot Project (called "myapp") with it 
  (and give to it the desired package name when requested, like 
"com.mycompany.myapp", 
  note that usually the ".myapp" part in the package is written only if 
overridden here):
  $ mvn archetype:generate -U -DarchetypeGroupId=org.apache.pivot 
-DarchetypeArtifactId=pivot-archetype-quickstart -DarchetypeVersion=1.0 
-DgroupId=com.mycompany -DartifactId=myapp -Dversion=1.0 
  then, compile the project and run it.

This is currently missing in BUILD file, telle me if you think could be useful:
Tu run it (for example from the Command-line):

  $ cd myapp
  $ mvn -U clean package
or
  $ mvn -U compile
  $ mvn -U exec:java
  $ cd ..

Note that here I force the update mode in maven commands (-U flag) but of 
course it's optional (but useful to ensure all is updated).

Tell me what you think.

Bye


> maven archetype for a minimal pivot application, to use as a starting point
> ---------------------------------------------------------------------------
>
>                 Key: PIVOT-397
>                 URL: https://issues.apache.org/jira/browse/PIVOT-397
>             Project: Pivot
>          Issue Type: New Feature
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: apachepivot-archetype-quickstart-jar.zip, 
> apachepivot-archetype-quickstart-source.zip, myapp.zip, 
> pivot-archetype-quickstart.zip, pivot-archetype-quickstart.zip, 
> pivot-quickstart.zip
>
>
> Create a maven archetype for a basic (minimal, near-empty) pivot application 
> (like most -basic archetypes for other frameworks).
> This could require a dedicated new subproject, if tools is not the right 
> place for it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to