pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edvin Syse (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-397) maven archetype for a minimal pivot application, to use as a starting point
Date Sun, 22 May 2011 21:50:47 GMT

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

Edvin Syse commented on PIVOT-397:

I created a quickstart archetype for Pivot 2.0 that showcases Bindable and @BXML as a reply
to a question on the mailing list the other day:


It uses the new archetype-metadata format, so it should be a good starting point for an official
quickstart archetype. It might actually be production ready as it is. Check it out :)

I'll repeat the usage info here:

Unzip the archive and run mvn install to install the quickstart archetype to your local repo.

To create, do:

mvn archetype:generate -DarchetypeGroupId=org.apache.pivot -DarchetypeArtifactId=quickstart
-DarchetypeVersion=2.0 -DgroupId=com.mycompany -DartifactId=myapp

>From there you can either start the app using Maven like this:

mvn compile
mvn exec:java

Or you can start org.apache.pivot.wtk.DesktopApplicationContext with com.mycompany.PivotApplication
as the first argument from your IDE.

For convenience, a main method is included in com.mycompany.PivotApplication as well.

> 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,
> 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

View raw message